Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo", uses=false) Using package EHPTlib with version 2.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/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.TestOneFlange1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange1") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008436/0.008436, allocations: 100.9 kB / 15.73 MB, free: 6.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001667/0.001667, allocations: 195.2 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.03884/0.03884, allocations: 8.005 MB / 298.5 MB, free: 6.824 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001881/0.001881, allocations: 63.91 kB / 413.2 MB, free: 22.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09384/0.09573, allocations: 51.24 MB / 464.4 MB, free: 2.984 MB / 334.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange1): time 0.00681/0.1026, allocations: 4.847 MB / 469.2 MB, free: 14.12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003631/0.1063, allocations: 1.956 MB / 471.2 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005325/0.1068, allocations: 15.94 kB / 471.2 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005842/0.1074, allocations: 234.5 kB / 471.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007149/0.1082, allocations: 282.1 kB / 471.7 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001158/0.1093, allocations: 0.5561 MB / 472.3 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001151/0.1105, allocations: 1.033 MB / 473.3 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006663/0.1112, allocations: 495.8 kB / 473.8 MB, free: 9.531 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004391/0.1116, allocations: 382.6 kB / 474.2 MB, free: 9.156 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005053/0.1121, allocations: 434.1 kB / 474.6 MB, free: 8.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001315/0.1123, allocations: 108 kB / 474.7 MB, free: 8.625 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003639/0.1126, allocations: 191.8 kB / 474.9 MB, free: 8.438 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002505/0.1129, allocations: 239.3 kB / 475.1 MB, free: 8.203 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004115/0.1133, allocations: 469.6 kB / 475.6 MB, free: 7.742 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001372/0.1147, allocations: 1.218 MB / 476.8 MB, free: 6.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.1147, allocations: 0 / 476.8 MB, free: 6.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1147, allocations: 0 / 476.8 MB, free: 6.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.142e-05/0.1147, allocations: 0 / 476.8 MB, free: 6.52 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 165 * Number of variables: 165 Notification: Performance of Generate backend data structure: time 0.002045/0.1168, allocations: 1.315 MB / 478.1 MB, free: 5.137 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.1168, allocations: 11.89 kB / 478.1 MB, free: 5.125 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002189/0.1171, allocations: 104.3 kB / 478.2 MB, free: 5.023 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008649/0.1179, allocations: 0.6013 MB / 478.8 MB, free: 4.379 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.368e-05/0.118, allocations: 53.69 kB / 478.9 MB, free: 4.324 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001043/0.1181, allocations: 72.12 kB / 478.9 MB, free: 4.254 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001293/0.1194, allocations: 0.6878 MB / 479.6 MB, free: 3.547 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.728e-05/0.1195, allocations: 8 kB / 479.6 MB, free: 3.539 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.168e-05/0.1195, allocations: 28 kB / 479.7 MB, free: 3.512 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.682e-05/0.1195, allocations: 19.94 kB / 479.7 MB, free: 3.492 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001195/0.1207, allocations: 0.497 MB / 480.2 MB, free: 2.996 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003614/0.1244, allocations: 2.596 MB / 482.8 MB, free: 280 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001086/0.1255, allocations: 468.4 kB / 483.2 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004609/0.1259, allocations: 181.3 kB / 483.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.645e-05/0.126, allocations: 12.27 kB / 483.4 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006521/0.1267, allocations: 275.6 kB / 483.7 MB, free: 15.31 MB / 366.1 MB Notification: Performance of pre-optimization done (n=35): time 2.695e-06/0.1267, allocations: 0 / 483.7 MB, free: 15.31 MB / 366.1 MB Notification: Performance of matching and sorting (n=35): time 0.001807/0.1285, allocations: 0.733 MB / 484.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.276e-05/0.1286, allocations: 140.5 kB / 484.6 MB, free: 14.37 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009356/0.1295, allocations: 0.7738 MB / 485.3 MB, free: 13.59 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.281e-05/0.1296, allocations: 41.69 kB / 485.4 MB, free: 13.54 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003392/0.1299, allocations: 408.7 kB / 485.8 MB, free: 13.14 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001093/0.13, allocations: 126.9 kB / 485.9 MB, free: 13.01 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001547/0.1302, allocations: 90.08 kB / 486 MB, free: 12.92 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001856/0.1304, allocations: 378.8 kB / 486.4 MB, free: 12.54 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004623/0.1309, allocations: 186.6 kB / 486.5 MB, free: 12.35 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005253/0.1314, allocations: 281 kB / 486.8 MB, free: 12.04 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001031/0.1324, allocations: 0.5657 MB / 487.4 MB, free: 11.4 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.1325, allocations: 0 / 487.4 MB, free: 11.4 MB / 366.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001353/0.1338, allocations: 0.6549 MB / 488 MB, free: 10.72 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.372e-05/0.1339, allocations: 93.09 kB / 488.1 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.362e-05/0.1339, allocations: 4 kB / 488.1 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001681/0.1341, allocations: 32.78 kB / 488.2 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003799/0.1345, allocations: 96.22 kB / 488.3 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001129/0.1356, allocations: 1.383 MB / 489.6 MB, free: 8.953 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004672/0.1361, allocations: 87.45 kB / 489.7 MB, free: 8.867 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.198e-05/0.1362, allocations: 20 kB / 489.7 MB, free: 8.848 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006581/0.1368, allocations: 361 kB / 490.1 MB, free: 8.492 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004853/0.1373, allocations: 277 kB / 490.4 MB, free: 8.176 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009264/0.1383, allocations: 0.5498 MB / 490.9 MB, free: 7.555 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.844e-06/0.1383, allocations: 0 / 490.9 MB, free: 7.555 MB / 366.1 MB Notification: Performance of matching and sorting (n=56) (initialization_lambda0): time 0.001198/0.1395, allocations: 0.624 MB / 491.5 MB, free: 6.902 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.959e-05/0.1396, allocations: 103.5 kB / 491.6 MB, free: 6.785 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.1396, allocations: 4 kB / 491.6 MB, free: 6.781 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.325e-05/0.1397, allocations: 20.86 kB / 491.7 MB, free: 6.758 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003368/0.14, allocations: 95.81 kB / 491.8 MB, free: 6.664 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001051/0.1411, allocations: 1.39 MB / 493.2 MB, free: 5.133 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004166/0.1415, allocations: 68 kB / 493.2 MB, free: 5.066 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.234e-05/0.1415, allocations: 31.91 kB / 493.3 MB, free: 5.035 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 (oneFlange.limTau.state,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 (53): * Single equations (assignments): 49 * 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.0002318/0.1418, allocations: 271.5 kB / 493.5 MB, free: 4.75 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001063/0.1419, allocations: 71.53 kB / 493.6 MB, free: 4.68 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001225/0.1431, allocations: 0.5312 MB / 494.1 MB, free: 4.125 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.1431, allocations: 4 kB / 494.1 MB, free: 4.121 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.1432, allocations: 0 / 494.1 MB, free: 4.121 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.238e-06/0.1432, allocations: 3.984 kB / 494.1 MB, free: 4.117 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002044/0.1452, allocations: 1.257 MB / 495.4 MB, free: 2.789 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.1452, allocations: 0 / 495.4 MB, free: 2.789 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003255/0.1456, allocations: 71.88 kB / 495.5 MB, free: 2.719 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.351e-05/0.1457, allocations: 24.8 kB / 495.5 MB, free: 2.691 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.379e-05/0.1457, allocations: 11.98 kB / 495.5 MB, free: 2.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001053/0.1468, allocations: 1.382 MB / 496.9 MB, free: 1.156 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.1468, allocations: 0 / 496.9 MB, free: 1.156 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001644/0.1484, allocations: 0.8318 MB / 497.7 MB, free: 300 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002137/0.1486, allocations: 192.5 kB / 497.9 MB, free: 88 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.426e-05/0.1487, allocations: 8 kB / 497.9 MB, free: 80 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003728/0.1491, allocations: 43.94 kB / 497.9 MB, free: 36 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001264/0.1492, allocations: 40.11 kB / 498 MB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.169e-05/0.1493, allocations: 15.98 kB / 498 MB, free: 15.98 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006792/0.15, allocations: 0.5459 MB / 498.5 MB, free: 15.43 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.15, allocations: 0 / 498.5 MB, free: 15.43 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008533/0.1508, allocations: 307.1 kB / 498.8 MB, free: 15.13 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,oneFlange.pDC.integrator1.y) * Number of discrete variables: 4 ($whenCondition1,tauRef.T_start,tauRef.count,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 (33): * Single equations (assignments): 28 * 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.002283/0.1531, allocations: 0.6137 MB / 499.5 MB, free: 14.78 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002166/0.1553, allocations: 1.219 MB / 0.4889 GB, free: 13.46 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.1553, allocations: 0 / 0.4889 GB, free: 13.46 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006999/0.156, allocations: 433.3 kB / 0.4894 GB, free: 13 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007152/0.1568, allocations: 130.5 kB / 0.4895 GB, free: 12.88 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002487/0.1593, allocations: 1.449 MB / 0.4909 GB, free: 11.39 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006018/0.1599, allocations: 0.9564 MB / 0.4918 GB, free: 10.41 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003177/0.1602, allocations: 80.55 kB / 0.4919 GB, free: 10.32 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001317/0.1603, allocations: 51.42 kB / 0.492 GB, free: 10.27 MB / 382.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1603, allocations: 4 kB / 0.492 GB, free: 10.27 MB / 382.1 MB Notification: Performance of Templates: time 0.01606/0.1764, allocations: 8.43 MB / 0.5002 GB, free: 1.875 MB / 382.1 MB make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange1.makefile (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange1.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange1.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange1.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange1.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange1.pipe 2>&1)