Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1.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.0009363/0.0009363, allocations: 80.81 kB / 19.94 MB, free: 4.547 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.0009458/0.0009458, allocations: 173 kB / 23.36 MB, free: 1.133 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 1.107/1.107, allocations: 177.2 MB / 203.8 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo): time 0.0279/0.0279, allocations: 6.495 MB / 266.8 MB, free: 6.516 MB / 250.7 MB " [Timeout remaining time 180] Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/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.TestTwoFlange1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1") translateModel(EHPTlib.MapBased.TestingModels.TestTwoFlange1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.657e-06/3.657e-06, allocations: 0 / 285.3 MB, free: 3.957 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.577e-05/2.943e-05, allocations: 6.312 kB / 285.3 MB, free: 3.949 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange1): time 0.157/0.157, allocations: 4.36 MB / 289.7 MB, free: 18.66 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004405/0.1614, allocations: 2.423 MB / 292.1 MB, free: 18.48 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005246/0.162, allocations: 17.06 kB / 292.1 MB, free: 18.48 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005206/0.1625, allocations: 164.5 kB / 292.3 MB, free: 18.41 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008633/0.1634, allocations: 283.2 kB / 292.5 MB, free: 18.32 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009414/0.1643, allocations: 431.9 kB / 293 MB, free: 18.23 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001192/0.1655, allocations: 0.9757 MB / 293.9 MB, free: 17.71 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005929/0.1661, allocations: 351.1 kB / 294.3 MB, free: 17.5 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00114/0.1672, allocations: 0.5705 MB / 294.9 MB, free: 17.23 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000698/0.1679, allocations: 324.1 kB / 295.2 MB, free: 17.13 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001907/0.1681, allocations: 107.6 kB / 295.3 MB, free: 17.13 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000286/0.1684, allocations: 142.3 kB / 295.4 MB, free: 17.12 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002243/0.1686, allocations: 249.5 kB / 295.7 MB, free: 16.96 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003804/0.169, allocations: 310.7 kB / 296 MB, free: 16.8 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001039/0.17, allocations: 0.7202 MB / 296.7 MB, free: 16.39 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.17, allocations: 3.938 kB / 296.7 MB, free: 16.39 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.937e-06/0.17, allocations: 1.062 kB / 296.7 MB, free: 16.39 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.087e-05/0.1701, allocations: 0 / 296.7 MB, free: 16.39 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.001727/0.1718, allocations: 1.137 MB / 297.8 MB, free: 15.59 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.1719, allocations: 9.438 kB / 297.8 MB, free: 15.59 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002025/0.1721, allocations: 119.7 kB / 298 MB, free: 15.57 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005559/0.1726, allocations: 370.8 kB / 298.3 MB, free: 15.3 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.567e-05/0.1727, allocations: 58.28 kB / 298.4 MB, free: 15.27 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.183e-05/0.1727, allocations: 81.5 kB / 298.4 MB, free: 15.25 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008008/0.1735, allocations: 0.6356 MB / 299.1 MB, free: 14.93 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.115e-05/0.1736, allocations: 5.953 kB / 299.1 MB, free: 14.92 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.849e-05/0.1736, allocations: 32.44 kB / 299.1 MB, free: 14.9 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.867e-05/0.1736, allocations: 17.62 kB / 299.1 MB, free: 14.9 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003722/0.174, allocations: 237.4 kB / 299.4 MB, free: 14.81 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002505/0.1765, allocations: 1.753 MB / 301.1 MB, free: 13.7 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004157/0.1769, allocations: 240.3 kB / 301.4 MB, free: 13.59 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001091/0.177, allocations: 122.1 kB / 301.5 MB, free: 13.5 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.536e-05/0.1771, allocations: 6.031 kB / 301.5 MB, free: 13.5 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002643/0.1773, allocations: 288.3 kB / 301.8 MB, free: 13.29 MB / 266.7 MB Notification: Performance of pre-optimization done (n=35): time 3.987e-06/0.1774, allocations: 1.781 kB / 301.8 MB, free: 13.29 MB / 266.7 MB Notification: Performance of matching and sorting (n=35): time 0.0005854/0.1779, allocations: 454.7 kB / 302.2 MB, free: 13.03 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.986e-05/0.178, allocations: 135.4 kB / 302.3 MB, free: 12.87 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004921/0.1785, allocations: 458.4 kB / 302.8 MB, free: 12.64 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.017e-05/0.1785, allocations: 37.52 kB / 302.8 MB, free: 12.6 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001568/0.1787, allocations: 339.8 kB / 303.2 MB, free: 12.35 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.725e-05/0.1787, allocations: 135.7 kB / 303.3 MB, free: 12.24 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001234/0.1789, allocations: 94.61 kB / 303.4 MB, free: 12.19 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.179, allocations: 368.9 kB / 303.7 MB, free: 11.85 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001477/0.1791, allocations: 152.8 kB / 303.9 MB, free: 11.73 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001578/0.1793, allocations: 283.5 kB / 304.2 MB, free: 11.46 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003007/0.1796, allocations: 411.2 kB / 304.6 MB, free: 11.14 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.169e-06/0.1796, allocations: 1.375 kB / 304.6 MB, free: 11.14 MB / 266.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0004682/0.1801, allocations: 479.1 kB / 305 MB, free: 10.81 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.009e-05/0.1801, allocations: 94.72 kB / 305.1 MB, free: 10.71 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/0.1801, allocations: 2.75 kB / 305.1 MB, free: 10.71 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001286/0.1803, allocations: 22.59 kB / 305.2 MB, free: 10.7 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002191/0.1805, allocations: 98.08 kB / 305.3 MB, free: 10.67 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005807/0.1811, allocations: 1.172 MB / 306.4 MB, free: 9.488 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002426/0.1813, allocations: 71.2 kB / 306.5 MB, free: 9.445 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.933e-05/0.1813, allocations: 16.97 kB / 306.5 MB, free: 9.441 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002064/0.1815, allocations: 234.2 kB / 306.7 MB, free: 9.238 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001562/0.1817, allocations: 283.1 kB / 307 MB, free: 8.953 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002824/0.182, allocations: 403 kB / 307.4 MB, free: 8.598 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.955e-06/0.182, allocations: 1.281 kB / 307.4 MB, free: 8.598 MB / 266.7 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.0005732/0.1825, allocations: 468.8 kB / 307.9 MB, free: 8.27 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.787e-05/0.1826, allocations: 95.72 kB / 308 MB, free: 8.168 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.1826, allocations: 7.656 kB / 308 MB, free: 8.164 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.742e-05/0.1827, allocations: 25.98 kB / 308 MB, free: 8.148 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002028/0.1829, allocations: 95.3 kB / 308.1 MB, free: 8.129 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004665/0.1834, allocations: 1.172 MB / 309.3 MB, free: 6.934 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002077/0.1836, allocations: 61.19 kB / 309.3 MB, free: 6.898 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.524e-05/0.1836, allocations: 17.03 kB / 309.3 MB, free: 6.895 MB / 266.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: 7 (twoFlanges.constPDC.integrator1.local_reset,tauRef.count,$PRE.tauRef.count,tauRef.T_start,$PRE.tauRef.T_start,twoFlanges.limTau.state,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 51 * 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.0001531/0.1837, allocations: 264 kB / 309.6 MB, free: 6.633 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.661e-05/0.1838, allocations: 51.45 kB / 309.6 MB, free: 6.613 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003555/0.1842, allocations: 351.7 kB / 310 MB, free: 6.344 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.1842, allocations: 7.969 kB / 310 MB, free: 6.34 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.1842, allocations: 1.344 kB / 310 MB, free: 6.34 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.1842, allocations: 0.8438 kB / 310 MB, free: 6.34 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007886/0.185, allocations: 0.7045 MB / 310.7 MB, free: 5.816 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.185, allocations: 0 / 310.7 MB, free: 5.816 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001585/0.1851, allocations: 65.02 kB / 310.8 MB, free: 5.797 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.023e-05/0.1852, allocations: 17.55 kB / 310.8 MB, free: 5.785 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.202e-05/0.1852, allocations: 14.92 kB / 310.8 MB, free: 5.773 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000395/0.1856, allocations: 1.162 MB / 312 MB, free: 4.59 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.1856, allocations: 3.984 kB / 312 MB, free: 4.586 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004028/0.186, allocations: 0.5481 MB / 312.5 MB, free: 4.156 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.945e-05/0.1861, allocations: 57.94 kB / 312.6 MB, free: 4.117 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.305e-05/0.1861, allocations: 10.97 kB / 312.6 MB, free: 4.109 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001479/0.1862, allocations: 38.53 kB / 312.6 MB, free: 4.09 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.76e-05/0.1863, allocations: 30.23 kB / 312.6 MB, free: 4.07 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.821e-05/0.1863, allocations: 15.89 kB / 312.7 MB, free: 4.062 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001863/0.1865, allocations: 194.3 kB / 312.9 MB, free: 3.965 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1865, allocations: 0 / 312.9 MB, free: 3.965 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006465/0.1872, allocations: 334.8 kB / 313.2 MB, free: 3.637 MB / 266.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,twoFlanges.constPDC.integrator1.y) * Number of discrete variables: 4 ($whenCondition1,twoFlanges.limTau.state,tauRef.T_start,tauRef.count) * Number of discrete states: 2 (tauRef.count,twoFlanges.limTau.state) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 27 * 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.001099/0.1883, allocations: 449 kB / 313.6 MB, free: 3.457 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007745/0.189, allocations: 1.129 MB / 314.7 MB, free: 2.176 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.508e-06/0.1891, allocations: 4 kB / 314.8 MB, free: 2.172 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001849/0.1892, allocations: 390.9 kB / 315.1 MB, free: 1.738 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003216/0.1896, allocations: 90.06 kB / 315.2 MB, free: 1.656 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001738/0.1913, allocations: 1.229 MB / 316.4 MB, free: 392 kB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.609e-05/0.1914, allocations: 153.7 kB / 316.6 MB, free: 216 kB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001819/0.1916, allocations: 57.02 kB / 316.7 MB, free: 156 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002472/0.1918, allocations: 159.2 kB / 316.8 MB, free: 16 MB / 282.7 MB Notification: Performance of SimCode: time 1.703e-06/0.1918, allocations: 0 / 316.8 MB, free: 16 MB / 282.7 MB Notification: Performance of Templates: time 0.01391/0.2057, allocations: 7.919 MB / 324.7 MB, free: 8.18 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3109524031169713]