Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001367/0.001367, allocations: 114.8 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00143/0.00143, allocations: 199.8 kB / 22.17 MB, free: 5.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.481/1.481, allocations: 225.6 MB / 250.9 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] 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.04187/0.04187, allocations: 8.546 MB / 314.7 MB, free: 300 kB / 238.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(EHPTlib.MapBased.TestingModels.TestTwoFlange2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2") translateModel(EHPTlib.MapBased.TestingModels.TestTwoFlange2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001991/0.001991, allocations: 68.03 kB / 438.6 MB, free: 12.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1198, allocations: 54.21 MB / 492.9 MB, free: 6.195 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange2): time 0.007401/0.1272, allocations: 4.479 MB / 497.3 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00428/0.1314, allocations: 2.213 MB / 499.5 MB, free: 15.47 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003883/0.1318, allocations: 15.94 kB / 499.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005273/0.1324, allocations: 166.7 kB / 499.7 MB, free: 15.29 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006738/0.133, allocations: 230.3 kB / 500 MB, free: 15.07 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000872/0.1339, allocations: 430.9 kB / 0.4886 GB, free: 14.65 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001083/0.135, allocations: 0.9469 MB / 0.4896 GB, free: 13.7 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005626/0.1356, allocations: 364.6 kB / 0.4899 GB, free: 13.31 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000485/0.136, allocations: 374.7 kB / 0.4903 GB, free: 12.95 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005635/0.1366, allocations: 418.2 kB / 0.4907 GB, free: 12.54 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001446/0.1367, allocations: 112 kB / 0.4908 GB, free: 12.43 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002608/0.137, allocations: 160 kB / 0.4909 GB, free: 12.27 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002735/0.1373, allocations: 251.2 kB / 0.4912 GB, free: 12.02 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004398/0.1377, allocations: 465.8 kB / 0.4916 GB, free: 11.57 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001417/0.1391, allocations: 1.234 MB / 0.4928 GB, free: 10.33 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.1391, allocations: 0 / 0.4928 GB, free: 10.33 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1391, allocations: 0 / 0.4928 GB, free: 10.33 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.246e-05/0.1392, allocations: 0 / 0.4928 GB, free: 10.33 MB / 366.1 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.00232/0.1415, allocations: 1.271 MB / 0.4941 GB, free: 8.988 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/0.1415, allocations: 11.89 kB / 0.4941 GB, free: 8.977 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001772/0.1417, allocations: 100.3 kB / 0.4942 GB, free: 8.879 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000943/0.1426, allocations: 0.572 MB / 0.4947 GB, free: 8.266 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.166e-05/0.1427, allocations: 54.38 kB / 0.4948 GB, free: 8.211 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001311/0.1428, allocations: 84.12 kB / 0.4949 GB, free: 8.129 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001427/0.1443, allocations: 0.7408 MB / 0.4956 GB, free: 7.371 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.832e-05/0.1443, allocations: 7.891 kB / 0.4956 GB, free: 7.363 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.305e-05/0.1444, allocations: 35.98 kB / 0.4956 GB, free: 7.328 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.248e-05/0.1444, allocations: 16 kB / 0.4956 GB, free: 7.312 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001272/0.1457, allocations: 0.5309 MB / 0.4962 GB, free: 6.781 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004209/0.1499, allocations: 2.711 MB / 0.4988 GB, free: 3.949 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001102/0.151, allocations: 444.3 kB / 0.4992 GB, free: 3.484 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004351/0.1514, allocations: 169 kB / 0.4994 GB, free: 3.316 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.372e-05/0.1514, allocations: 4 kB / 0.4994 GB, free: 3.312 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006152/0.1521, allocations: 271.4 kB / 0.4997 GB, free: 3.031 MB / 366.1 MB Notification: Performance of pre-optimization done (n=35): time 2.084e-06/0.1521, allocations: 0 / 0.4997 GB, free: 3.031 MB / 366.1 MB Notification: Performance of matching and sorting (n=35): time 0.00183/0.1539, allocations: 0.738 MB / 0.5004 GB, free: 2.254 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001081/0.154, allocations: 166.5 kB / 0.5005 GB, free: 2.055 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008983/0.1549, allocations: 0.6749 MB / 0.5012 GB, free: 1.371 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.743e-05/0.1549, allocations: 37.7 kB / 0.5012 GB, free: 1.328 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003366/0.1553, allocations: 388.5 kB / 0.5016 GB, free: 0.9414 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001231/0.1554, allocations: 134.9 kB / 0.5017 GB, free: 0.8086 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001654/0.1556, allocations: 90.25 kB / 0.5018 GB, free: 0.7148 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001961/0.1558, allocations: 378.7 kB / 0.5022 GB, free: 344 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004783/0.1562, allocations: 183 kB / 0.5023 GB, free: 160 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006135/0.1569, allocations: 312.1 kB / 0.5026 GB, free: 15.79 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001164/0.158, allocations: 0.596 MB / 0.5032 GB, free: 15.12 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.129e-06/0.158, allocations: 4 kB / 0.5032 GB, free: 15.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001559/0.1596, allocations: 0.6765 MB / 0.5039 GB, free: 14.41 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.791e-05/0.1597, allocations: 96.44 kB / 0.504 GB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.335e-05/0.1597, allocations: 4 kB / 0.504 GB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002319/0.1599, allocations: 36.78 kB / 0.504 GB, free: 14.26 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004185/0.1603, allocations: 95.88 kB / 0.5041 GB, free: 14.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001401/0.1617, allocations: 1.392 MB / 0.5055 GB, free: 12.63 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005457/0.1623, allocations: 83.58 kB / 0.5056 GB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.075e-05/0.1623, allocations: 24.09 kB / 0.5056 GB, free: 12.53 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007804/0.1631, allocations: 361.1 kB / 0.5059 GB, free: 12.17 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005531/0.1637, allocations: 300 kB / 0.5062 GB, free: 11.82 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009997/0.1647, allocations: 0.5707 MB / 0.5068 GB, free: 11.18 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.578e-06/0.1647, allocations: 3.984 kB / 0.5068 GB, free: 11.17 MB / 382.1 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.001337/0.166, allocations: 0.6506 MB / 0.5074 GB, free: 10.49 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.011e-05/0.1661, allocations: 97.09 kB / 0.5075 GB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.1661, allocations: 448 / 0.5075 GB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001104/0.1662, allocations: 36.78 kB / 0.5075 GB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003856/0.1666, allocations: 91.89 kB / 0.5076 GB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001209/0.1678, allocations: 1.39 MB / 0.509 GB, free: 8.723 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004764/0.1683, allocations: 67.73 kB / 0.509 GB, free: 8.656 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.86e-05/0.1683, allocations: 23.94 kB / 0.5091 GB, free: 8.633 MB / 382.1 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 (tauRef.count,$PRE.tauRef.count,tauRef.T_start,$PRE.tauRef.T_start,twoFlanges.limTau.state,$whenCondition1,twoFlanges.constPDC.integrator1.local_reset) * 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.0002694/0.1686, allocations: 287.4 kB / 0.5093 GB, free: 8.336 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001047/0.1687, allocations: 67.56 kB / 0.5094 GB, free: 8.27 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001381/0.1701, allocations: 0.5462 MB / 0.5099 GB, free: 7.703 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.1701, allocations: 0 / 0.5099 GB, free: 7.703 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.1701, allocations: 4 kB / 0.5099 GB, free: 7.699 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.1701, allocations: 0 / 0.5099 GB, free: 7.699 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002322/0.1724, allocations: 1.276 MB / 0.5112 GB, free: 6.352 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.1724, allocations: 4 kB / 0.5112 GB, free: 6.348 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003526/0.1728, allocations: 55.95 kB / 0.5112 GB, free: 6.293 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001361/0.1729, allocations: 28.78 kB / 0.5113 GB, free: 6.262 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.208e-05/0.1729, allocations: 12 kB / 0.5113 GB, free: 6.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001479/0.1744, allocations: 1.379 MB / 0.5126 GB, free: 4.73 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1744, allocations: 160 / 0.5126 GB, free: 4.73 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001953/0.1764, allocations: 0.8322 MB / 0.5134 GB, free: 3.863 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002726/0.1767, allocations: 148.7 kB / 0.5136 GB, free: 3.699 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.239e-05/0.1767, allocations: 15.94 kB / 0.5136 GB, free: 3.684 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004149/0.1771, allocations: 39.95 kB / 0.5136 GB, free: 3.645 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001657/0.1773, allocations: 35.95 kB / 0.5137 GB, free: 3.609 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.514e-05/0.1774, allocations: 12 kB / 0.5137 GB, free: 3.598 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008989/0.1782, allocations: 494.8 kB / 0.5142 GB, free: 3.117 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1782, allocations: 0 / 0.5142 GB, free: 3.117 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001279/0.1795, allocations: 315.1 kB / 0.5145 GB, free: 2.809 MB / 382.1 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.001612/0.1811, allocations: 408.4 kB / 0.5148 GB, free: 2.562 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00255/0.1837, allocations: 1.207 MB / 0.516 GB, free: 1.258 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/0.1837, allocations: 8.062 kB / 0.516 GB, free: 1.25 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007436/0.1844, allocations: 417.2 kB / 0.5164 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006561/0.1851, allocations: 94.12 kB / 0.5165 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2509/0.436, allocations: 1.382 MB / 0.5179 GB, free: 36.25 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005646/0.4365, allocations: 0.9334 MB / 0.5188 GB, free: 35.55 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004109/0.437, allocations: 78.61 kB / 0.5189 GB, free: 35.55 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001548/0.4371, allocations: 42.41 kB / 0.5189 GB, free: 35.54 MB / 382.1 MB Notification: Performance of SimCode: time 1.142e-06/0.4371, allocations: 1.203 kB / 0.5189 GB, free: 35.54 MB / 382.1 MB Notification: Performance of Templates: time 0.02053/0.4576, allocations: 8.292 MB / 0.527 GB, free: 34.67 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2 -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.301068900153041] Failed to read output from testmodel.py, exit status != 0: 0.465317671187222 0.47842874199999996 0.336800764 Calling exit ...