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.001533/0.001533, allocations: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 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.002025/0.002025, allocations: 223.8 kB / 23 MB, free: 4.914 MB / 14.72 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.549/1.549, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.04277/0.04277, allocations: 8.543 MB / 321.7 MB, free: 10.45 MB / 254.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.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: EHPTlib requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002027/0.002027, allocations: 67.91 kB / 448.1 MB, free: 15.21 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1132, allocations: 55.42 MB / 0.4917 GB, free: 7.688 MB / 366.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange1): time 0.006682/0.1198, allocations: 4.104 MB / 0.4957 GB, free: 3.562 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004514/0.1244, allocations: 2.306 MB / 0.498 GB, free: 1.246 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004899/0.1248, allocations: 23.88 kB / 0.498 GB, free: 1.223 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005748/0.1254, allocations: 158.7 kB / 0.4982 GB, free: 1.066 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008571/0.1263, allocations: 274.2 kB / 0.4984 GB, free: 0.7969 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008693/0.1271, allocations: 434 kB / 0.4988 GB, free: 384 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001099/0.1282, allocations: 0.9508 MB / 0.4998 GB, free: 15.41 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005806/0.1288, allocations: 341 kB / 0.5001 GB, free: 15.06 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005935/0.1294, allocations: 394.6 kB / 0.5005 GB, free: 14.67 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005009/0.1299, allocations: 350.3 kB / 0.5008 GB, free: 14.33 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001412/0.1301, allocations: 108 kB / 0.5009 GB, free: 14.22 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002448/0.1303, allocations: 143.9 kB / 0.501 GB, free: 14.08 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000264/0.1306, allocations: 235.3 kB / 0.5013 GB, free: 13.85 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003783/0.1309, allocations: 378.2 kB / 0.5016 GB, free: 13.48 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001442/0.1324, allocations: 1.222 MB / 0.5028 GB, free: 12.25 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1324, allocations: 0 / 0.5028 GB, free: 12.25 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1324, allocations: 0 / 0.5028 GB, free: 12.25 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.497e-05/0.1324, allocations: 0 / 0.5028 GB, free: 12.25 MB / 382.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.002226/0.1346, allocations: 1.192 MB / 0.504 GB, free: 11.01 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.1347, allocations: 8.031 kB / 0.504 GB, free: 11 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001847/0.1349, allocations: 104.3 kB / 0.5041 GB, free: 10.9 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009418/0.1358, allocations: 0.5194 MB / 0.5046 GB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.019e-05/0.1359, allocations: 54.36 kB / 0.5046 GB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000135/0.136, allocations: 84.08 kB / 0.5047 GB, free: 10.22 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001479/0.1375, allocations: 0.8443 MB / 0.5055 GB, free: 9.336 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.858e-05/0.1375, allocations: 0 / 0.5055 GB, free: 9.336 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.544e-05/0.1376, allocations: 36 kB / 0.5056 GB, free: 9.301 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.129e-05/0.1376, allocations: 19.94 kB / 0.5056 GB, free: 9.281 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001279/0.1389, allocations: 0.5889 MB / 0.5062 GB, free: 8.676 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004/0.1429, allocations: 2.258 MB / 0.5084 GB, free: 6.316 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001061/0.1439, allocations: 418.2 kB / 0.5088 GB, free: 5.887 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004722/0.1444, allocations: 232.4 kB / 0.509 GB, free: 5.645 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.215e-05/0.1445, allocations: 7.938 kB / 0.509 GB, free: 5.637 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007038/0.1452, allocations: 378.3 kB / 0.5094 GB, free: 5.227 MB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 2.525e-06/0.1452, allocations: 0 / 0.5094 GB, free: 5.227 MB / 382.1 MB Notification: Performance of matching and sorting (n=35): time 0.001875/0.147, allocations: 0.7829 MB / 0.5101 GB, free: 4.398 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.227e-05/0.1471, allocations: 136.5 kB / 0.5103 GB, free: 4.234 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008188/0.1479, allocations: 0.6034 MB / 0.5109 GB, free: 3.621 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.349e-05/0.148, allocations: 37.7 kB / 0.5109 GB, free: 3.578 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003698/0.1484, allocations: 400.3 kB / 0.5113 GB, free: 3.184 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001407/0.1485, allocations: 126.9 kB / 0.5114 GB, free: 3.059 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000164/0.1487, allocations: 98.14 kB / 0.5115 GB, free: 2.957 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002182/0.1489, allocations: 366.7 kB / 0.5118 GB, free: 2.59 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005321/0.1494, allocations: 275.8 kB / 0.5121 GB, free: 2.301 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006257/0.15, allocations: 413.2 kB / 0.5125 GB, free: 1.82 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001068/0.1511, allocations: 0.5997 MB / 0.5131 GB, free: 1.141 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.1511, allocations: 0 / 0.5131 GB, free: 1.141 MB / 382.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001434/0.1525, allocations: 0.7558 MB / 0.5138 GB, free: 348 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.745e-05/0.1526, allocations: 93.17 kB / 0.5139 GB, free: 236 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.389e-05/0.1526, allocations: 7.984 kB / 0.5139 GB, free: 228 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001838/0.1528, allocations: 24.86 kB / 0.5139 GB, free: 200 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003869/0.1532, allocations: 99.81 kB / 0.514 GB, free: 100 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.23/0.3832, allocations: 1.26 MB / 0.5153 GB, free: 25.72 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006245/0.3839, allocations: 74.34 kB / 0.5153 GB, free: 25.72 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.215e-05/0.3839, allocations: 19.97 kB / 0.5154 GB, free: 25.72 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006909/0.3846, allocations: 456.3 kB / 0.5158 GB, free: 25.54 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004563/0.385, allocations: 398.2 kB / 0.5162 GB, free: 25.29 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007727/0.3858, allocations: 0.5697 MB / 0.5167 GB, free: 25.01 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.716e-06/0.3858, allocations: 3.562 kB / 0.5167 GB, free: 25.01 MB / 382.1 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.001126/0.3869, allocations: 0.7282 MB / 0.5174 GB, free: 24.78 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.053e-05/0.387, allocations: 93.62 kB / 0.5175 GB, free: 24.69 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.387, allocations: 2.938 kB / 0.5175 GB, free: 24.69 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.895e-05/0.3871, allocations: 26.38 kB / 0.5176 GB, free: 24.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003349/0.3874, allocations: 99.83 kB / 0.5177 GB, free: 24.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006106/0.388, allocations: 1.266 MB / 0.5189 GB, free: 23.49 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000397/0.3884, allocations: 79.56 kB / 0.519 GB, free: 23.49 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.348e-05/0.3885, allocations: 19.62 kB / 0.519 GB, free: 23.49 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.0001856/0.3886, allocations: 270.2 kB / 0.5192 GB, free: 23.24 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.773e-05/0.3887, allocations: 59.7 kB / 0.5193 GB, free: 23.24 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001119/0.3898, allocations: 0.5826 MB / 0.5199 GB, free: 23.07 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.3898, allocations: 3.281 kB / 0.5199 GB, free: 23.07 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.335e-06/0.3898, allocations: 5.062 kB / 0.5199 GB, free: 23.06 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/0.3899, allocations: 2.203 kB / 0.5199 GB, free: 23.06 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001708/0.3916, allocations: 1.146 MB / 0.521 GB, free: 22.7 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.3916, allocations: 0 / 0.521 GB, free: 22.7 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003119/0.3919, allocations: 60.06 kB / 0.5211 GB, free: 22.7 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.019e-05/0.392, allocations: 22.19 kB / 0.5211 GB, free: 22.69 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.146e-05/0.392, allocations: 12.91 kB / 0.5211 GB, free: 22.69 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006412/0.3926, allocations: 1.26 MB / 0.5223 GB, free: 21.5 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.3926, allocations: 1.25 kB / 0.5223 GB, free: 21.5 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001511/0.3941, allocations: 0.9462 MB / 0.5232 GB, free: 21.14 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001058/0.3942, allocations: 60.64 kB / 0.5233 GB, free: 21.12 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.345e-05/0.3943, allocations: 8.828 kB / 0.5233 GB, free: 21.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003556/0.3947, allocations: 48.58 kB / 0.5234 GB, free: 21.12 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/0.3948, allocations: 34.28 kB / 0.5234 GB, free: 21.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.99e-05/0.3948, allocations: 12.73 kB / 0.5234 GB, free: 21.12 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004817/0.3953, allocations: 431.6 kB / 0.5238 GB, free: 21.03 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3953, allocations: 0 / 0.5238 GB, free: 21.03 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008725/0.3962, allocations: 332.4 kB / 0.5241 GB, free: 20.98 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.001404/0.3976, allocations: 393.1 kB / 0.5245 GB, free: 20.85 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002074/0.3996, allocations: 1.432 MB / 0.5259 GB, free: 19.98 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.329e-06/0.3996, allocations: 1.344 kB / 0.5259 GB, free: 19.98 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006323/0.4003, allocations: 480.2 kB / 0.5264 GB, free: 19.68 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006093/0.4009, allocations: 98.27 kB / 0.5265 GB, free: 19.66 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002393/0.4033, allocations: 1.467 MB / 0.5279 GB, free: 18.9 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004004/0.4037, allocations: 336.7 kB / 0.5282 GB, free: 18.78 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001422/0.4038, allocations: 41.91 kB / 0.5282 GB, free: 18.77 MB / 382.1 MB Notification: Performance of SimCode: time 8.02e-07/0.4038, allocations: 0 / 0.5282 GB, free: 18.77 MB / 382.1 MB Notification: Performance of Templates: time 0.01858/0.4224, allocations: 11.96 MB / 0.5399 GB, free: 14.87 MB / 382.1 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=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.742563211359084] Failed to read output from testmodel.py, exit status != 0: 0.43040474178269506 0.44206618000000003 0.30733569800000005 Calling exit ...