Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.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.001844/0.001844, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.002058/0.002058, allocations: 173.2 kB / 22.76 MB, free: 1.664 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 1.57/1.57, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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.04306/0.04306, allocations: 6.495 MB / 266.1 MB, free: 6.66 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.TestOneFlange2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 337.3 MB, free: 11.14 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.739e-05/2.938e-05, allocations: 2.312 kB / 337.3 MB, free: 11.14 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2): time 0.007161/0.00719, allocations: 5.093 MB / 342.4 MB, free: 6.012 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004279/0.01147, allocations: 2.314 MB / 344.8 MB, free: 3.691 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009465/0.01242, allocations: 15.94 kB / 344.8 MB, free: 3.676 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006279/0.01304, allocations: 198.5 kB / 345 MB, free: 3.48 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000925/0.01397, allocations: 301.9 kB / 345.3 MB, free: 3.184 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007833/0.01475, allocations: 383.2 kB / 345.6 MB, free: 2.809 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008848/0.01564, allocations: 0.9817 MB / 346.6 MB, free: 1.824 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005353/0.01617, allocations: 311.5 kB / 346.9 MB, free: 1.496 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006988/0.01687, allocations: 0.5769 MB / 347.5 MB, free: 0.918 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005098/0.01738, allocations: 347 kB / 347.8 MB, free: 0.5781 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001411/0.01752, allocations: 112 kB / 347.9 MB, free: 480 kB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003833/0.0179, allocations: 215.7 kB / 348.2 MB, free: 264 kB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001774/0.01808, allocations: 215.3 kB / 348.4 MB, free: 48 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004872/0.01857, allocations: 299.4 kB / 348.7 MB, free: 15.75 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002136/0.0207, allocations: 1.227 MB / 349.9 MB, free: 14.52 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.02071, allocations: 0 / 349.9 MB, free: 14.52 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.02071, allocations: 0 / 349.9 MB, free: 14.52 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.281e-05/0.02072, allocations: 0 / 349.9 MB, free: 14.52 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.002976/0.0237, allocations: 1.324 MB / 351.2 MB, free: 13.14 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.451e-05/0.02375, allocations: 12.03 kB / 351.2 MB, free: 13.13 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003736/0.02413, allocations: 160.3 kB / 351.4 MB, free: 12.97 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001092/0.02522, allocations: 486 kB / 351.9 MB, free: 12.47 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001816/0.0254, allocations: 109.3 kB / 352 MB, free: 12.35 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000167/0.02557, allocations: 76.33 kB / 352 MB, free: 12.27 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002159/0.02773, allocations: 0.8906 MB / 352.9 MB, free: 11.32 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.042e-05/0.02776, allocations: 0 / 352.9 MB, free: 11.32 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.162e-05/0.02785, allocations: 28 kB / 353 MB, free: 11.3 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.778e-05/0.02788, allocations: 23.94 kB / 353 MB, free: 11.27 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001988/0.02986, allocations: 0.5394 MB / 353.5 MB, free: 10.72 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006752/0.03662, allocations: 2.823 MB / 356.3 MB, free: 7.789 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001365/0.03798, allocations: 422.6 kB / 356.7 MB, free: 7.352 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006196/0.0386, allocations: 235.3 kB / 357 MB, free: 7.105 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.354e-05/0.03865, allocations: 4.281 kB / 357 MB, free: 7.102 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009659/0.03962, allocations: 408.9 kB / 357.4 MB, free: 6.656 MB / 282.7 MB Notification: Performance of pre-optimization done (n=36): time 2.605e-06/0.03962, allocations: 0 / 357.4 MB, free: 6.656 MB / 282.7 MB Notification: Performance of matching and sorting (n=36): time 0.00243/0.04205, allocations: 0.7721 MB / 358.2 MB, free: 5.836 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001719/0.04223, allocations: 174.1 kB / 358.3 MB, free: 5.629 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001221/0.04345, allocations: 0.647 MB / 359 MB, free: 4.965 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.225e-05/0.04352, allocations: 33.7 kB / 359 MB, free: 4.926 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005845/0.0441, allocations: 463.1 kB / 359.5 MB, free: 4.469 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002141/0.04432, allocations: 135 kB / 359.6 MB, free: 4.336 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003296/0.04465, allocations: 123.8 kB / 359.7 MB, free: 4.207 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0005488/0.04519, allocations: 0.5782 MB / 360.3 MB, free: 3.617 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009682/0.04616, allocations: 270.7 kB / 360.6 MB, free: 3.332 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009513/0.04711, allocations: 0.4884 MB / 361 MB, free: 2.738 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00147/0.04858, allocations: 0.649 MB / 361.7 MB, free: 1.992 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.04859, allocations: 0 / 361.7 MB, free: 1.992 MB / 282.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001821/0.05041, allocations: 0.7622 MB / 362.5 MB, free: 1.184 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001055/0.05052, allocations: 89.11 kB / 362.5 MB, free: 1.078 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.704e-05/0.05053, allocations: 11.92 kB / 362.6 MB, free: 1.066 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00022/0.05075, allocations: 24.12 kB / 362.6 MB, free: 1.039 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004135/0.05117, allocations: 99.83 kB / 362.7 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00168/0.05285, allocations: 1.779 MB / 364.5 MB, free: 15.04 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004422/0.05329, allocations: 63.7 kB / 364.5 MB, free: 14.97 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.843e-05/0.05335, allocations: 24.12 kB / 364.5 MB, free: 14.95 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007754/0.05412, allocations: 448.9 kB / 365 MB, free: 14.49 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006904/0.05481, allocations: 498.5 kB / 365.5 MB, free: 13.9 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001019/0.05583, allocations: 0.6202 MB / 366.1 MB, free: 13.19 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.093e-06/0.05584, allocations: 7.922 kB / 366.1 MB, free: 13.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.001402/0.05724, allocations: 0.7446 MB / 366.8 MB, free: 12.39 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001074/0.05735, allocations: 101.1 kB / 366.9 MB, free: 12.27 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/0.05736, allocations: 4 kB / 366.9 MB, free: 12.27 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001178/0.05747, allocations: 20.12 kB / 367 MB, free: 12.24 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003701/0.05784, allocations: 99.83 kB / 367.1 MB, free: 12.14 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001867/0.05971, allocations: 1.782 MB / 368.8 MB, free: 10.24 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004437/0.06015, allocations: 63.7 kB / 368.9 MB, free: 10.18 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.597e-05/0.0602, allocations: 20.12 kB / 368.9 MB, free: 10.16 MB / 298.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.limTau.state,oneFlange.limitingTorque,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 (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 0.0003758/0.06058, allocations: 363.3 kB / 369.3 MB, free: 9.785 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001351/0.06071, allocations: 67.67 kB / 369.3 MB, free: 9.719 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001281/0.06199, allocations: 0.5798 MB / 369.9 MB, free: 9.102 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.982e-06/0.062, allocations: 4 kB / 369.9 MB, free: 9.098 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.062, allocations: 0 / 369.9 MB, free: 9.098 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.06201, allocations: 0 / 369.9 MB, free: 9.098 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002392/0.0644, allocations: 1.337 MB / 371.3 MB, free: 7.691 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.0644, allocations: 0 / 371.3 MB, free: 7.691 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003177/0.06472, allocations: 59.84 kB / 371.3 MB, free: 7.633 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00012/0.06484, allocations: 27.67 kB / 371.3 MB, free: 7.602 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.681e-05/0.06488, allocations: 8 kB / 371.4 MB, free: 7.594 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001534/0.06641, allocations: 1.79 MB / 373.1 MB, free: 5.68 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.06641, allocations: 0 / 373.1 MB, free: 5.68 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0018/0.06821, allocations: 0.9988 MB / 374.1 MB, free: 4.617 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005189/0.06873, allocations: 99.62 kB / 374.2 MB, free: 4.52 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.379e-05/0.0688, allocations: 11.98 kB / 374.3 MB, free: 4.508 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003598/0.06916, allocations: 31.98 kB / 374.3 MB, free: 4.477 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000132/0.06929, allocations: 35.94 kB / 374.3 MB, free: 4.441 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.776e-05/0.06933, allocations: 15.98 kB / 374.3 MB, free: 4.426 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005778/0.06991, allocations: 406.8 kB / 374.7 MB, free: 4.031 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.06991, allocations: 0 / 374.7 MB, free: 4.031 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001048/0.07096, allocations: 338.8 kB / 375.1 MB, free: 3.699 MB / 298.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.002886/0.07384, allocations: 499.6 kB / 375.5 MB, free: 3.395 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002678/0.07652, allocations: 1.622 MB / 377.2 MB, free: 1.605 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.07653, allocations: 0 / 377.2 MB, free: 1.605 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008204/0.07735, allocations: 0.5553 MB / 377.7 MB, free: 0.9883 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006374/0.07798, allocations: 99.31 kB / 377.8 MB, free: 0.8984 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002551/0.08053, allocations: 1.263 MB / 379.1 MB, free: 15.59 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003865/0.08092, allocations: 317.5 kB / 379.4 MB, free: 15.25 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002813/0.0812, allocations: 55.25 kB / 379.5 MB, free: 15.19 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001278/0.08133, allocations: 40.5 kB / 379.5 MB, free: 15.15 MB / 314.7 MB Notification: Performance of SimCode: time 1.503e-06/0.08133, allocations: 0 / 379.5 MB, free: 15.15 MB / 314.7 MB Notification: Performance of Templates: time 0.01711/0.09844, allocations: 7.857 MB / 387.3 MB, free: 7.383 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.makefile [Timeout 660] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.936936735059135]