Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_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.0008814/0.0008814, allocations: 93.06 kB / 19.65 MB, free: 280 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.0008654/0.0008654, allocations: 165 kB / 23.02 MB, free: 1.551 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.897/0.897, allocations: 177.1 MB / 203.4 MB, free: 5.648 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.02535/0.02535, allocations: 6.472 MB / 266.4 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 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.TestOneFlange2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 338.1 MB, free: 10.82 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.312e-05/1.46e-05, allocations: 2.312 kB / 338.1 MB, free: 10.81 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2): time 0.004006/0.004021, allocations: 5.128 MB / 343.2 MB, free: 5.652 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00208/0.006101, allocations: 2.341 MB / 345.5 MB, free: 3.305 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002979/0.006399, allocations: 19.88 kB / 345.6 MB, free: 3.285 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003533/0.006752, allocations: 202.5 kB / 345.8 MB, free: 3.086 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004854/0.007238, allocations: 294 kB / 346 MB, free: 2.797 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004219/0.007659, allocations: 379.2 kB / 346.4 MB, free: 2.426 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005413/0.008201, allocations: 0.9778 MB / 347.4 MB, free: 1.445 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003057/0.008506, allocations: 311.5 kB / 347.7 MB, free: 1.117 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004341/0.008941, allocations: 0.5769 MB / 348.3 MB, free: 0.5391 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002778/0.009218, allocations: 351 kB / 348.6 MB, free: 200 kB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.031e-05/0.009289, allocations: 107.9 kB / 348.7 MB, free: 92 kB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002245/0.009513, allocations: 207.9 kB / 348.9 MB, free: 15.88 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001425/0.009656, allocations: 219.2 kB / 349.1 MB, free: 15.67 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001999/0.009856, allocations: 295.2 kB / 349.4 MB, free: 15.38 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006823/0.01054, allocations: 0.7397 MB / 350.2 MB, free: 14.64 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.01054, allocations: 0 / 350.2 MB, free: 14.64 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.01054, allocations: 7.875 kB / 350.2 MB, free: 14.63 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.008e-05/0.01055, allocations: 4 kB / 350.2 MB, free: 14.63 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.001256/0.01181, allocations: 1.242 MB / 351.4 MB, free: 13.33 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.206e-05/0.01184, allocations: 12.02 kB / 351.4 MB, free: 13.32 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001591/0.012, allocations: 156.3 kB / 351.6 MB, free: 13.17 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004737/0.01247, allocations: 466.1 kB / 352 MB, free: 12.68 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.234e-05/0.01256, allocations: 105.3 kB / 352.1 MB, free: 12.57 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.741e-05/0.01264, allocations: 76.33 kB / 352.2 MB, free: 12.49 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000741/0.01338, allocations: 0.6881 MB / 352.9 MB, free: 11.74 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.791e-05/0.0134, allocations: 0 / 352.9 MB, free: 11.74 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.175e-05/0.01344, allocations: 28 kB / 352.9 MB, free: 11.71 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.291e-05/0.01346, allocations: 16 kB / 352.9 MB, free: 11.7 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004297/0.01389, allocations: 315 kB / 353.2 MB, free: 11.38 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002084/0.01597, allocations: 2.339 MB / 355.6 MB, free: 8.938 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007171/0.01669, allocations: 291.8 kB / 355.9 MB, free: 8.629 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001469/0.01683, allocations: 139.3 kB / 356 MB, free: 8.477 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.986e-05/0.01686, allocations: 8.281 kB / 356 MB, free: 8.469 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002742/0.01714, allocations: 317 kB / 356.3 MB, free: 8.113 MB / 282.7 MB Notification: Performance of pre-optimization done (n=36): time 1.523e-06/0.01714, allocations: 0 / 356.3 MB, free: 8.113 MB / 282.7 MB Notification: Performance of matching and sorting (n=36): time 0.0006966/0.01783, allocations: 0.5536 MB / 356.9 MB, free: 7.512 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.744e-05/0.01789, allocations: 174.1 kB / 357.1 MB, free: 7.305 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003779/0.01827, allocations: 0.4986 MB / 357.5 MB, free: 6.789 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.711e-05/0.0183, allocations: 33.7 kB / 357.6 MB, free: 6.75 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002061/0.0185, allocations: 427.2 kB / 358 MB, free: 6.324 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.816e-05/0.01857, allocations: 123 kB / 358.1 MB, free: 6.203 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001062/0.01868, allocations: 103.8 kB / 358.2 MB, free: 6.094 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.01882, allocations: 0.5391 MB / 358.8 MB, free: 5.543 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001678/0.01898, allocations: 170.7 kB / 358.9 MB, free: 5.352 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002354/0.01922, allocations: 392 kB / 359.3 MB, free: 4.867 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003667/0.01959, allocations: 484.7 kB / 359.8 MB, free: 4.297 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.01959, allocations: 4 kB / 359.8 MB, free: 4.293 MB / 282.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0005585/0.02015, allocations: 0.5869 MB / 360.4 MB, free: 3.66 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.376e-05/0.02019, allocations: 101.2 kB / 360.5 MB, free: 3.543 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.0202, allocations: 4 kB / 360.5 MB, free: 3.539 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000127/0.02032, allocations: 27.61 kB / 360.5 MB, free: 3.508 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002114/0.02054, allocations: 95.83 kB / 360.6 MB, free: 3.414 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007238/0.02126, allocations: 1.74 MB / 362.3 MB, free: 1.551 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000191/0.02145, allocations: 67.64 kB / 362.4 MB, free: 1.484 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.543e-05/0.02148, allocations: 20 kB / 362.4 MB, free: 1.465 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004863/0.02196, allocations: 300.9 kB / 362.7 MB, free: 1.148 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002288/0.02219, allocations: 392 kB / 363.1 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003434/0.02254, allocations: 475 kB / 363.6 MB, free: 108 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.955e-06/0.02254, allocations: 4 kB / 363.6 MB, free: 104 kB / 282.7 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.0005458/0.02308, allocations: 0.5922 MB / 364.2 MB, free: 15.46 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.575e-05/0.02312, allocations: 93.11 kB / 364.3 MB, free: 15.35 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.02312, allocations: 4 kB / 364.3 MB, free: 15.35 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.18e-05/0.02319, allocations: 28.11 kB / 364.3 MB, free: 15.32 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000188/0.02337, allocations: 95.83 kB / 364.4 MB, free: 15.22 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006204/0.02399, allocations: 1.74 MB / 366.1 MB, free: 13.36 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000187/0.02418, allocations: 55.88 kB / 366.2 MB, free: 13.3 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.362e-05/0.0242, allocations: 24 kB / 366.2 MB, free: 13.28 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.0001489/0.02435, allocations: 369.5 kB / 366.6 MB, free: 12.9 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.026e-05/0.02442, allocations: 71.62 kB / 366.6 MB, free: 12.83 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004571/0.02488, allocations: 434 kB / 367 MB, free: 12.38 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.02488, allocations: 4 kB / 367.1 MB, free: 12.37 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.904e-06/0.02489, allocations: 0 / 367.1 MB, free: 12.37 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.02489, allocations: 3.984 kB / 367.1 MB, free: 12.37 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009299/0.02582, allocations: 1.012 MB / 368.1 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.02582, allocations: 8 kB / 368.1 MB, free: 11.28 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001659/0.02599, allocations: 63.89 kB / 368.1 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.735e-05/0.02605, allocations: 23.66 kB / 368.2 MB, free: 11.19 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.238e-05/0.02607, allocations: 12 kB / 368.2 MB, free: 11.18 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008289/0.0269, allocations: 1.728 MB / 369.9 MB, free: 9.32 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.0269, allocations: 0 / 369.9 MB, free: 9.32 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006272/0.02753, allocations: 0.7255 MB / 370.6 MB, free: 8.531 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001162/0.02764, allocations: 99.48 kB / 370.7 MB, free: 8.434 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.507e-05/0.02768, allocations: 8 kB / 370.7 MB, free: 8.426 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001559/0.02783, allocations: 32.06 kB / 370.8 MB, free: 8.395 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.617e-05/0.02792, allocations: 43.94 kB / 370.8 MB, free: 8.352 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-05/0.02794, allocations: 8 kB / 370.8 MB, free: 8.344 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002426/0.02818, allocations: 330.8 kB / 371.1 MB, free: 8.023 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.02818, allocations: 0 / 371.1 MB, free: 8.023 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005289/0.02871, allocations: 338.8 kB / 371.5 MB, free: 7.691 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.0008529/0.02956, allocations: 457.4 kB / 371.9 MB, free: 7.395 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0009751/0.03054, allocations: 1.329 MB / 373.2 MB, free: 5.898 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.03054, allocations: 4 kB / 373.2 MB, free: 5.895 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002844/0.03083, allocations: 467.8 kB / 373.7 MB, free: 5.379 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003382/0.03116, allocations: 105.2 kB / 373.8 MB, free: 5.289 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001485/0.03265, allocations: 1.18 MB / 375 MB, free: 4.059 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.111e-05/0.03274, allocations: 137.7 kB / 375.1 MB, free: 3.902 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001488/0.03289, allocations: 59.23 kB / 375.2 MB, free: 3.844 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.513e-05/0.03297, allocations: 48.48 kB / 375.2 MB, free: 3.797 MB / 298.7 MB Notification: Performance of SimCode: time 7.62e-07/0.03297, allocations: 0 / 375.2 MB, free: 3.797 MB / 298.7 MB Notification: Performance of Templates: time 0.01003/0.043, allocations: 7.881 MB / 383.1 MB, free: 12 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.8946413001976907]