Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009532/0.0009532, allocations: 76.55 kB / 19.93 MB, free: 4.637 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001103/0.001103, allocations: 177.9 kB / 23.22 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9346/0.9346, allocations: 177.1 MB / 203.5 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo): time 0.02595/0.02595, allocations: 6.474 MB / 266.4 MB, free: 6.812 MB / 250.7 MB " [Timeout remaining time 180] Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.437e-06/3.437e-06, allocations: 0 / 392.9 MB, free: 4.035 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.944e-05/3.287e-05, allocations: 2.281 kB / 392.9 MB, free: 4.031 MB / 314.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1): time 0.005334/0.005367, allocations: 4.828 MB / 397.7 MB, free: 15.18 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001934/0.007301, allocations: 1.585 MB / 399.3 MB, free: 13.59 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000281/0.007582, allocations: 15.94 kB / 399.3 MB, free: 13.57 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004257/0.008007, allocations: 202.6 kB / 399.5 MB, free: 13.38 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004834/0.008491, allocations: 297.9 kB / 399.8 MB, free: 13.08 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004372/0.008928, allocations: 375.2 kB / 400.2 MB, free: 12.71 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.000692/0.00962, allocations: 0.9817 MB / 401.2 MB, free: 11.73 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003772/0.009997, allocations: 311.5 kB / 401.5 MB, free: 11.4 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000523/0.01052, allocations: 0.5613 MB / 402 MB, free: 10.84 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000304/0.01082, allocations: 323 kB / 402.4 MB, free: 10.52 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 8.568e-05/0.01091, allocations: 108 kB / 402.5 MB, free: 10.42 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000146/0.01106, allocations: 143.9 kB / 402.6 MB, free: 10.28 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001438/0.0112, allocations: 215.2 kB / 402.8 MB, free: 10.07 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001946/0.01139, allocations: 291.3 kB / 403.1 MB, free: 9.781 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000869/0.01226, allocations: 1.141 MB / 404.2 MB, free: 8.637 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.01227, allocations: 4 kB / 404.2 MB, free: 8.633 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.01227, allocations: 0 / 404.2 MB, free: 8.633 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.115e-05/0.01228, allocations: 4 kB / 404.2 MB, free: 8.629 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.001403/0.01368, allocations: 1.135 MB / 405.4 MB, free: 7.441 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.01373, allocations: 16.03 kB / 405.4 MB, free: 7.426 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001247/0.01385, allocations: 96.33 kB / 405.5 MB, free: 7.332 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005687/0.01442, allocations: 459.2 kB / 405.9 MB, free: 6.855 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001226/0.01454, allocations: 105.3 kB / 406 MB, free: 6.742 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.371e-05/0.01464, allocations: 72.33 kB / 406.1 MB, free: 6.672 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009755/0.01561, allocations: 0.8157 MB / 406.9 MB, free: 5.812 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.08e-05/0.01563, allocations: 3.938 kB / 406.9 MB, free: 5.809 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.198e-05/0.01567, allocations: 31.98 kB / 407 MB, free: 5.777 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.158e-05/0.01569, allocations: 16 kB / 407 MB, free: 5.762 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008501/0.01654, allocations: 0.5862 MB / 407.6 MB, free: 5.16 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002296/0.01883, allocations: 2.176 MB / 409.7 MB, free: 2.883 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006589/0.01949, allocations: 434.3 kB / 410.2 MB, free: 2.438 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002837/0.01977, allocations: 236.4 kB / 410.4 MB, free: 2.191 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.482e-05/0.01981, allocations: 4.281 kB / 410.4 MB, free: 2.188 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004163/0.02022, allocations: 385.5 kB / 410.8 MB, free: 1.77 MB / 330.7 MB Notification: Performance of pre-optimization done (n=36): time 2.144e-06/0.02023, allocations: 3.938 kB / 410.8 MB, free: 1.766 MB / 330.7 MB Notification: Performance of matching and sorting (n=36): time 0.001075/0.0213, allocations: 0.789 MB / 411.6 MB, free: 0.9297 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.966e-05/0.02137, allocations: 148.4 kB / 411.7 MB, free: 0.7539 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004177/0.02179, allocations: 0.5175 MB / 412.2 MB, free: 232 kB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.905e-05/0.02182, allocations: 33.7 kB / 412.3 MB, free: 192 kB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1589/0.1807, allocations: 379.7 kB / 412.6 MB, free: 31.87 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001689/0.1809, allocations: 123.8 kB / 412.8 MB, free: 31.81 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001255/0.181, allocations: 97.34 kB / 412.8 MB, free: 31.79 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.1811, allocations: 360.3 kB / 413.2 MB, free: 31.48 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003743/0.1815, allocations: 275.3 kB / 413.5 MB, free: 31.38 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003599/0.1819, allocations: 415.3 kB / 413.9 MB, free: 31.12 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006334/0.1825, allocations: 0.6002 MB / 414.5 MB, free: 30.75 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.1825, allocations: 0 / 414.5 MB, free: 30.75 MB / 330.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0008831/0.1834, allocations: 0.7657 MB / 415.2 MB, free: 30.31 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.803e-05/0.1834, allocations: 96.48 kB / 415.3 MB, free: 30.21 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.1834, allocations: 11.25 kB / 415.3 MB, free: 30.21 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000135/0.1836, allocations: 25.94 kB / 415.4 MB, free: 30.2 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002395/0.1838, allocations: 97.69 kB / 415.5 MB, free: 30.2 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005469/0.1844, allocations: 1.252 MB / 416.7 MB, free: 28.96 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002454/0.1846, allocations: 77.33 kB / 416.8 MB, free: 28.94 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.808e-05/0.1846, allocations: 21 kB / 416.8 MB, free: 28.94 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004217/0.1851, allocations: 434.9 kB / 417.2 MB, free: 28.65 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003202/0.1854, allocations: 399 kB / 417.6 MB, free: 28.33 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005359/0.1859, allocations: 0.5859 MB / 418.2 MB, free: 27.89 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.573e-06/0.1859, allocations: 1.281 kB / 418.2 MB, free: 27.89 MB / 330.7 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.0007579/0.1867, allocations: 0.7406 MB / 419 MB, free: 27.45 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.799e-05/0.1867, allocations: 92.86 kB / 419 MB, free: 27.35 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.466e-06/0.1867, allocations: 3.906 kB / 419 MB, free: 27.35 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.116e-05/0.1868, allocations: 28 kB / 419.1 MB, free: 27.34 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002061/0.187, allocations: 93 kB / 419.2 MB, free: 27.33 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004203/0.1874, allocations: 1.264 MB / 420.4 MB, free: 26.08 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002041/0.1876, allocations: 74.28 kB / 420.5 MB, free: 26.06 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.513e-05/0.1876, allocations: 19.86 kB / 420.5 MB, free: 26.06 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 8 (oneFlange.limTau.state,oneFlange.limitingTorque,tauRef.count,$PRE.tauRef.count,tauRef.T_start,$PRE.tauRef.T_start,$whenCondition1,oneFlange.pDC.integrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001149/0.1877, allocations: 276.2 kB / 420.8 MB, free: 25.79 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.772e-05/0.1878, allocations: 56.67 kB / 420.8 MB, free: 25.76 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007252/0.1885, allocations: 0.5959 MB / 421.4 MB, free: 25.43 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.1885, allocations: 4.297 kB / 421.4 MB, free: 25.43 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.1885, allocations: 5.031 kB / 421.5 MB, free: 25.43 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.1885, allocations: 2.156 kB / 421.5 MB, free: 25.43 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001151/0.1897, allocations: 1.108 MB / 422.6 MB, free: 24.77 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.1897, allocations: 4.641 kB / 422.6 MB, free: 24.77 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001809/0.1899, allocations: 72.58 kB / 422.6 MB, free: 24.76 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.292e-05/0.1899, allocations: 21.67 kB / 422.7 MB, free: 24.75 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.241e-05/0.1899, allocations: 9.312 kB / 422.7 MB, free: 24.75 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003938/0.1903, allocations: 1.247 MB / 423.9 MB, free: 23.5 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.1903, allocations: 2.375 kB / 423.9 MB, free: 23.5 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009609/0.1913, allocations: 0.9555 MB / 424.9 MB, free: 22.91 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001349/0.1914, allocations: 89.95 kB / 425 MB, free: 22.86 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.397e-05/0.1915, allocations: 14.14 kB / 425 MB, free: 22.85 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001902/0.1917, allocations: 48.59 kB / 425 MB, free: 22.84 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.641e-05/0.1917, allocations: 34.23 kB / 425.1 MB, free: 22.83 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.076e-05/0.1918, allocations: 15.45 kB / 425.1 MB, free: 22.83 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000289/0.1921, allocations: 365.5 kB / 425.4 MB, free: 22.66 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1921, allocations: 1.031 kB / 425.4 MB, free: 22.66 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00055/0.1926, allocations: 314.7 kB / 425.7 MB, free: 22.6 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (inertia.w,loadTorque.phi,oneFlange.pDC.integrator1.y) * Number of discrete variables: 5 ($whenCondition1,tauRef.T_start,tauRef.count,oneFlange.limitingTorque,oneFlange.limTau.state) * Number of discrete states: 2 (tauRef.count,oneFlange.limTau.state) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006239/0.1932, allocations: 401.4 kB / 426.1 MB, free: 22.45 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001241/0.1945, allocations: 1.443 MB / 427.6 MB, free: 21.36 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1945, allocations: 0 / 427.6 MB, free: 21.36 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003557/0.1948, allocations: 482.8 kB / 428 MB, free: 21 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003464/0.1952, allocations: 90 kB / 428.1 MB, free: 20.95 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001606/0.1968, allocations: 1.303 MB / 429.4 MB, free: 20.16 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002882/0.1971, allocations: 313.8 kB / 429.7 MB, free: 20.06 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.826e-05/0.1972, allocations: 42.48 kB / 429.8 MB, free: 20.05 MB / 330.7 MB Notification: Performance of SimCode: time 6.41e-07/0.1972, allocations: 0 / 429.8 MB, free: 20.05 MB / 330.7 MB Notification: Performance of Templates: time 0.009519/0.2067, allocations: 11.23 MB / 441 MB, free: 14.23 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.makefile [Timeout 660] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.207185142673552] Failed to read output from testmodel.py, exit status != 0: 0.21243153233081102 0.217773028 0.20424064700000003 Calling exit ...