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.0008855/0.0008855, allocations: 80.75 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.001117/0.001117, allocations: 181 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 0.9644/0.9644, allocations: 177.1 MB / 203.8 MB, free: 5.461 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.02724/0.02724, allocations: 6.488 MB / 266.7 MB, free: 6.496 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 2.304e-06/2.304e-06, allocations: 0 / 285.3 MB, free: 3.984 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.241e-05/2.472e-05, allocations: 6.312 kB / 285.3 MB, free: 3.977 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange1): time 0.1153/0.1153, allocations: 4.316 MB / 289.6 MB, free: 19.22 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003664/0.119, allocations: 2.427 MB / 292 MB, free: 18.92 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000546/0.1196, allocations: 19.72 kB / 292 MB, free: 18.91 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004866/0.12, allocations: 167.7 kB / 292.2 MB, free: 18.83 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007993/0.1208, allocations: 284.1 kB / 292.5 MB, free: 18.7 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007992/0.1216, allocations: 429.2 kB / 292.9 MB, free: 18.48 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009827/0.1226, allocations: 0.9788 MB / 293.9 MB, free: 17.96 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004619/0.1231, allocations: 354.3 kB / 294.2 MB, free: 17.75 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007547/0.1238, allocations: 0.5706 MB / 294.8 MB, free: 17.47 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005442/0.1244, allocations: 316.2 kB / 295.1 MB, free: 17.38 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001539/0.1245, allocations: 109.5 kB / 295.2 MB, free: 17.38 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002165/0.1248, allocations: 143.9 kB / 295.3 MB, free: 17.37 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002117/0.125, allocations: 249.3 kB / 295.6 MB, free: 17.23 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003189/0.1253, allocations: 312.4 kB / 295.9 MB, free: 17.06 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008769/0.1262, allocations: 0.7153 MB / 296.6 MB, free: 16.66 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1262, allocations: 0 / 296.6 MB, free: 16.66 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1262, allocations: 0.9375 kB / 296.6 MB, free: 16.66 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.887e-05/0.1262, allocations: 1.188 kB / 296.6 MB, free: 16.66 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.001547/0.1277, allocations: 1.145 MB / 297.7 MB, free: 15.86 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.1278, allocations: 9.625 kB / 297.8 MB, free: 15.86 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001822/0.128, allocations: 125.6 kB / 297.9 MB, free: 15.83 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005071/0.1285, allocations: 366.3 kB / 298.2 MB, free: 15.57 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.634e-05/0.1285, allocations: 57.41 kB / 298.3 MB, free: 15.54 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.068e-05/0.1286, allocations: 81.88 kB / 298.4 MB, free: 15.51 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007073/0.1293, allocations: 0.6407 MB / 299 MB, free: 15.19 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.934e-05/0.1293, allocations: 5.094 kB / 299 MB, free: 15.18 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.877e-05/0.1294, allocations: 30.56 kB / 299 MB, free: 15.16 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.623e-05/0.1294, allocations: 16.31 kB / 299.1 MB, free: 15.16 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003457/0.1297, allocations: 239.2 kB / 299.3 MB, free: 15.08 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002166/0.1319, allocations: 1.752 MB / 301.1 MB, free: 13.97 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003558/0.1323, allocations: 238.4 kB / 301.3 MB, free: 13.85 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.361e-05/0.1324, allocations: 115.9 kB / 301.4 MB, free: 13.77 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.373e-05/0.1324, allocations: 7.516 kB / 301.4 MB, free: 13.77 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002127/0.1326, allocations: 285.5 kB / 301.7 MB, free: 13.56 MB / 266.7 MB Notification: Performance of pre-optimization done (n=35): time 2.545e-06/0.1326, allocations: 4.844 kB / 301.7 MB, free: 13.56 MB / 266.7 MB Notification: Performance of matching and sorting (n=35): time 0.0006901/0.1333, allocations: 461.8 kB / 302.1 MB, free: 13.29 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.078e-05/0.1333, allocations: 134 kB / 302.3 MB, free: 13.13 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003666/0.1337, allocations: 454.1 kB / 302.7 MB, free: 12.91 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.638e-05/0.1337, allocations: 40.58 kB / 302.8 MB, free: 12.87 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001345/0.1338, allocations: 336.5 kB / 303.1 MB, free: 12.62 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.759e-05/0.1339, allocations: 133 kB / 303.2 MB, free: 12.51 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.678e-05/0.134, allocations: 94.09 kB / 303.3 MB, free: 12.46 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.62e-05/0.1341, allocations: 361.9 kB / 303.7 MB, free: 12.12 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.588e-05/0.1342, allocations: 146.1 kB / 303.8 MB, free: 12.02 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001241/0.1343, allocations: 291.5 kB / 304.1 MB, free: 11.73 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002292/0.1345, allocations: 422.1 kB / 304.5 MB, free: 11.37 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.1345, allocations: 1.375 kB / 304.5 MB, free: 11.37 MB / 266.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0003564/0.1349, allocations: 476.1 kB / 305 MB, free: 11.04 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.526e-05/0.1349, allocations: 90.72 kB / 305.1 MB, free: 10.94 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.1349, allocations: 2.75 kB / 305.1 MB, free: 10.94 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001009/0.135, allocations: 22.59 kB / 305.1 MB, free: 10.93 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001919/0.1352, allocations: 93.95 kB / 305.2 MB, free: 10.91 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000434/0.1356, allocations: 1.172 MB / 306.3 MB, free: 9.719 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001989/0.1358, allocations: 67.2 kB / 306.4 MB, free: 9.68 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.348e-05/0.1359, allocations: 16.84 kB / 306.4 MB, free: 9.676 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001615/0.136, allocations: 230.3 kB / 306.6 MB, free: 9.477 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001158/0.1361, allocations: 291.6 kB / 306.9 MB, free: 9.184 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002039/0.1363, allocations: 399.1 kB / 307.3 MB, free: 8.832 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.094e-06/0.1363, allocations: 5.062 kB / 307.3 MB, free: 8.828 MB / 266.7 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.0003252/0.1367, allocations: 469.4 kB / 307.8 MB, free: 8.5 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.472e-05/0.1367, allocations: 90.88 kB / 307.9 MB, free: 8.402 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.1367, allocations: 3.344 kB / 307.9 MB, free: 8.402 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.114e-05/0.1368, allocations: 26.12 kB / 307.9 MB, free: 8.387 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001663/0.1369, allocations: 89.84 kB / 308 MB, free: 8.367 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003239/0.1373, allocations: 1.179 MB / 309.2 MB, free: 7.168 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001716/0.1374, allocations: 59.28 kB / 309.2 MB, free: 7.137 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.184e-05/0.1374, allocations: 16.28 kB / 309.2 MB, free: 7.133 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.000107/0.1376, allocations: 276.1 kB / 309.5 MB, free: 6.859 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.354e-05/0.1376, allocations: 51.39 kB / 309.6 MB, free: 6.84 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002869/0.1379, allocations: 348.2 kB / 309.9 MB, free: 6.574 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.1379, allocations: 3.219 kB / 309.9 MB, free: 6.574 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.1379, allocations: 2 kB / 309.9 MB, free: 6.574 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.1379, allocations: 4 kB / 309.9 MB, free: 6.57 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005945/0.1385, allocations: 0.7005 MB / 310.6 MB, free: 6.051 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1385, allocations: 0 / 310.6 MB, free: 6.051 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001322/0.1386, allocations: 53.22 kB / 310.7 MB, free: 6.039 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.146e-05/0.1387, allocations: 19.59 kB / 310.7 MB, free: 6.027 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.174e-05/0.1387, allocations: 11.59 kB / 310.7 MB, free: 6.02 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002928/0.139, allocations: 1.171 MB / 311.9 MB, free: 4.824 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.139, allocations: 0.5469 kB / 311.9 MB, free: 4.824 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000328/0.1393, allocations: 0.5572 MB / 312.4 MB, free: 4.387 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.341e-05/0.1394, allocations: 51.39 kB / 312.5 MB, free: 4.352 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.706e-05/0.1394, allocations: 16.03 kB / 312.5 MB, free: 4.34 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001293/0.1395, allocations: 36.78 kB / 312.5 MB, free: 4.324 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.003e-05/0.1396, allocations: 32.28 kB / 312.6 MB, free: 4.301 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.338e-05/0.1396, allocations: 9.531 kB / 312.6 MB, free: 4.297 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001519/0.1398, allocations: 200.5 kB / 312.8 MB, free: 4.18 MB / 266.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.1398, allocations: 4 kB / 312.8 MB, free: 4.176 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004723/0.1402, allocations: 330.8 kB / 313.1 MB, free: 3.852 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.0009034/0.1411, allocations: 443.4 kB / 313.5 MB, free: 3.676 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005677/0.1417, allocations: 1.133 MB / 314.7 MB, free: 2.391 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.223e-06/0.1417, allocations: 8 kB / 314.7 MB, free: 2.383 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001475/0.1419, allocations: 385.5 kB / 315 MB, free: 1.953 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000274/0.1421, allocations: 90.86 kB / 315.1 MB, free: 1.875 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001354/0.1435, allocations: 1.225 MB / 316.4 MB, free: 0.6016 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.707e-05/0.1436, allocations: 153.7 kB / 316.5 MB, free: 440 kB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001459/0.1437, allocations: 63.41 kB / 316.6 MB, free: 372 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001737/0.1439, allocations: 151.3 kB / 316.7 MB, free: 220 kB / 266.7 MB Notification: Performance of SimCode: time 8.92e-07/0.1439, allocations: 0 / 316.7 MB, free: 220 kB / 266.7 MB Notification: Performance of Templates: time 0.01037/0.1542, allocations: 7.911 MB / 324.6 MB, free: 8.402 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 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.750631201080978]