Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn.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.0007824/0.0007824, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001263/0.001263, allocations: 177 kB / 23.36 MB, free: 1.129 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.9139/0.9139, allocations: 177.1 MB / 203.8 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo): time 0.02569/0.02569, allocations: 6.498 MB / 266.8 MB, free: 6.508 MB / 250.7 MB " [Timeout remaining time 180] Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/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.TestOneFlange1Conn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 285.3 MB, free: 3.996 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.259e-05/1.391e-05, allocations: 6.25 kB / 285.3 MB, free: 3.988 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn): time 0.1066/0.1066, allocations: 5.069 MB / 290.3 MB, free: 18.66 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002332/0.109, allocations: 1.668 MB / 292 MB, free: 18.4 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003195/0.1093, allocations: 21.81 kB / 292 MB, free: 18.39 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003585/0.1096, allocations: 201.9 kB / 292.2 MB, free: 18.32 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005228/0.1102, allocations: 295.4 kB / 292.5 MB, free: 18.21 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005336/0.1107, allocations: 377.8 kB / 292.9 MB, free: 18.19 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007352/0.1114, allocations: 0.9892 MB / 293.9 MB, free: 17.88 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00038/0.1118, allocations: 362.2 kB / 294.2 MB, free: 17.64 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005738/0.1124, allocations: 0.5794 MB / 294.8 MB, free: 17.35 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003584/0.1127, allocations: 341.5 kB / 295.1 MB, free: 17.23 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.928e-05/0.1128, allocations: 106 kB / 295.2 MB, free: 17.23 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001597/0.113, allocations: 157.1 kB / 295.4 MB, free: 17.21 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000126/0.1131, allocations: 222.2 kB / 295.6 MB, free: 17.06 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001965/0.1133, allocations: 292.4 kB / 295.9 MB, free: 16.91 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005872/0.1139, allocations: 0.687 MB / 296.6 MB, free: 16.52 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.813e-06/0.1139, allocations: 9.219 kB / 296.6 MB, free: 16.51 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.1139, allocations: 0 / 296.6 MB, free: 16.51 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.226e-06/0.1139, allocations: 0 / 296.6 MB, free: 16.51 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: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.001005/0.1149, allocations: 1.125 MB / 297.7 MB, free: 15.72 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.601e-05/0.115, allocations: 10.69 kB / 297.7 MB, free: 15.72 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001313/0.1151, allocations: 117.7 kB / 297.8 MB, free: 15.7 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00034/0.1154, allocations: 346.2 kB / 298.2 MB, free: 15.45 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.395e-05/0.1155, allocations: 112.4 kB / 298.3 MB, free: 15.36 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.311e-05/0.1156, allocations: 78.47 kB / 298.4 MB, free: 15.33 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005347/0.1161, allocations: 0.637 MB / 299 MB, free: 15 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.777e-05/0.1161, allocations: 3.047 kB / 299 MB, free: 15 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.264e-05/0.1161, allocations: 32.47 kB / 299 MB, free: 14.97 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.095e-05/0.1162, allocations: 17.97 kB / 299.1 MB, free: 14.97 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002557/0.1164, allocations: 237.5 kB / 299.3 MB, free: 14.89 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001639/0.1181, allocations: 1.744 MB / 301 MB, free: 13.75 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002945/0.1183, allocations: 250.6 kB / 301.3 MB, free: 13.63 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.926e-05/0.1184, allocations: 122.5 kB / 301.4 MB, free: 13.55 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.572e-05/0.1185, allocations: 10.41 kB / 301.4 MB, free: 13.55 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001654/0.1186, allocations: 290.8 kB / 301.7 MB, free: 13.33 MB / 266.7 MB Notification: Performance of pre-optimization done (n=36): time 1.133e-06/0.1186, allocations: 1.312 kB / 301.7 MB, free: 13.33 MB / 266.7 MB Notification: Performance of matching and sorting (n=36): time 0.0003874/0.119, allocations: 445.6 kB / 302.1 MB, free: 13.07 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.001e-05/0.119, allocations: 145.2 kB / 302.3 MB, free: 12.91 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002409/0.1193, allocations: 434.7 kB / 302.7 MB, free: 12.69 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.306e-05/0.1193, allocations: 33.83 kB / 302.7 MB, free: 12.65 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/0.1194, allocations: 342.3 kB / 303.1 MB, free: 12.4 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.337e-05/0.1195, allocations: 127.4 kB / 303.2 MB, free: 12.3 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.731e-05/0.1196, allocations: 98.25 kB / 303.3 MB, free: 12.25 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.663e-05/0.1196, allocations: 362.1 kB / 303.6 MB, free: 11.91 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.136e-05/0.1197, allocations: 149.5 kB / 303.8 MB, free: 11.8 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001201/0.1198, allocations: 292.4 kB / 304.1 MB, free: 11.52 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002178/0.12, allocations: 408.8 kB / 304.5 MB, free: 11.21 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.12, allocations: 1.406 kB / 304.5 MB, free: 11.21 MB / 266.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0003258/0.1204, allocations: 477.9 kB / 304.9 MB, free: 10.9 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.816e-05/0.1204, allocations: 94.72 kB / 305 MB, free: 10.8 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.401e-06/0.1204, allocations: 2.75 kB / 305 MB, free: 10.8 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.263e-05/0.1205, allocations: 26.59 kB / 305.1 MB, free: 10.78 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000186/0.1207, allocations: 91.33 kB / 305.1 MB, free: 10.76 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003365/0.121, allocations: 1.166 MB / 306.3 MB, free: 9.57 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000167/0.1212, allocations: 63.3 kB / 306.4 MB, free: 9.535 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.182e-05/0.1212, allocations: 16.88 kB / 306.4 MB, free: 9.531 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001447/0.1213, allocations: 226 kB / 306.6 MB, free: 9.336 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001163/0.1215, allocations: 292 kB / 306.9 MB, free: 9.047 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002022/0.1217, allocations: 411.4 kB / 307.3 MB, free: 8.684 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.585e-06/0.1217, allocations: 5.188 kB / 307.3 MB, free: 8.68 MB / 266.7 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.0003018/0.122, allocations: 465.8 kB / 307.8 MB, free: 8.355 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/0.122, allocations: 95.97 kB / 307.8 MB, free: 8.254 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.122, allocations: 8.594 kB / 307.9 MB, free: 8.25 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.504e-05/0.122, allocations: 21.14 kB / 307.9 MB, free: 8.238 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001677/0.1222, allocations: 90.23 kB / 308 MB, free: 8.219 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002977/0.1225, allocations: 1.17 MB / 309.1 MB, free: 7.035 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001581/0.1227, allocations: 62.56 kB / 309.2 MB, free: 7 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.901e-05/0.1227, allocations: 16.25 kB / 309.2 MB, free: 6.996 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,tauRef.count,$PRE.tauRef.count,tauRef.T_start,$PRE.tauRef.T_start,oneFlange.limTau.state,oneFlange.limitingTorque,$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 8.926e-05/0.1228, allocations: 274.6 kB / 309.5 MB, free: 6.723 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.979e-05/0.1228, allocations: 47.67 kB / 309.5 MB, free: 6.707 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002567/0.1231, allocations: 360.8 kB / 309.9 MB, free: 6.438 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.1231, allocations: 8 kB / 309.9 MB, free: 6.434 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.1231, allocations: 0 / 309.9 MB, free: 6.434 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.1231, allocations: 0 / 309.9 MB, free: 6.434 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005117/0.1236, allocations: 0.687 MB / 310.6 MB, free: 5.926 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1236, allocations: 0 / 310.6 MB, free: 5.926 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001396/0.1237, allocations: 68.2 kB / 310.6 MB, free: 5.902 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.915e-05/0.1238, allocations: 12.3 kB / 310.7 MB, free: 5.895 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.725e-05/0.1238, allocations: 14.39 kB / 310.7 MB, free: 5.887 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000255/0.124, allocations: 1.157 MB / 311.8 MB, free: 4.699 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.124, allocations: 0 / 311.8 MB, free: 4.699 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003202/0.1244, allocations: 0.5606 MB / 312.4 MB, free: 4.258 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.605e-05/0.1244, allocations: 58.59 kB / 312.4 MB, free: 4.219 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.297e-05/0.1245, allocations: 13.47 kB / 312.5 MB, free: 4.211 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001349/0.1246, allocations: 33.69 kB / 312.5 MB, free: 4.195 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.503e-05/0.1247, allocations: 38.25 kB / 312.5 MB, free: 4.168 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.37e-05/0.1247, allocations: 9.719 kB / 312.5 MB, free: 4.164 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001125/0.1248, allocations: 192.9 kB / 312.7 MB, free: 4.055 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1248, allocations: 0 / 312.7 MB, free: 4.055 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003524/0.1251, allocations: 318.9 kB / 313 MB, free: 3.742 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,oneFlange.limitingTorque,oneFlange.limTau.state,tauRef.T_start,tauRef.count) * 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.000812/0.126, allocations: 440.5 kB / 313.5 MB, free: 3.574 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005378/0.1265, allocations: 1.137 MB / 314.6 MB, free: 2.285 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.1265, allocations: 4 kB / 314.6 MB, free: 2.281 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001466/0.1266, allocations: 387 kB / 315 MB, free: 1.852 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000244/0.1269, allocations: 108.1 kB / 315.1 MB, free: 1.758 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001123/0.128, allocations: 1.173 MB / 316.3 MB, free: 0.5352 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.546e-05/0.1281, allocations: 145.7 kB / 316.4 MB, free: 376 kB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001367/0.1282, allocations: 55.25 kB / 316.5 MB, free: 320 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001627/0.1284, allocations: 151.3 kB / 316.6 MB, free: 168 kB / 266.7 MB Notification: Performance of SimCode: time 3.41e-07/0.1284, allocations: 4 kB / 316.6 MB, free: 164 kB / 266.7 MB Notification: Performance of Templates: time 0.01021/0.1386, allocations: 7.481 MB / 324.1 MB, free: 8.773 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn.makefile [Timeout 660] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn -abortSlowSimulation -alarm=240 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.6887206002138555]