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.0008519/0.0008519, allocations: 93.06 kB / 19.65 MB, free: 276 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.0008904/0.0008904, allocations: 165 kB / 23.02 MB, free: 1.547 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.8861/0.8861, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.02542/0.02542, allocations: 6.476 MB / 266.4 MB, free: 6.641 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 1.573e-06/1.573e-06, allocations: 0 / 338.1 MB, free: 10.8 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.197e-05/1.355e-05, allocations: 6.312 kB / 338.1 MB, free: 10.79 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3): time 0.003994/0.004008, allocations: 5.132 MB / 343.2 MB, free: 5.629 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001978/0.005986, allocations: 2.325 MB / 345.5 MB, free: 3.297 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003788/0.006365, allocations: 27.88 kB / 345.6 MB, free: 3.27 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003732/0.006738, allocations: 198.5 kB / 345.7 MB, free: 3.074 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004447/0.007182, allocations: 290 kB / 346 MB, free: 2.789 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003775/0.00756, allocations: 391.2 kB / 346.4 MB, free: 2.406 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004943/0.008054, allocations: 0.9739 MB / 347.4 MB, free: 1.43 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002895/0.008344, allocations: 319.5 kB / 347.7 MB, free: 1.094 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003849/0.008729, allocations: 0.5652 MB / 348.3 MB, free: 0.5273 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002602/0.008989, allocations: 351 kB / 348.6 MB, free: 188 kB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.286e-05/0.009062, allocations: 108 kB / 348.7 MB, free: 80 kB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000204/0.009266, allocations: 207.8 kB / 348.9 MB, free: 15.88 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001319/0.009398, allocations: 223.2 kB / 349.1 MB, free: 15.66 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000191/0.009589, allocations: 295.3 kB / 349.4 MB, free: 15.37 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006489/0.01024, allocations: 0.7474 MB / 350.2 MB, free: 14.62 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.01024, allocations: 0 / 350.2 MB, free: 14.62 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.01024, allocations: 3.938 kB / 350.2 MB, free: 14.61 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.683e-06/0.01025, allocations: 0 / 350.2 MB, free: 14.61 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.001175/0.01142, allocations: 1.242 MB / 351.4 MB, free: 13.32 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.968e-05/0.01145, allocations: 8.031 kB / 351.4 MB, free: 13.31 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001512/0.0116, allocations: 152.3 kB / 351.6 MB, free: 13.16 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005097/0.01211, allocations: 474.1 kB / 352 MB, free: 12.67 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001082/0.01222, allocations: 113.2 kB / 352.1 MB, free: 12.54 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001051/0.01233, allocations: 72.33 kB / 352.2 MB, free: 12.47 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001085/0.01341, allocations: 0.6765 MB / 352.9 MB, free: 11.73 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.688e-05/0.01344, allocations: 11.98 kB / 352.9 MB, free: 11.72 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.822e-05/0.0135, allocations: 28 kB / 352.9 MB, free: 11.7 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.623e-05/0.01351, allocations: 12 kB / 352.9 MB, free: 11.68 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005589/0.01407, allocations: 311 kB / 353.2 MB, free: 11.37 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002038/0.01611, allocations: 2.343 MB / 355.6 MB, free: 8.922 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004073/0.01652, allocations: 279.9 kB / 355.9 MB, free: 8.625 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001416/0.01666, allocations: 143.3 kB / 356 MB, free: 8.469 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.798e-05/0.01669, allocations: 8.219 kB / 356 MB, free: 8.461 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000263/0.01695, allocations: 313 kB / 356.3 MB, free: 8.109 MB / 282.7 MB Notification: Performance of pre-optimization done (n=36): time 1.322e-06/0.01695, allocations: 4 kB / 356.3 MB, free: 8.105 MB / 282.7 MB Notification: Performance of matching and sorting (n=36): time 0.0006657/0.01762, allocations: 0.5613 MB / 356.9 MB, free: 7.496 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.518e-05/0.01767, allocations: 162.2 kB / 357 MB, free: 7.301 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003769/0.01805, allocations: 0.5025 MB / 357.5 MB, free: 6.781 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.66e-05/0.01808, allocations: 33.7 kB / 357.6 MB, free: 6.742 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000184/0.01826, allocations: 423.2 kB / 358 MB, free: 6.32 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.89e-05/0.01833, allocations: 135 kB / 358.1 MB, free: 6.188 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001021/0.01843, allocations: 99.8 kB / 358.2 MB, free: 6.082 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.01857, allocations: 0.5352 MB / 358.8 MB, free: 5.535 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001645/0.01873, allocations: 178.7 kB / 358.9 MB, free: 5.336 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002405/0.01897, allocations: 396 kB / 359.3 MB, free: 4.848 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003568/0.01933, allocations: 476.7 kB / 359.8 MB, free: 4.285 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.01933, allocations: 0 / 359.8 MB, free: 4.285 MB / 282.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0005558/0.01989, allocations: 0.5944 MB / 360.4 MB, free: 3.645 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.16e-05/0.01993, allocations: 93.09 kB / 360.5 MB, free: 3.535 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.01994, allocations: 4 kB / 360.5 MB, free: 3.531 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001151/0.02005, allocations: 35.56 kB / 360.5 MB, free: 3.492 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002024/0.02025, allocations: 91.88 kB / 360.6 MB, free: 3.402 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006781/0.02093, allocations: 1.74 MB / 362.3 MB, free: 1.539 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001843/0.02112, allocations: 63.66 kB / 362.4 MB, free: 1.477 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.769e-05/0.02114, allocations: 27.92 kB / 362.4 MB, free: 1.449 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002339/0.02138, allocations: 296.9 kB / 362.7 MB, free: 1.137 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002249/0.0216, allocations: 384.2 kB / 363.1 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003377/0.02194, allocations: 495 kB / 363.6 MB, free: 84 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.553e-06/0.02194, allocations: 0 / 363.6 MB, free: 84 kB / 282.7 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.0005319/0.02247, allocations: 0.5926 MB / 364.2 MB, free: 15.44 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.418e-05/0.02251, allocations: 97.09 kB / 364.3 MB, free: 15.33 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.02251, allocations: 4 kB / 364.3 MB, free: 15.32 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.311e-05/0.02256, allocations: 23.67 kB / 364.3 MB, free: 15.3 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001807/0.02274, allocations: 95.83 kB / 364.4 MB, free: 15.2 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006051/0.02335, allocations: 1.736 MB / 366.1 MB, free: 13.34 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001757/0.02353, allocations: 55.77 kB / 366.2 MB, free: 13.29 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.242e-05/0.02355, allocations: 20 kB / 366.2 MB, free: 13.27 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.0001428/0.02369, allocations: 363.8 kB / 366.5 MB, free: 12.89 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.407e-05/0.02375, allocations: 75.62 kB / 366.6 MB, free: 12.82 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004472/0.0242, allocations: 442 kB / 367.1 MB, free: 12.36 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.0242, allocations: 4 kB / 367.1 MB, free: 12.35 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.774e-06/0.02421, allocations: 0 / 367.1 MB, free: 12.35 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.02421, allocations: 0 / 367.1 MB, free: 12.35 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008935/0.0251, allocations: 1.016 MB / 368.1 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.02511, allocations: 0 / 368.1 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001589/0.02526, allocations: 59.91 kB / 368.1 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.111e-05/0.02532, allocations: 19.67 kB / 368.1 MB, free: 11.18 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.086e-05/0.02534, allocations: 12 kB / 368.2 MB, free: 11.17 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005924/0.02593, allocations: 1.736 MB / 369.9 MB, free: 9.309 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.02593, allocations: 0 / 369.9 MB, free: 9.309 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006079/0.02654, allocations: 0.7333 MB / 370.6 MB, free: 8.512 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000109/0.02665, allocations: 91.5 kB / 370.7 MB, free: 8.422 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.594e-05/0.02668, allocations: 16.12 kB / 370.7 MB, free: 8.406 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001623/0.02684, allocations: 31.97 kB / 370.8 MB, free: 8.375 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.59e-05/0.02692, allocations: 31.94 kB / 370.8 MB, free: 8.344 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.964e-05/0.02694, allocations: 16 kB / 370.8 MB, free: 8.328 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002277/0.02717, allocations: 330.8 kB / 371.1 MB, free: 8.008 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02717, allocations: 0 / 371.1 MB, free: 8.008 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005024/0.02767, allocations: 330.8 kB / 371.5 MB, free: 7.684 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.0008069/0.02848, allocations: 470.1 kB / 371.9 MB, free: 7.379 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0009382/0.02942, allocations: 1.333 MB / 373.3 MB, free: 5.879 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.02942, allocations: 0 / 373.3 MB, free: 5.879 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002763/0.02969, allocations: 467.6 kB / 373.7 MB, free: 5.363 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003238/0.03002, allocations: 91.81 kB / 373.8 MB, free: 5.277 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001428/0.03145, allocations: 1.184 MB / 375 MB, free: 4.043 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.487e-05/0.03153, allocations: 141.7 kB / 375.1 MB, free: 3.883 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001457/0.03168, allocations: 67.22 kB / 375.2 MB, free: 3.816 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.651e-05/0.03176, allocations: 40.48 kB / 375.2 MB, free: 3.777 MB / 298.7 MB Notification: Performance of SimCode: time 4.8e-07/0.03176, allocations: 0 / 375.2 MB, free: 3.777 MB / 298.7 MB Notification: Performance of Templates: time 0.009293/0.04106, allocations: 7.869 MB / 383.1 MB, free: 11.99 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: 2.8555016932077706]