Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3.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.0009784/0.0009784, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001315/0.001315, allocations: 173 kB / 23.5 MB, free: 1.051 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.022/1.022, allocations: 177.1 MB / 203.8 MB, free: 5.641 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.0273/0.0273, allocations: 6.479 MB / 266.8 MB, free: 6.703 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.TestOneFlange3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.855e-06/2.855e-06, allocations: 0 / 338.1 MB, free: 11.14 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.959e-05/3.244e-05, allocations: 4.844 kB / 338.1 MB, free: 11.13 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3): time 0.006934/0.006966, allocations: 5.108 MB / 343.2 MB, free: 5.992 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004073/0.01104, allocations: 2.329 MB / 345.5 MB, free: 3.656 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006835/0.01172, allocations: 19.88 kB / 345.5 MB, free: 3.637 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005551/0.01228, allocations: 198.5 kB / 345.7 MB, free: 3.441 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008658/0.01314, allocations: 298 kB / 346 MB, free: 3.148 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007492/0.01389, allocations: 383.2 kB / 346.4 MB, free: 2.773 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000844/0.01474, allocations: 0.9817 MB / 347.4 MB, free: 1.789 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004692/0.01521, allocations: 311.5 kB / 347.7 MB, free: 1.461 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006615/0.01587, allocations: 0.5653 MB / 348.3 MB, free: 0.8945 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004369/0.0163, allocations: 351 kB / 348.6 MB, free: 0.5508 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001191/0.01642, allocations: 108 kB / 348.7 MB, free: 456 kB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003401/0.01676, allocations: 207.8 kB / 348.9 MB, free: 248 kB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001699/0.01693, allocations: 219.2 kB / 349.1 MB, free: 28 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003398/0.01727, allocations: 299.4 kB / 349.4 MB, free: 15.73 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001144/0.01842, allocations: 0.7435 MB / 350.2 MB, free: 14.98 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.01842, allocations: 0 / 350.2 MB, free: 14.98 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.625e-06/0.01842, allocations: 0 / 350.2 MB, free: 14.98 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.879e-06/0.01843, allocations: 4 kB / 350.2 MB, free: 14.98 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: 164 * Number of variables: 164 Notification: Performance of Generate backend data structure: time 0.001925/0.02036, allocations: 1.242 MB / 351.4 MB, free: 13.69 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.02041, allocations: 12.03 kB / 351.4 MB, free: 13.68 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002473/0.02065, allocations: 156.3 kB / 351.6 MB, free: 13.52 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007734/0.02143, allocations: 466.1 kB / 352 MB, free: 13.04 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001469/0.02157, allocations: 109.2 kB / 352.1 MB, free: 12.92 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001152/0.02169, allocations: 76.33 kB / 352.2 MB, free: 12.84 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001166/0.02285, allocations: 0.6804 MB / 352.9 MB, free: 12.1 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.6e-05/0.02288, allocations: 4 kB / 352.9 MB, free: 12.1 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.549e-05/0.02295, allocations: 36 kB / 352.9 MB, free: 12.06 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.011e-05/0.02297, allocations: 16 kB / 352.9 MB, free: 12.05 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006867/0.02365, allocations: 311 kB / 353.2 MB, free: 11.73 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003071/0.02672, allocations: 2.336 MB / 355.6 MB, free: 9.293 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006221/0.02735, allocations: 279.8 kB / 355.8 MB, free: 8.996 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002321/0.02758, allocations: 151.3 kB / 356 MB, free: 8.832 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.78e-05/0.02762, allocations: 12.22 kB / 356 MB, free: 8.82 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004188/0.02803, allocations: 309 kB / 356.3 MB, free: 8.473 MB / 282.7 MB Notification: Performance of pre-optimization done (n=36): time 2.594e-06/0.02804, allocations: 0 / 356.3 MB, free: 8.473 MB / 282.7 MB Notification: Performance of matching and sorting (n=36): time 0.001075/0.02911, allocations: 0.5535 MB / 356.9 MB, free: 7.871 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.285e-05/0.0292, allocations: 170.2 kB / 357 MB, free: 7.668 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005712/0.02977, allocations: 0.4986 MB / 357.5 MB, free: 7.152 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.831e-05/0.0298, allocations: 37.7 kB / 357.6 MB, free: 7.109 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002723/0.03008, allocations: 431.2 kB / 358 MB, free: 6.68 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.763e-05/0.03017, allocations: 123 kB / 358.1 MB, free: 6.559 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001524/0.03033, allocations: 103.8 kB / 358.2 MB, free: 6.449 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001919/0.03052, allocations: 0.5352 MB / 358.7 MB, free: 5.902 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002556/0.03077, allocations: 178.7 kB / 358.9 MB, free: 5.703 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003586/0.03113, allocations: 396 kB / 359.3 MB, free: 5.215 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000555/0.03169, allocations: 484.7 kB / 359.8 MB, free: 4.645 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.03169, allocations: 0 / 359.8 MB, free: 4.645 MB / 282.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0009081/0.0326, allocations: 0.5869 MB / 360.4 MB, free: 4.012 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.865e-05/0.03267, allocations: 97.78 kB / 360.5 MB, free: 3.898 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/0.03268, allocations: 4 kB / 360.5 MB, free: 3.895 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001825/0.03286, allocations: 35.55 kB / 360.5 MB, free: 3.855 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003268/0.03319, allocations: 91.89 kB / 360.6 MB, free: 3.766 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00105/0.03424, allocations: 1.744 MB / 362.3 MB, free: 1.898 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002879/0.03452, allocations: 63.64 kB / 362.4 MB, free: 1.836 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.545e-05/0.03456, allocations: 27.88 kB / 362.4 MB, free: 1.809 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003345/0.03489, allocations: 304.9 kB / 362.7 MB, free: 1.488 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003338/0.03523, allocations: 384.1 kB / 363.1 MB, free: 1.012 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004872/0.03572, allocations: 471.1 kB / 363.6 MB, free: 468 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.285e-06/0.03572, allocations: 0 / 363.6 MB, free: 468 kB / 282.7 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.0007712/0.03649, allocations: 0.5922 MB / 364.1 MB, free: 15.82 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.462e-05/0.03654, allocations: 100.1 kB / 364.2 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.321e-06/0.03655, allocations: 4 kB / 364.2 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.798e-05/0.03664, allocations: 28.11 kB / 364.3 MB, free: 15.67 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002663/0.0369, allocations: 95.83 kB / 364.4 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008753/0.03778, allocations: 1.736 MB / 366.1 MB, free: 13.71 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002901/0.03807, allocations: 63.88 kB / 366.2 MB, free: 13.65 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.566e-05/0.0381, allocations: 20 kB / 366.2 MB, free: 13.63 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.0002239/0.03833, allocations: 359.9 kB / 366.5 MB, free: 13.26 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001072/0.03844, allocations: 75.61 kB / 366.6 MB, free: 13.19 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007067/0.03914, allocations: 438 kB / 367 MB, free: 12.73 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.03915, allocations: 4 kB / 367 MB, free: 12.72 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.03915, allocations: 0 / 367 MB, free: 12.72 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.275e-05/0.03917, allocations: 3.984 kB / 367 MB, free: 12.72 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001421/0.04059, allocations: 1.016 MB / 368.1 MB, free: 11.63 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.04059, allocations: 4 kB / 368.1 MB, free: 11.63 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002631/0.04085, allocations: 63.89 kB / 368.1 MB, free: 11.57 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.744e-05/0.04094, allocations: 15.69 kB / 368.1 MB, free: 11.55 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.388e-05/0.04097, allocations: 15.98 kB / 368.2 MB, free: 11.53 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008851/0.04186, allocations: 1.724 MB / 369.9 MB, free: 9.68 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.04186, allocations: 0 / 369.9 MB, free: 9.68 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009671/0.04283, allocations: 0.7333 MB / 370.6 MB, free: 8.883 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001755/0.043, allocations: 95.48 kB / 370.7 MB, free: 8.789 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.76e-05/0.04307, allocations: 12 kB / 370.7 MB, free: 8.777 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002787/0.04335, allocations: 28.08 kB / 370.7 MB, free: 8.75 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001135/0.04346, allocations: 39.94 kB / 370.8 MB, free: 8.711 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.837e-05/0.04349, allocations: 15.98 kB / 370.8 MB, free: 8.695 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003553/0.04385, allocations: 322.8 kB / 371.1 MB, free: 8.383 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.04385, allocations: 3.938 kB / 371.1 MB, free: 8.379 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0009685/0.04482, allocations: 334.9 kB / 371.4 MB, free: 8.051 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.001374/0.04619, allocations: 467.8 kB / 371.9 MB, free: 7.746 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001603/0.04779, allocations: 1.337 MB / 373.2 MB, free: 6.242 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.0478, allocations: 0 / 373.2 MB, free: 6.242 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004732/0.04827, allocations: 467.8 kB / 373.7 MB, free: 5.727 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000544/0.04881, allocations: 91.81 kB / 373.8 MB, free: 5.641 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00248/0.05129, allocations: 1.184 MB / 375 MB, free: 4.406 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001257/0.05142, allocations: 141.7 kB / 375.1 MB, free: 4.246 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002379/0.05166, allocations: 51.27 kB / 375.2 MB, free: 4.195 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000115/0.05177, allocations: 44.48 kB / 375.2 MB, free: 4.152 MB / 298.7 MB Notification: Performance of SimCode: time 1.302e-06/0.05177, allocations: 4 kB / 375.2 MB, free: 4.148 MB / 298.7 MB Notification: Performance of Templates: time 0.01501/0.06678, allocations: 7.881 MB / 383.1 MB, free: 12.35 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3 -abortSlowSimulation -alarm=240 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.1975099451374263]