Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.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.0009754/0.0009754, allocations: 80.88 kB / 19.94 MB, free: 4.551 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.001108/0.001108, allocations: 177 kB / 23.36 MB, free: 1.137 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.9721/0.9721, allocations: 177.1 MB / 203.8 MB, free: 5.492 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.02603/0.02603, allocations: 6.488 MB / 266.8 MB, free: 6.512 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.TestOneFlange1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 285.3 MB, free: 4 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.421e-05/1.63e-05, allocations: 5.969 kB / 285.3 MB, free: 3.996 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1): time 0.1074/0.1074, allocations: 5.01 MB / 290.3 MB, free: 19.26 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002261/0.1097, allocations: 1.66 MB / 291.9 MB, free: 18.99 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003109/0.11, allocations: 20.66 kB / 292 MB, free: 18.98 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003741/0.1104, allocations: 198.3 kB / 292.2 MB, free: 18.91 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000517/0.1109, allocations: 289.5 kB / 292.4 MB, free: 18.8 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005192/0.1114, allocations: 379.2 kB / 292.8 MB, free: 18.68 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000735/0.1121, allocations: 0.9693 MB / 293.8 MB, free: 18.17 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003456/0.1125, allocations: 329.5 kB / 294.1 MB, free: 17.97 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005936/0.1131, allocations: 0.5643 MB / 294.7 MB, free: 17.7 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003699/0.1134, allocations: 337.2 kB / 295 MB, free: 17.59 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001152/0.1135, allocations: 103.3 kB / 295.1 MB, free: 17.59 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001675/0.1137, allocations: 149.4 kB / 295.2 MB, free: 17.58 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000127/0.1138, allocations: 215.5 kB / 295.4 MB, free: 17.43 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002129/0.1141, allocations: 288.5 kB / 295.7 MB, free: 17.28 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006132/0.1147, allocations: 0.6748 MB / 296.4 MB, free: 16.89 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.1147, allocations: 0.5625 kB / 296.4 MB, free: 16.89 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.1147, allocations: 1.156 kB / 296.4 MB, free: 16.89 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.258e-05/0.1147, allocations: 0 / 296.4 MB, free: 16.89 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: 164 * Number of variables: 164 Notification: Performance of Generate backend data structure: time 0.001094/0.1158, allocations: 1.106 MB / 297.5 MB, free: 16.11 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.755e-05/0.1158, allocations: 10.03 kB / 297.5 MB, free: 16.11 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000139/0.1159, allocations: 116.5 kB / 297.6 MB, free: 16.09 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003628/0.1163, allocations: 349.2 kB / 298 MB, free: 15.84 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.424e-05/0.1164, allocations: 110.9 kB / 298.1 MB, free: 15.75 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.649e-05/0.1164, allocations: 67.66 kB / 298.2 MB, free: 15.73 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005369/0.117, allocations: 0.6053 MB / 298.8 MB, free: 15.41 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.784e-05/0.117, allocations: 6.031 kB / 298.8 MB, free: 15.41 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.365e-05/0.117, allocations: 27.88 kB / 298.8 MB, free: 15.39 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.156e-05/0.117, allocations: 15.53 kB / 298.8 MB, free: 15.39 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002615/0.1173, allocations: 224.6 kB / 299 MB, free: 15.32 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001731/0.119, allocations: 1.708 MB / 300.7 MB, free: 14.19 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003221/0.1194, allocations: 248.7 kB / 301 MB, free: 14.07 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.714e-05/0.1195, allocations: 123.5 kB / 301.1 MB, free: 13.98 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.579e-05/0.1195, allocations: 7.359 kB / 301.1 MB, free: 13.98 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001865/0.1197, allocations: 289.2 kB / 301.4 MB, free: 13.77 MB / 266.7 MB Notification: Performance of pre-optimization done (n=36): time 1.403e-06/0.1197, allocations: 1.438 kB / 301.4 MB, free: 13.77 MB / 266.7 MB Notification: Performance of matching and sorting (n=36): time 0.0004096/0.1201, allocations: 449.7 kB / 301.8 MB, free: 13.51 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.968e-05/0.1201, allocations: 141.4 kB / 302 MB, free: 13.35 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002718/0.1204, allocations: 430.9 kB / 302.4 MB, free: 13.13 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.376e-05/0.1204, allocations: 33.83 kB / 302.4 MB, free: 13.1 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000116/0.1205, allocations: 328.1 kB / 302.7 MB, free: 12.85 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.422e-05/0.1206, allocations: 119.8 kB / 302.9 MB, free: 12.76 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.176e-05/0.1207, allocations: 100.5 kB / 303 MB, free: 12.7 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.416e-05/0.1207, allocations: 371.2 kB / 303.3 MB, free: 12.36 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.368e-05/0.1208, allocations: 148 kB / 303.5 MB, free: 12.25 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000128/0.1209, allocations: 290.6 kB / 303.7 MB, free: 11.97 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002497/0.1212, allocations: 403.3 kB / 304.1 MB, free: 11.65 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.1212, allocations: 0.625 kB / 304.1 MB, free: 11.65 MB / 266.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0003416/0.1215, allocations: 475.3 kB / 304.6 MB, free: 11.35 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.866e-05/0.1216, allocations: 94.47 kB / 304.7 MB, free: 11.25 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.1216, allocations: 6.406 kB / 304.7 MB, free: 11.25 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.698e-05/0.1217, allocations: 31.03 kB / 304.7 MB, free: 11.23 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001912/0.1219, allocations: 91.52 kB / 304.8 MB, free: 11.21 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003512/0.1222, allocations: 1.162 MB / 306 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001785/0.1224, allocations: 75.2 kB / 306.1 MB, free: 9.977 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.121e-05/0.1224, allocations: 16.38 kB / 306.1 MB, free: 9.973 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001435/0.1225, allocations: 230.5 kB / 306.3 MB, free: 9.773 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000105/0.1227, allocations: 282.8 kB / 306.6 MB, free: 9.488 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001976/0.1229, allocations: 399.7 kB / 307 MB, free: 9.137 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.355e-06/0.1229, allocations: 2.125 kB / 307 MB, free: 9.137 MB / 266.7 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.0002976/0.1232, allocations: 476.6 kB / 307.4 MB, free: 8.801 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/0.1232, allocations: 98.5 kB / 307.5 MB, free: 8.695 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.1232, allocations: 3.781 kB / 307.5 MB, free: 8.695 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.755e-05/0.1232, allocations: 21.56 kB / 307.6 MB, free: 8.684 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001729/0.1234, allocations: 93.77 kB / 307.6 MB, free: 8.66 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002813/0.1237, allocations: 1.163 MB / 308.8 MB, free: 7.477 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001643/0.1238, allocations: 61.86 kB / 308.9 MB, free: 7.441 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.13e-05/0.1239, allocations: 19.7 kB / 308.9 MB, free: 7.438 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: 8 (oneFlange.pDC.integrator1.local_reset,oneFlange.limTau.state,oneFlange.limitingTorque,tauRef.count,$PRE.tauRef.count,tauRef.T_start,$PRE.tauRef.T_start,$whenCondition1) * 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 9.335e-05/0.124, allocations: 281.7 kB / 309.2 MB, free: 7.156 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.032e-05/0.124, allocations: 47.61 kB / 309.2 MB, free: 7.141 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002663/0.1243, allocations: 354.1 kB / 309.6 MB, free: 6.875 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.1243, allocations: 3.75 kB / 309.6 MB, free: 6.875 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.1243, allocations: 3.875 kB / 309.6 MB, free: 6.875 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.1243, allocations: 0 / 309.6 MB, free: 6.875 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005344/0.1248, allocations: 0.687 MB / 310.2 MB, free: 6.367 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.1248, allocations: 4 kB / 310.3 MB, free: 6.363 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001396/0.125, allocations: 63.11 kB / 310.3 MB, free: 6.344 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.176e-05/0.125, allocations: 12.86 kB / 310.3 MB, free: 6.336 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.696e-05/0.125, allocations: 11.98 kB / 310.3 MB, free: 6.328 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000274/0.1253, allocations: 1.157 MB / 311.5 MB, free: 5.145 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.1253, allocations: 0 / 311.5 MB, free: 5.145 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003299/0.1256, allocations: 0.5679 MB / 312.1 MB, free: 4.691 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.917e-05/0.1257, allocations: 58.59 kB / 312.1 MB, free: 4.652 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.372e-05/0.1257, allocations: 9.406 kB / 312.1 MB, free: 4.648 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001382/0.1259, allocations: 31.47 kB / 312.2 MB, free: 4.637 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.861e-05/0.1259, allocations: 39 kB / 312.2 MB, free: 4.609 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.362e-05/0.1259, allocations: 8.875 kB / 312.2 MB, free: 4.605 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001178/0.1261, allocations: 190 kB / 312.4 MB, free: 4.52 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1261, allocations: 0 / 312.4 MB, free: 4.52 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000393/0.1265, allocations: 306 kB / 312.7 MB, free: 4.277 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,oneFlange.pDC.integrator1.y) * Number of discrete variables: 5 ($whenCondition1,tauRef.T_start,tauRef.count,oneFlange.limitingTorque,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 (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.0008194/0.1273, allocations: 451.7 kB / 313.1 MB, free: 4.098 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000511/0.1278, allocations: 1.138 MB / 314.3 MB, free: 2.809 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.632e-06/0.1278, allocations: 8.125 kB / 314.3 MB, free: 2.801 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001439/0.1279, allocations: 385.6 kB / 314.7 MB, free: 2.371 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002536/0.1282, allocations: 107.9 kB / 314.8 MB, free: 2.281 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001172/0.1294, allocations: 1.161 MB / 315.9 MB, free: 1.07 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.056e-05/0.1294, allocations: 142.4 kB / 316.1 MB, free: 0.9102 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001423/0.1296, allocations: 59.28 kB / 316.1 MB, free: 0.8516 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001694/0.1297, allocations: 147.3 kB / 316.3 MB, free: 0.707 MB / 266.7 MB Notification: Performance of SimCode: time 4.11e-07/0.1297, allocations: 0 / 316.3 MB, free: 0.707 MB / 266.7 MB Notification: Performance of Templates: time 0.009282/0.139, allocations: 7.464 MB / 323.7 MB, free: 9.344 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1 -abortSlowSimulation -alarm=240 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.7552504558116198]