Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_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.00187/0.00187, allocations: 89.48 kB / 19.44 MB, free: 336 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.002135/0.002135, allocations: 169.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.652/1.652, allocations: 177.1 MB / 203.1 MB, free: 5.613 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.0465/0.0465, allocations: 6.496 MB / 266.1 MB, free: 6.656 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.TestOneFlange3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.876e-06/2.876e-06, allocations: 0 / 337.3 MB, free: 11.16 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.121e-05/3.409e-05, allocations: 6.312 kB / 337.4 MB, free: 11.15 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3): time 0.005835/0.005869, allocations: 5.093 MB / 342.4 MB, free: 6.023 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003529/0.009399, allocations: 2.302 MB / 344.7 MB, free: 3.715 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006108/0.01001, allocations: 23.81 kB / 344.8 MB, free: 3.691 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000486/0.0105, allocations: 198.6 kB / 345 MB, free: 3.496 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007607/0.01126, allocations: 309.9 kB / 345.3 MB, free: 3.191 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006306/0.01189, allocations: 371.3 kB / 345.6 MB, free: 2.828 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006314/0.01252, allocations: 0.9817 MB / 346.6 MB, free: 1.844 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004088/0.01293, allocations: 323.5 kB / 346.9 MB, free: 1.504 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005338/0.01346, allocations: 0.5652 MB / 347.5 MB, free: 0.9375 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003921/0.01385, allocations: 351 kB / 347.8 MB, free: 0.5938 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000111/0.01396, allocations: 112 kB / 347.9 MB, free: 496 kB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002684/0.01423, allocations: 211.8 kB / 348.2 MB, free: 284 kB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001452/0.01438, allocations: 215.3 kB / 348.4 MB, free: 68 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004091/0.01479, allocations: 295.3 kB / 348.7 MB, free: 15.77 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001911/0.0167, allocations: 1.231 MB / 349.9 MB, free: 14.54 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/0.0167, allocations: 0 / 349.9 MB, free: 14.54 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.01671, allocations: 0 / 349.9 MB, free: 14.54 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.408e-05/0.01672, allocations: 0 / 349.9 MB, free: 14.54 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.002643/0.01936, allocations: 1.343 MB / 351.2 MB, free: 13.14 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/0.01941, allocations: 8.031 kB / 351.2 MB, free: 13.14 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002936/0.01971, allocations: 152.3 kB / 351.4 MB, free: 12.99 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008738/0.02058, allocations: 482 kB / 351.9 MB, free: 12.49 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001834/0.02076, allocations: 105.3 kB / 352 MB, free: 12.37 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001318/0.02089, allocations: 76.31 kB / 352 MB, free: 12.3 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001583/0.02248, allocations: 0.8906 MB / 352.9 MB, free: 11.35 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.366e-05/0.0225, allocations: 0 / 352.9 MB, free: 11.35 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.697e-05/0.02258, allocations: 31.98 kB / 353 MB, free: 11.32 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.004e-05/0.0226, allocations: 16 kB / 353 MB, free: 11.3 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001244/0.02384, allocations: 0.5472 MB / 353.5 MB, free: 10.74 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004633/0.02848, allocations: 2.815 MB / 356.3 MB, free: 7.812 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001022/0.0295, allocations: 433.4 kB / 356.8 MB, free: 7.367 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004542/0.02995, allocations: 231.2 kB / 357 MB, free: 7.125 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.249e-05/0.03001, allocations: 12.28 kB / 357 MB, free: 7.113 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007298/0.03074, allocations: 408.9 kB / 357.4 MB, free: 6.668 MB / 282.7 MB Notification: Performance of pre-optimization done (n=36): time 1.853e-06/0.03074, allocations: 0 / 357.4 MB, free: 6.668 MB / 282.7 MB Notification: Performance of matching and sorting (n=36): time 0.001821/0.03256, allocations: 0.7682 MB / 358.2 MB, free: 5.852 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001646/0.03272, allocations: 174.1 kB / 358.3 MB, free: 5.645 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009133/0.03364, allocations: 0.6392 MB / 359 MB, free: 4.988 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.067e-05/0.03369, allocations: 41.64 kB / 359 MB, free: 4.941 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004377/0.03412, allocations: 467.1 kB / 359.5 MB, free: 4.48 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001475/0.03427, allocations: 138.9 kB / 359.6 MB, free: 4.344 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002202/0.03449, allocations: 127.8 kB / 359.7 MB, free: 4.211 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0003865/0.03488, allocations: 0.5743 MB / 360.3 MB, free: 3.625 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004911/0.03537, allocations: 266.7 kB / 360.6 MB, free: 3.344 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007073/0.03608, allocations: 492.1 kB / 361 MB, free: 2.758 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00107/0.03715, allocations: 0.6452 MB / 361.7 MB, free: 2.016 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.03715, allocations: 0 / 361.7 MB, free: 2.016 MB / 282.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001456/0.03861, allocations: 0.7661 MB / 362.5 MB, free: 1.203 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.864e-05/0.0387, allocations: 93.53 kB / 362.5 MB, free: 1.094 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/0.03872, allocations: 15.92 kB / 362.6 MB, free: 1.078 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002076/0.03892, allocations: 31.67 kB / 362.6 MB, free: 1.043 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003975/0.03932, allocations: 95.83 kB / 362.7 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001656/0.04098, allocations: 1.779 MB / 364.5 MB, free: 15.04 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004068/0.04138, allocations: 63.84 kB / 364.5 MB, free: 14.98 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.88e-05/0.04143, allocations: 23.98 kB / 364.5 MB, free: 14.96 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007214/0.04215, allocations: 444.9 kB / 365 MB, free: 14.5 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006875/0.04284, allocations: 500 kB / 365.5 MB, free: 13.91 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009971/0.04384, allocations: 0.6124 MB / 366.1 MB, free: 13.2 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.969e-06/0.04384, allocations: 3.938 kB / 366.1 MB, free: 13.2 MB / 298.7 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.001367/0.04521, allocations: 0.7485 MB / 366.8 MB, free: 12.4 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.396e-05/0.04529, allocations: 93.53 kB / 366.9 MB, free: 12.29 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.0453, allocations: 4 kB / 366.9 MB, free: 12.29 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001195/0.04542, allocations: 31.67 kB / 367 MB, free: 12.25 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000359/0.04578, allocations: 91.89 kB / 367.1 MB, free: 12.16 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001522/0.0473, allocations: 1.79 MB / 368.8 MB, free: 10.25 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004007/0.0477, allocations: 63.84 kB / 368.9 MB, free: 10.19 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.978e-05/0.04775, allocations: 23.98 kB / 368.9 MB, free: 10.17 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.0003323/0.04809, allocations: 355.4 kB / 369.3 MB, free: 9.801 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001323/0.04822, allocations: 67.67 kB / 369.3 MB, free: 9.734 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001293/0.04951, allocations: 0.5837 MB / 369.9 MB, free: 9.113 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/0.04952, allocations: 8 kB / 369.9 MB, free: 9.105 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-06/0.04952, allocations: 0 / 369.9 MB, free: 9.105 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.04953, allocations: 3.984 kB / 369.9 MB, free: 9.102 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002305/0.05184, allocations: 1.325 MB / 371.3 MB, free: 7.707 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.05184, allocations: 0 / 371.3 MB, free: 7.707 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000315/0.05215, allocations: 71.89 kB / 371.3 MB, free: 7.637 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.769e-05/0.05225, allocations: 23.69 kB / 371.4 MB, free: 7.609 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.611e-05/0.0523, allocations: 11.98 kB / 371.4 MB, free: 7.598 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001477/0.05377, allocations: 1.775 MB / 373.1 MB, free: 5.699 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.05377, allocations: 0 / 373.1 MB, free: 5.699 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00185/0.05562, allocations: 1.007 MB / 374.1 MB, free: 4.629 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002039/0.05583, allocations: 95.5 kB / 374.2 MB, free: 4.535 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.427e-05/0.05589, allocations: 8 kB / 374.2 MB, free: 4.527 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003226/0.05622, allocations: 31.97 kB / 374.3 MB, free: 4.496 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001349/0.05635, allocations: 39.94 kB / 374.3 MB, free: 4.457 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.393e-05/0.05638, allocations: 12 kB / 374.3 MB, free: 4.445 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000543/0.05693, allocations: 406.8 kB / 374.7 MB, free: 4.051 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.05693, allocations: 4 kB / 374.7 MB, free: 4.047 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0009997/0.05793, allocations: 338.8 kB / 375.1 MB, free: 3.715 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.002955/0.06088, allocations: 0.4909 MB / 375.6 MB, free: 3.41 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002563/0.06345, allocations: 1.618 MB / 377.2 MB, free: 1.625 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.06345, allocations: 320 / 377.2 MB, free: 1.625 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008206/0.06427, allocations: 0.5542 MB / 377.7 MB, free: 1.008 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006123/0.06488, allocations: 96.31 kB / 377.8 MB, free: 0.918 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002459/0.06734, allocations: 1.267 MB / 379.1 MB, free: 15.6 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003735/0.06771, allocations: 313.6 kB / 379.4 MB, free: 15.27 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002508/0.06797, allocations: 55.23 kB / 379.4 MB, free: 15.21 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001268/0.06809, allocations: 44.48 kB / 379.5 MB, free: 15.17 MB / 314.7 MB Notification: Performance of SimCode: time 7.12e-07/0.06809, allocations: 4 kB / 379.5 MB, free: 15.16 MB / 314.7 MB Notification: Performance of Templates: time 0.01687/0.08496, allocations: 7.859 MB / 387.4 MB, free: 7.398 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3.makefile [Timeout 660] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3 -abortSlowSimulation -alarm=240 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.963661242974922]