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.001431/0.001431, allocations: 84.73 kB / 19.44 MB, free: 356 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.001618/0.001618, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.537/1.537, 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 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.04589/0.04589, allocations: 6.473 MB / 266 MB, free: 6.672 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.315e-06/2.315e-06, allocations: 0 / 337.3 MB, free: 11.16 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.838e-05/3.07e-05, allocations: 2.312 kB / 337.3 MB, free: 11.16 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3): time 0.00547/0.005501, allocations: 4.792 MB / 342.1 MB, free: 6.336 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003327/0.008828, allocations: 2.298 MB / 344.4 MB, free: 4.031 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006418/0.009469, allocations: 15.94 kB / 344.4 MB, free: 4.016 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005528/0.01002, allocations: 202.5 kB / 344.6 MB, free: 3.816 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008816/0.0109, allocations: 297.9 kB / 344.9 MB, free: 3.523 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007104/0.01161, allocations: 375.3 kB / 345.3 MB, free: 3.156 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008889/0.0125, allocations: 0.9778 MB / 346.3 MB, free: 2.176 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004789/0.01298, allocations: 315.5 kB / 346.6 MB, free: 1.844 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007224/0.0137, allocations: 0.5691 MB / 347.2 MB, free: 1.273 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004337/0.01414, allocations: 327 kB / 347.5 MB, free: 0.9531 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001346/0.01427, allocations: 108 kB / 347.6 MB, free: 0.8477 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003152/0.01459, allocations: 207.8 kB / 347.8 MB, free: 0.6445 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001469/0.01473, allocations: 219.2 kB / 348 MB, free: 440 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002903/0.01502, allocations: 295.2 kB / 348.3 MB, free: 144 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001768/0.01679, allocations: 1.215 MB / 349.5 MB, free: 14.92 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.0168, allocations: 0 / 349.5 MB, free: 14.92 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.0168, allocations: 3.938 kB / 349.5 MB, free: 14.92 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.382e-05/0.01683, allocations: 0 / 349.5 MB, free: 14.92 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.002659/0.01949, allocations: 1.154 MB / 350.7 MB, free: 13.71 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.01953, allocations: 8.031 kB / 350.7 MB, free: 13.71 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003301/0.01986, allocations: 156.3 kB / 350.8 MB, free: 13.55 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000981/0.02084, allocations: 475.3 kB / 351.3 MB, free: 13.06 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001737/0.02101, allocations: 109.3 kB / 351.4 MB, free: 12.94 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001406/0.02115, allocations: 68.38 kB / 351.5 MB, free: 12.88 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001858/0.02301, allocations: 0.8494 MB / 352.3 MB, free: 11.97 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.062e-05/0.02304, allocations: 3.953 kB / 352.3 MB, free: 11.97 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.184e-05/0.02312, allocations: 31.98 kB / 352.3 MB, free: 11.94 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.927e-05/0.02314, allocations: 16 kB / 352.4 MB, free: 11.92 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001668/0.02481, allocations: 0.5862 MB / 352.9 MB, free: 11.32 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00486/0.02967, allocations: 2.219 MB / 355.2 MB, free: 9.008 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001259/0.03093, allocations: 432.1 kB / 355.6 MB, free: 8.566 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00057/0.0315, allocations: 228.4 kB / 355.8 MB, free: 8.328 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.278e-05/0.03155, allocations: 12.28 kB / 355.8 MB, free: 8.316 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008777/0.03243, allocations: 389.7 kB / 356.2 MB, free: 7.895 MB / 282.7 MB Notification: Performance of pre-optimization done (n=36): time 1.703e-06/0.03243, allocations: 0 / 356.2 MB, free: 7.895 MB / 282.7 MB Notification: Performance of matching and sorting (n=36): time 0.002274/0.03471, allocations: 0.8045 MB / 357 MB, free: 7.043 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001423/0.03485, allocations: 174.1 kB / 357.2 MB, free: 6.836 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008898/0.03574, allocations: 0.533 MB / 357.7 MB, free: 6.293 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.341e-05/0.0358, allocations: 33.7 kB / 357.7 MB, free: 6.254 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003972/0.0362, allocations: 376.5 kB / 358.1 MB, free: 5.879 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001561/0.03635, allocations: 130.9 kB / 358.2 MB, free: 5.75 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002262/0.03658, allocations: 94.19 kB / 358.3 MB, free: 5.652 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002246/0.0368, allocations: 358.8 kB / 358.7 MB, free: 5.293 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006415/0.03745, allocations: 283.8 kB / 359 MB, free: 4.992 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008244/0.03827, allocations: 451.8 kB / 359.4 MB, free: 4.469 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001335/0.03961, allocations: 0.5999 MB / 360 MB, free: 3.789 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.284e-06/0.03961, allocations: 4 kB / 360 MB, free: 3.785 MB / 282.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001842/0.04146, allocations: 0.7906 MB / 360.8 MB, free: 2.949 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001014/0.04156, allocations: 97.09 kB / 360.9 MB, free: 2.836 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.04157, allocations: 0 / 360.9 MB, free: 2.836 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001936/0.04176, allocations: 32.78 kB / 360.9 MB, free: 2.801 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000487/0.04225, allocations: 108.2 kB / 361 MB, free: 2.695 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00136/0.04361, allocations: 1.249 MB / 362.3 MB, free: 1.344 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005842/0.04419, allocations: 75.62 kB / 362.3 MB, free: 1.27 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.271e-05/0.04425, allocations: 28.16 kB / 362.4 MB, free: 1.242 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008756/0.04513, allocations: 430.1 kB / 362.8 MB, free: 0.8008 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007923/0.04592, allocations: 443.9 kB / 363.2 MB, free: 292 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001226/0.04715, allocations: 0.5865 MB / 363.8 MB, free: 15.62 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.166e-06/0.04715, allocations: 0 / 363.8 MB, free: 15.62 MB / 298.7 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.001706/0.04886, allocations: 0.7575 MB / 364.6 MB, free: 14.81 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.576e-05/0.04894, allocations: 93.09 kB / 364.7 MB, free: 14.7 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.04895, allocations: 4 kB / 364.7 MB, free: 14.7 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001176/0.04907, allocations: 28.78 kB / 364.7 MB, free: 14.67 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004603/0.04953, allocations: 91.89 kB / 364.8 MB, free: 14.58 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001281/0.05081, allocations: 1.268 MB / 366 MB, free: 13.21 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005861/0.0514, allocations: 71.67 kB / 366.1 MB, free: 13.14 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.887e-05/0.05145, allocations: 23.98 kB / 366.1 MB, free: 13.11 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.0003032/0.05176, allocations: 268.3 kB / 366.4 MB, free: 12.83 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001716/0.05193, allocations: 75.62 kB / 366.5 MB, free: 12.76 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001573/0.0535, allocations: 0.6004 MB / 367.1 MB, free: 12.12 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/0.05351, allocations: 4 kB / 367.1 MB, free: 12.12 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.05351, allocations: 0 / 367.1 MB, free: 12.12 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.05352, allocations: 7.984 kB / 367.1 MB, free: 12.11 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002528/0.05605, allocations: 1.135 MB / 368.2 MB, free: 10.92 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.05605, allocations: 4 kB / 368.2 MB, free: 10.91 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004318/0.05648, allocations: 71.89 kB / 368.3 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001153/0.0566, allocations: 16.84 kB / 368.3 MB, free: 10.82 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.549e-05/0.05664, allocations: 12 kB / 368.3 MB, free: 10.81 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001275/0.05792, allocations: 1.252 MB / 369.6 MB, free: 9.453 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.05792, allocations: 0 / 369.6 MB, free: 9.453 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002223/0.06014, allocations: 0.9802 MB / 370.6 MB, free: 8.414 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002554/0.0604, allocations: 95.53 kB / 370.7 MB, free: 8.32 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.123e-05/0.06049, allocations: 12 kB / 370.7 MB, free: 8.309 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004793/0.06097, allocations: 51.89 kB / 370.7 MB, free: 8.258 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001545/0.06112, allocations: 35.94 kB / 370.7 MB, free: 8.223 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.229e-05/0.06117, allocations: 12 kB / 370.8 MB, free: 8.211 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005814/0.06175, allocations: 374.9 kB / 371.1 MB, free: 7.848 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.06175, allocations: 0 / 371.1 MB, free: 7.848 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001128/0.06288, allocations: 338.8 kB / 371.5 MB, free: 7.516 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.002198/0.06507, allocations: 493.9 kB / 371.9 MB, free: 7.219 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002921/0.06799, allocations: 1.451 MB / 373.4 MB, free: 5.621 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.068, allocations: 8.188 kB / 373.4 MB, free: 5.613 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009068/0.06891, allocations: 480.6 kB / 373.9 MB, free: 5.094 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00072/0.06963, allocations: 92.47 kB / 374 MB, free: 5.004 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002797/0.07242, allocations: 1.273 MB / 375.2 MB, free: 3.684 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000447/0.07287, allocations: 317.1 kB / 375.5 MB, free: 3.348 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003479/0.07322, allocations: 63.23 kB / 375.6 MB, free: 3.289 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000151/0.07337, allocations: 40.5 kB / 375.6 MB, free: 3.25 MB / 298.7 MB Notification: Performance of SimCode: time 9.12e-07/0.07337, allocations: 3.938 kB / 375.6 MB, free: 3.246 MB / 298.7 MB Notification: Performance of Templates: time 0.01814/0.09151, allocations: 7.858 MB / 383.5 MB, free: 11.47 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=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.812691246042959]