Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4.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.000843/0.000843, allocations: 80.81 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.0008837/0.0008837, allocations: 177 kB / 23.36 MB, free: 1.125 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.8687/0.8687, allocations: 177.1 MB / 203.8 MB, free: 5.445 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.02496/0.02496, allocations: 6.491 MB / 266.7 MB, free: 6.484 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.TestOneFlange4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.132e-06/1.132e-06, allocations: 0 / 285.3 MB, free: 3.965 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.053e-05/1.166e-05, allocations: 2.312 kB / 285.3 MB, free: 3.961 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4): time 0.1062/0.1062, allocations: 5.026 MB / 290.3 MB, free: 19.23 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003108/0.1093, allocations: 2.393 MB / 292.7 MB, free: 18.67 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003287/0.1096, allocations: 16.84 kB / 292.7 MB, free: 18.66 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004365/0.11, allocations: 228 kB / 292.9 MB, free: 18.55 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006094/0.1106, allocations: 333.5 kB / 293.2 MB, free: 18.35 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007391/0.1114, allocations: 0.5041 MB / 293.8 MB, free: 18.04 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008171/0.1122, allocations: 1.07 MB / 294.8 MB, free: 17.46 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003608/0.1126, allocations: 342.5 kB / 295.2 MB, free: 17.24 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006281/0.1132, allocations: 0.6073 MB / 295.8 MB, free: 16.93 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004297/0.1136, allocations: 362.2 kB / 296.1 MB, free: 16.8 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001252/0.1137, allocations: 116.6 kB / 296.2 MB, free: 16.8 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003019/0.114, allocations: 252.5 kB / 296.5 MB, free: 16.75 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001874/0.1142, allocations: 281.1 kB / 296.8 MB, free: 16.57 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002253/0.1145, allocations: 323.6 kB / 297.1 MB, free: 16.39 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007315/0.1152, allocations: 0.8552 MB / 297.9 MB, free: 15.93 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.1152, allocations: 0 / 297.9 MB, free: 15.93 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.1152, allocations: 1.344 kB / 297.9 MB, free: 15.93 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.526e-06/0.1152, allocations: 0 / 297.9 MB, free: 15.93 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.001143/0.1163, allocations: 1.254 MB / 299.2 MB, free: 15.04 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.935e-05/0.1164, allocations: 13.42 kB / 299.2 MB, free: 15.04 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001367/0.1165, allocations: 123.4 kB / 299.3 MB, free: 15.02 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004434/0.117, allocations: 420.1 kB / 299.7 MB, free: 14.72 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.737e-05/0.117, allocations: 110.2 kB / 299.8 MB, free: 14.64 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.291e-05/0.1171, allocations: 72.09 kB / 299.9 MB, free: 14.62 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005921/0.1177, allocations: 0.691 MB / 300.6 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.969e-05/0.1177, allocations: 6.719 kB / 300.6 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.403e-05/0.1177, allocations: 27.81 kB / 300.6 MB, free: 14.18 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.813e-05/0.1178, allocations: 16.16 kB / 300.6 MB, free: 14.18 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002663/0.118, allocations: 231.3 kB / 300.9 MB, free: 14.1 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001566/0.1196, allocations: 1.773 MB / 302.6 MB, free: 12.94 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003021/0.1199, allocations: 238.1 kB / 302.9 MB, free: 12.82 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.54e-05/0.12, allocations: 120.2 kB / 303 MB, free: 12.74 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.907e-05/0.12, allocations: 7.156 kB / 303 MB, free: 12.74 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001836/0.1202, allocations: 292.1 kB / 303.3 MB, free: 12.53 MB / 266.7 MB Notification: Performance of pre-optimization done (n=36): time 1.172e-06/0.1202, allocations: 3.844 kB / 303.3 MB, free: 12.53 MB / 266.7 MB Notification: Performance of matching and sorting (n=36): time 0.0004226/0.1206, allocations: 446 kB / 303.7 MB, free: 12.26 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.141e-05/0.1206, allocations: 194.9 kB / 303.9 MB, free: 12.04 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003613/0.121, allocations: 0.5636 MB / 304.5 MB, free: 11.69 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.149e-05/0.121, allocations: 33.83 kB / 304.5 MB, free: 11.66 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.1211, allocations: 349.8 kB / 304.8 MB, free: 11.36 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.771e-05/0.1212, allocations: 123.4 kB / 305 MB, free: 11.25 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.114e-05/0.1213, allocations: 115.6 kB / 305.1 MB, free: 11.18 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.504e-05/0.1213, allocations: 382.2 kB / 305.5 MB, free: 10.81 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.276e-05/0.1214, allocations: 155.4 kB / 305.6 MB, free: 10.69 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001342/0.1216, allocations: 359.8 kB / 306 MB, free: 10.32 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002236/0.1218, allocations: 415.7 kB / 306.4 MB, free: 9.957 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.1218, allocations: 5.203 kB / 306.4 MB, free: 9.953 MB / 266.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0003524/0.1221, allocations: 494.5 kB / 306.9 MB, free: 9.621 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.149e-05/0.1222, allocations: 94.12 kB / 306.9 MB, free: 9.52 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.1222, allocations: 6.594 kB / 307 MB, free: 9.516 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.084e-05/0.1223, allocations: 18.77 kB / 307 MB, free: 9.508 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001958/0.1225, allocations: 110.2 kB / 307.1 MB, free: 9.477 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003543/0.1228, allocations: 1.164 MB / 308.2 MB, free: 8.293 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001776/0.123, allocations: 67.59 kB / 308.3 MB, free: 8.254 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.214e-05/0.123, allocations: 22.05 kB / 308.3 MB, free: 8.246 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001533/0.1232, allocations: 234 kB / 308.6 MB, free: 8.047 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000125/0.1233, allocations: 368.8 kB / 308.9 MB, free: 7.668 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001994/0.1235, allocations: 414.3 kB / 309.3 MB, free: 7.309 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.863e-06/0.1235, allocations: 0 / 309.3 MB, free: 7.309 MB / 266.7 MB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.0002905/0.1238, allocations: 0.4922 MB / 309.8 MB, free: 6.965 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.1238, allocations: 92.97 kB / 309.9 MB, free: 6.863 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.1238, allocations: 4.469 kB / 309.9 MB, free: 6.863 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.613e-05/0.1239, allocations: 30.31 kB / 309.9 MB, free: 6.848 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000157/0.124, allocations: 105.3 kB / 310 MB, free: 6.82 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000262/0.1243, allocations: 1.16 MB / 311.2 MB, free: 5.641 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001593/0.1244, allocations: 66.48 kB / 311.3 MB, free: 5.602 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.764e-05/0.1245, allocations: 16.84 kB / 311.3 MB, free: 5.598 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 (62): * Single equations (assignments): 58 * 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.427e-05/0.1245, allocations: 284.8 kB / 311.6 MB, free: 5.316 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.047e-05/0.1246, allocations: 52.86 kB / 311.6 MB, free: 5.301 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000263/0.1249, allocations: 354.3 kB / 312 MB, free: 5.035 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.1249, allocations: 2.625 kB / 312 MB, free: 5.035 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.1249, allocations: 5.688 kB / 312 MB, free: 5.031 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.1249, allocations: 3.984 kB / 312 MB, free: 5.027 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005552/0.1254, allocations: 0.7458 MB / 312.7 MB, free: 4.305 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1254, allocations: 1 kB / 312.7 MB, free: 4.305 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001287/0.1255, allocations: 59.91 kB / 312.8 MB, free: 4.246 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.167e-05/0.1256, allocations: 20.78 kB / 312.8 MB, free: 4.223 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.569e-05/0.1256, allocations: 8 kB / 312.8 MB, free: 4.215 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002654/0.1259, allocations: 1.16 MB / 314 MB, free: 2.973 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1259, allocations: 0 / 314 MB, free: 2.973 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003067/0.1262, allocations: 0.5664 MB / 314.5 MB, free: 2.348 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.043e-05/0.1263, allocations: 71.5 kB / 314.6 MB, free: 2.277 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.788e-05/0.1263, allocations: 8 kB / 314.6 MB, free: 2.27 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001388/0.1264, allocations: 40.06 kB / 314.6 MB, free: 2.23 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.473e-05/0.1265, allocations: 35.94 kB / 314.7 MB, free: 2.195 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.336e-05/0.1265, allocations: 8 kB / 314.7 MB, free: 2.188 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001731/0.1267, allocations: 279.4 kB / 315 MB, free: 1.914 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1267, allocations: 0 / 315 MB, free: 1.914 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004286/0.1271, allocations: 366.8 kB / 315.3 MB, free: 1.555 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.00164/0.1288, allocations: 0.9281 MB / 316.2 MB, free: 1.137 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005756/0.1293, allocations: 1.164 MB / 317.4 MB, free: 15.82 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.565e-06/0.1293, allocations: 4 kB / 317.4 MB, free: 15.82 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001971/0.1295, allocations: 394 kB / 317.8 MB, free: 15.38 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00031/0.1298, allocations: 117.1 kB / 317.9 MB, free: 15.27 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001461/0.1313, allocations: 1.329 MB / 319.2 MB, free: 13.89 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.553e-05/0.1314, allocations: 166 kB / 319.4 MB, free: 13.71 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001685/0.1316, allocations: 68.39 kB / 319.5 MB, free: 13.64 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002317/0.1318, allocations: 171.3 kB / 319.6 MB, free: 13.47 MB / 282.7 MB Notification: Performance of SimCode: time 6.31e-07/0.1318, allocations: 0 / 319.6 MB, free: 13.47 MB / 282.7 MB Notification: Performance of Templates: time 0.01181/0.1436, allocations: 10.11 MB / 329.8 MB, free: 3.48 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4 -abortSlowSimulation -alarm=240 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.7208420978859067]