Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn.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.0009524/0.0009524, allocations: 76.45 kB / 19.93 MB, free: 4.629 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.001314/0.001314, allocations: 177.9 kB / 23.22 MB, free: 1.34 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.8957/0.8957, allocations: 177.1 MB / 203.5 MB, free: 5.727 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.02479/0.02479, allocations: 6.47 MB / 266.4 MB, free: 6.832 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.TestOneFlange.TestOneFlange1Conn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.326e-06/3.326e-06, allocations: 0 / 392.9 MB, free: 4.023 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.625e-05/2.958e-05, allocations: 2.281 kB / 392.9 MB, free: 4.02 MB / 314.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn): time 0.005515/0.005545, allocations: 4.836 MB / 397.7 MB, free: 15.16 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002399/0.007944, allocations: 1.581 MB / 399.3 MB, free: 13.57 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000464/0.008408, allocations: 19.94 kB / 399.3 MB, free: 13.55 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004729/0.008881, allocations: 206.5 kB / 399.5 MB, free: 13.35 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006724/0.009553, allocations: 289.9 kB / 399.8 MB, free: 13.06 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006263/0.01018, allocations: 386.9 kB / 400.2 MB, free: 12.69 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008023/0.01098, allocations: 0.9857 MB / 401.2 MB, free: 11.7 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004282/0.01141, allocations: 344.4 kB / 401.5 MB, free: 11.34 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005548/0.01196, allocations: 0.573 MB / 402.1 MB, free: 10.77 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003301/0.01229, allocations: 315.1 kB / 402.4 MB, free: 10.46 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000114/0.01241, allocations: 108 kB / 402.5 MB, free: 10.36 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001778/0.01259, allocations: 155.8 kB / 402.6 MB, free: 10.2 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001502/0.01274, allocations: 219.2 kB / 402.9 MB, free: 9.988 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001958/0.01293, allocations: 291.3 kB / 403.1 MB, free: 9.703 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001211/0.01414, allocations: 1.165 MB / 404.3 MB, free: 8.535 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.01415, allocations: 3.938 kB / 404.3 MB, free: 8.531 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.01415, allocations: 0 / 404.3 MB, free: 8.531 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.06e-05/0.01416, allocations: 0 / 404.3 MB, free: 8.531 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: 171 * Number of variables: 171 Notification: Performance of Generate backend data structure: time 0.001387/0.01555, allocations: 1.157 MB / 405.5 MB, free: 7.32 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.01558, allocations: 8.031 kB / 405.5 MB, free: 7.312 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001241/0.01571, allocations: 96.38 kB / 405.6 MB, free: 7.219 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006059/0.01631, allocations: 467.2 kB / 406 MB, free: 6.734 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001108/0.01642, allocations: 114 kB / 406.1 MB, free: 6.613 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.801e-05/0.0165, allocations: 72.38 kB / 406.2 MB, free: 6.543 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000926/0.01743, allocations: 0.8374 MB / 407 MB, free: 5.66 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.073e-05/0.01745, allocations: 3.984 kB / 407.1 MB, free: 5.656 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.277e-05/0.01749, allocations: 28 kB / 407.1 MB, free: 5.629 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.126e-05/0.0175, allocations: 20 kB / 407.1 MB, free: 5.609 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007717/0.01827, allocations: 0.5889 MB / 407.7 MB, free: 5.008 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002237/0.02051, allocations: 2.218 MB / 409.9 MB, free: 2.688 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006442/0.02115, allocations: 422.3 kB / 410.3 MB, free: 2.254 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005164/0.02167, allocations: 236.4 kB / 410.6 MB, free: 2.008 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.892e-05/0.02171, allocations: 8.281 kB / 410.6 MB, free: 2 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004059/0.02212, allocations: 389.5 kB / 410.9 MB, free: 1.578 MB / 330.7 MB Notification: Performance of pre-optimization done (n=36): time 2.625e-06/0.02212, allocations: 0 / 410.9 MB, free: 1.578 MB / 330.7 MB Notification: Performance of matching and sorting (n=36): time 0.001081/0.0232, allocations: 0.8006 MB / 411.7 MB, free: 0.7305 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.655e-05/0.02326, allocations: 140.5 kB / 411.9 MB, free: 0.5625 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004177/0.02367, allocations: 0.5175 MB / 412.4 MB, free: 36 kB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.1446/0.1682, allocations: 31.81 kB / 412.4 MB, free: 32.08 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002932/0.1685, allocations: 382.6 kB / 412.8 MB, free: 32 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001258/0.1687, allocations: 131.4 kB / 412.9 MB, free: 31.94 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001186/0.1688, allocations: 96.97 kB / 413 MB, free: 31.92 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.357e-05/0.1688, allocations: 359.1 kB / 413.4 MB, free: 31.61 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003665/0.1692, allocations: 281.3 kB / 413.6 MB, free: 31.5 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003169/0.1695, allocations: 416.3 kB / 414.1 MB, free: 31.18 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005567/0.1701, allocations: 0.5969 MB / 414.7 MB, free: 30.76 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.1701, allocations: 1.656 kB / 414.7 MB, free: 30.76 MB / 330.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0008696/0.171, allocations: 0.7687 MB / 415.4 MB, free: 30.32 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.016e-05/0.171, allocations: 93.31 kB / 415.5 MB, free: 30.22 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/0.171, allocations: 3.312 kB / 415.5 MB, free: 30.22 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000126/0.1711, allocations: 25.98 kB / 415.5 MB, free: 30.21 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002459/0.1714, allocations: 101.7 kB / 415.6 MB, free: 30.2 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005338/0.1719, allocations: 1.257 MB / 416.9 MB, free: 28.96 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002669/0.1722, allocations: 79.16 kB / 417 MB, free: 28.93 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.945e-05/0.1722, allocations: 21.33 kB / 417 MB, free: 28.92 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004272/0.1726, allocations: 437.5 kB / 417.4 MB, free: 28.63 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002731/0.1729, allocations: 397 kB / 417.8 MB, free: 28.31 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000492/0.1734, allocations: 0.5962 MB / 418.4 MB, free: 27.87 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.625e-06/0.1734, allocations: 5.344 kB / 418.4 MB, free: 27.86 MB / 330.7 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.0007224/0.1741, allocations: 0.7311 MB / 419.1 MB, free: 27.43 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.919e-05/0.1741, allocations: 93.44 kB / 419.2 MB, free: 27.33 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.888e-06/0.1742, allocations: 2.781 kB / 419.2 MB, free: 27.33 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.094e-05/0.1742, allocations: 27.11 kB / 419.3 MB, free: 27.32 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002019/0.1744, allocations: 97.2 kB / 419.4 MB, free: 27.31 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004289/0.1748, allocations: 1.262 MB / 420.6 MB, free: 26.06 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002406/0.1751, allocations: 72.83 kB / 420.7 MB, free: 26.04 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.602e-05/0.1751, allocations: 21.38 kB / 420.7 MB, free: 26.03 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 (tauRef.count,$PRE.tauRef.count,tauRef.T_start,$PRE.tauRef.T_start,oneFlange.limTau.state,oneFlange.limitingTorque,$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.0001346/0.1752, allocations: 268.8 kB / 421 MB, free: 25.77 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.242e-05/0.1753, allocations: 65.95 kB / 421 MB, free: 25.73 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007104/0.176, allocations: 0.5974 MB / 421.6 MB, free: 25.4 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.176, allocations: 6 kB / 421.6 MB, free: 25.4 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.176, allocations: 0 / 421.6 MB, free: 25.4 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.176, allocations: 3.312 kB / 421.6 MB, free: 25.4 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001129/0.1772, allocations: 1.121 MB / 422.8 MB, free: 24.73 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.1772, allocations: 2.031 kB / 422.8 MB, free: 24.73 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001872/0.1773, allocations: 70.3 kB / 422.8 MB, free: 24.73 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.706e-05/0.1774, allocations: 21.61 kB / 422.9 MB, free: 24.72 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.073e-05/0.1774, allocations: 16.8 kB / 422.9 MB, free: 24.71 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003828/0.1778, allocations: 1.245 MB / 424.1 MB, free: 23.46 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1778, allocations: 0 / 424.1 MB, free: 23.46 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009251/0.1787, allocations: 0.9653 MB / 425.1 MB, free: 22.86 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001174/0.1788, allocations: 90.56 kB / 425.2 MB, free: 22.8 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.461e-05/0.1789, allocations: 9.75 kB / 425.2 MB, free: 22.8 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001904/0.1791, allocations: 47.2 kB / 425.2 MB, free: 22.79 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.734e-05/0.1792, allocations: 39.38 kB / 425.3 MB, free: 22.78 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.932e-05/0.1792, allocations: 9.703 kB / 425.3 MB, free: 22.78 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002871/0.1795, allocations: 367.4 kB / 425.6 MB, free: 22.61 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1795, allocations: 0 / 425.6 MB, free: 22.61 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006156/0.1801, allocations: 317.7 kB / 425.9 MB, free: 22.51 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,oneFlange.limitingTorque,oneFlange.limTau.state,tauRef.T_start,tauRef.count) * 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.0006475/0.1807, allocations: 396.2 kB / 426.3 MB, free: 22.36 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001339/0.1821, allocations: 1.443 MB / 427.8 MB, free: 21.27 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1821, allocations: 2.188 kB / 427.8 MB, free: 21.27 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000358/0.1824, allocations: 488.3 kB / 428.3 MB, free: 20.9 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003764/0.1828, allocations: 97.34 kB / 428.4 MB, free: 20.86 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001528/0.1843, allocations: 1.316 MB / 429.7 MB, free: 20.06 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002355/0.1846, allocations: 316.8 kB / 430 MB, free: 19.96 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.814e-05/0.1847, allocations: 45.97 kB / 430 MB, free: 19.95 MB / 330.7 MB Notification: Performance of SimCode: time 7.91e-07/0.1847, allocations: 0 / 430 MB, free: 19.95 MB / 330.7 MB Notification: Performance of Templates: time 0.01117/0.1958, allocations: 11.36 MB / 441.4 MB, free: 14.04 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.317551885731518] Failed to read output from testmodel.py, exit status != 0: 0.201785652898252 0.207700622 0.19207243000000002 Calling exit ...