Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.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.001838/0.001838, allocations: 88.05 kB / 19.44 MB, free: 320 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.001999/0.001999, allocations: 165.3 kB / 22.76 MB, free: 1.648 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.582/1.582, allocations: 177.1 MB / 203.1 MB, free: 5.633 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.0441/0.0441, allocations: 6.486 MB / 266 MB, free: 6.68 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.TestOneFlange1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.515e-06/2.515e-06, allocations: 0 / 337.3 MB, free: 11.16 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.847e-05/3.099e-05, allocations: 2.312 kB / 337.3 MB, free: 11.15 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1): time 0.005548/0.005579, allocations: 5.058 MB / 342.4 MB, free: 6.062 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002355/0.007934, allocations: 1.604 MB / 344 MB, free: 4.453 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003199/0.008254, allocations: 19.94 kB / 344 MB, free: 4.434 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000406/0.00866, allocations: 198.5 kB / 344.2 MB, free: 4.238 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005371/0.009197, allocations: 297.9 kB / 344.5 MB, free: 3.945 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005327/0.00973, allocations: 375.3 kB / 344.9 MB, free: 3.578 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006379/0.01037, allocations: 0.9661 MB / 345.8 MB, free: 2.609 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004045/0.01077, allocations: 323.5 kB / 346.2 MB, free: 2.27 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006008/0.01137, allocations: 0.5612 MB / 346.7 MB, free: 1.707 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003427/0.01172, allocations: 339 kB / 347 MB, free: 1.375 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001043/0.01182, allocations: 104 kB / 347.1 MB, free: 1.273 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001848/0.012, allocations: 148 kB / 347.3 MB, free: 1.129 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001405/0.01215, allocations: 211.3 kB / 347.5 MB, free: 0.9219 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000235/0.01238, allocations: 291.3 kB / 347.8 MB, free: 0.6367 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001231/0.01361, allocations: 1.153 MB / 348.9 MB, free: 15.48 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.01362, allocations: 0 / 348.9 MB, free: 15.48 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.01362, allocations: 0 / 348.9 MB, free: 15.48 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.644e-05/0.01363, allocations: 0 / 348.9 MB, free: 15.48 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.002444/0.01608, allocations: 1.301 MB / 350.2 MB, free: 14.12 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.01612, allocations: 12.03 kB / 350.2 MB, free: 14.11 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003023/0.01642, allocations: 152.3 kB / 350.4 MB, free: 13.96 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008382/0.01726, allocations: 474.1 kB / 350.9 MB, free: 13.47 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001661/0.01743, allocations: 109.3 kB / 351 MB, free: 13.35 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001236/0.01755, allocations: 68.38 kB / 351 MB, free: 13.29 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001597/0.01915, allocations: 0.8424 MB / 351.9 MB, free: 12.39 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.078e-05/0.01918, allocations: 7.953 kB / 351.9 MB, free: 12.39 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.854e-05/0.01926, allocations: 28 kB / 351.9 MB, free: 12.36 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.619e-05/0.01927, allocations: 12 kB / 351.9 MB, free: 12.35 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001309/0.02058, allocations: 0.5433 MB / 352.5 MB, free: 11.79 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004868/0.02545, allocations: 2.781 MB / 355.2 MB, free: 8.902 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001047/0.0265, allocations: 438.8 kB / 355.7 MB, free: 8.449 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004575/0.02695, allocations: 223.3 kB / 355.9 MB, free: 8.215 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.837e-05/0.027, allocations: 16.27 kB / 355.9 MB, free: 8.199 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007125/0.02772, allocations: 400.8 kB / 356.3 MB, free: 7.762 MB / 282.7 MB Notification: Performance of pre-optimization done (n=36): time 1.934e-06/0.02772, allocations: 0 / 356.3 MB, free: 7.762 MB / 282.7 MB Notification: Performance of matching and sorting (n=36): time 0.001787/0.0295, allocations: 0.7684 MB / 357.1 MB, free: 6.945 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001192/0.02962, allocations: 144.5 kB / 357.2 MB, free: 6.773 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008588/0.03048, allocations: 0.6392 MB / 357.8 MB, free: 6.121 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.885e-05/0.03053, allocations: 33.7 kB / 357.9 MB, free: 6.082 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006751/0.03121, allocations: 459.2 kB / 358.3 MB, free: 5.629 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001559/0.03136, allocations: 135 kB / 358.5 MB, free: 5.496 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002154/0.03158, allocations: 123.8 kB / 358.6 MB, free: 5.367 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0003919/0.03197, allocations: 0.5743 MB / 359.2 MB, free: 4.781 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005271/0.0325, allocations: 262.7 kB / 359.4 MB, free: 4.504 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007098/0.03321, allocations: 457.1 kB / 359.9 MB, free: 3.965 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001103/0.03431, allocations: 0.6492 MB / 360.5 MB, free: 3.219 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.212e-06/0.03432, allocations: 4 kB / 360.5 MB, free: 3.215 MB / 282.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.00147/0.03579, allocations: 0.7622 MB / 361.3 MB, free: 2.406 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.87e-05/0.03587, allocations: 95.86 kB / 361.4 MB, free: 2.297 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.03588, allocations: 4 kB / 361.4 MB, free: 2.293 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002107/0.0361, allocations: 35.61 kB / 361.4 MB, free: 2.254 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000417/0.03651, allocations: 95.83 kB / 361.5 MB, free: 2.16 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001635/0.03815, allocations: 1.783 MB / 363.3 MB, free: 260 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004178/0.03856, allocations: 67.64 kB / 363.3 MB, free: 192 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.69e-05/0.03861, allocations: 20 kB / 363.4 MB, free: 172 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007636/0.03938, allocations: 440.9 kB / 363.8 MB, free: 15.71 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006757/0.04005, allocations: 458.8 kB / 364.2 MB, free: 15.18 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001034/0.04108, allocations: 0.6238 MB / 364.9 MB, free: 14.46 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.069e-06/0.04109, allocations: 4 kB / 364.9 MB, free: 14.45 MB / 298.7 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.001654/0.04274, allocations: 0.7485 MB / 365.6 MB, free: 13.66 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.275e-05/0.04283, allocations: 93.09 kB / 365.7 MB, free: 13.55 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.04283, allocations: 4 kB / 365.7 MB, free: 13.54 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001227/0.04296, allocations: 27.67 kB / 365.7 MB, free: 13.51 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003788/0.04333, allocations: 87.89 kB / 365.8 MB, free: 13.43 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001603/0.04494, allocations: 1.787 MB / 367.6 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004342/0.04537, allocations: 63.7 kB / 367.7 MB, free: 11.46 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.836e-05/0.04542, allocations: 20 kB / 367.7 MB, free: 11.44 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.0003494/0.04577, allocations: 356.3 kB / 368 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001527/0.04592, allocations: 79.72 kB / 368.1 MB, free: 10.99 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001302/0.04723, allocations: 0.5683 MB / 368.7 MB, free: 10.38 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.356e-06/0.04723, allocations: 4 kB / 368.7 MB, free: 10.38 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.445e-06/0.04724, allocations: 0 / 368.7 MB, free: 10.38 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.069e-05/0.04725, allocations: 3.984 kB / 368.7 MB, free: 10.38 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00242/0.04967, allocations: 1.302 MB / 370 MB, free: 9.004 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.487e-06/0.04968, allocations: 7.984 kB / 370 MB, free: 8.996 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000346/0.05002, allocations: 59.91 kB / 370.1 MB, free: 8.938 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001098/0.05013, allocations: 23.67 kB / 370.1 MB, free: 8.91 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.102e-05/0.05017, allocations: 12 kB / 370.1 MB, free: 8.898 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001531/0.0517, allocations: 1.779 MB / 371.9 MB, free: 7 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.05171, allocations: 0 / 371.9 MB, free: 7 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001929/0.05363, allocations: 0.9949 MB / 372.9 MB, free: 5.941 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002281/0.05386, allocations: 91.5 kB / 373 MB, free: 5.852 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.879e-05/0.05393, allocations: 12 kB / 373 MB, free: 5.84 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000334/0.05427, allocations: 36.03 kB / 373 MB, free: 5.805 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001293/0.05439, allocations: 35.94 kB / 373 MB, free: 5.77 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.44e-05/0.05443, allocations: 12 kB / 373.1 MB, free: 5.758 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005489/0.05498, allocations: 398.8 kB / 373.5 MB, free: 5.371 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.05498, allocations: 0 / 373.5 MB, free: 5.371 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0009945/0.05597, allocations: 314.9 kB / 373.8 MB, free: 5.062 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.002604/0.05858, allocations: 391.9 kB / 374.1 MB, free: 4.824 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002756/0.06133, allocations: 1.61 MB / 375.8 MB, free: 3.047 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.06134, allocations: 0 / 375.8 MB, free: 3.047 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008229/0.06216, allocations: 0.5475 MB / 376.3 MB, free: 2.441 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006695/0.06283, allocations: 91.84 kB / 376.4 MB, free: 2.352 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002541/0.06537, allocations: 1.263 MB / 377.7 MB, free: 1.035 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004042/0.06578, allocations: 309.1 kB / 378 MB, free: 0.707 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002951/0.06607, allocations: 71.2 kB / 378 MB, free: 0.6367 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001393/0.06621, allocations: 40.5 kB / 378.1 MB, free: 0.5977 MB / 298.7 MB Notification: Performance of SimCode: time 1.863e-06/0.06621, allocations: 0 / 378.1 MB, free: 0.5977 MB / 298.7 MB Notification: Performance of Templates: time 0.01622/0.08243, allocations: 7.118 MB / 385.2 MB, free: 9.562 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1 -abortSlowSimulation -alarm=240 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.9350790629396215]