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.001781/0.001781, allocations: 85.48 kB / 19.44 MB, free: 344 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.002629/0.002629, allocations: 173.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.551/1.551, allocations: 177.1 MB / 203.1 MB, free: 5.609 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.04428/0.04428, allocations: 6.483 MB / 266 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 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.424e-06/2.424e-06, allocations: 3.938 kB / 337.3 MB, free: 11.15 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.344e-05/2.587e-05, allocations: 2.312 kB / 337.3 MB, free: 11.14 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3): time 0.005463/0.005488, allocations: 5.066 MB / 342.4 MB, free: 6.047 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003088/0.008577, allocations: 2.306 MB / 344.7 MB, free: 3.734 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004504/0.009027, allocations: 15.94 kB / 344.7 MB, free: 3.719 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004292/0.009456, allocations: 202.5 kB / 344.9 MB, free: 3.52 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006471/0.0101, allocations: 305.9 kB / 345.2 MB, free: 3.219 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005854/0.01069, allocations: 375.3 kB / 345.6 MB, free: 2.852 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006683/0.01136, allocations: 0.9739 MB / 346.6 MB, free: 1.875 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004048/0.01176, allocations: 323.4 kB / 346.9 MB, free: 1.535 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005573/0.01232, allocations: 0.5614 MB / 347.4 MB, free: 0.9727 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004158/0.01273, allocations: 351 kB / 347.8 MB, free: 0.6289 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001114/0.01285, allocations: 108 kB / 347.9 MB, free: 0.5234 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002849/0.01313, allocations: 207.8 kB / 348.1 MB, free: 328 kB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001352/0.01327, allocations: 219.2 kB / 348.3 MB, free: 108 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003447/0.01361, allocations: 299.2 kB / 348.6 MB, free: 15.81 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001626/0.01524, allocations: 1.219 MB / 349.8 MB, free: 14.59 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.01524, allocations: 3.938 kB / 349.8 MB, free: 14.59 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.01524, allocations: 4 kB / 349.8 MB, free: 14.58 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.429e-05/0.01526, allocations: 0 / 349.8 MB, free: 14.58 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.002415/0.01767, allocations: 1.328 MB / 351.2 MB, free: 13.2 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.01771, allocations: 16.03 kB / 351.2 MB, free: 13.18 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000291/0.018, allocations: 152.3 kB / 351.3 MB, free: 13.04 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008452/0.01885, allocations: 470.1 kB / 351.8 MB, free: 12.55 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001491/0.019, allocations: 109.3 kB / 351.9 MB, free: 12.43 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001309/0.01913, allocations: 76.36 kB / 352 MB, free: 12.35 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001623/0.02075, allocations: 0.875 MB / 352.8 MB, free: 11.42 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.232e-05/0.02078, allocations: 11.95 kB / 352.8 MB, free: 11.41 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.081e-05/0.02085, allocations: 28 kB / 352.9 MB, free: 11.38 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.391e-05/0.02088, allocations: 19.98 kB / 352.9 MB, free: 11.36 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00127/0.02215, allocations: 0.5355 MB / 353.4 MB, free: 10.81 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004815/0.02696, allocations: 2.802 MB / 356.2 MB, free: 7.902 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001049/0.02801, allocations: 434.7 kB / 356.7 MB, free: 7.453 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000462/0.02847, allocations: 227.3 kB / 356.9 MB, free: 7.215 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.139e-05/0.02852, allocations: 12.27 kB / 356.9 MB, free: 7.203 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007636/0.02929, allocations: 400.8 kB / 357.3 MB, free: 6.766 MB / 282.7 MB Notification: Performance of pre-optimization done (n=36): time 2.224e-06/0.02929, allocations: 0 / 357.3 MB, free: 6.766 MB / 282.7 MB Notification: Performance of matching and sorting (n=36): time 0.001861/0.03115, allocations: 0.7801 MB / 358.1 MB, free: 5.938 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001397/0.03129, allocations: 162.2 kB / 358.2 MB, free: 5.742 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009034/0.03219, allocations: 0.647 MB / 358.9 MB, free: 5.078 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.578e-05/0.03226, allocations: 37.7 kB / 358.9 MB, free: 5.035 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004415/0.0327, allocations: 459.2 kB / 359.4 MB, free: 4.582 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001585/0.03286, allocations: 135 kB / 359.5 MB, free: 4.449 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000219/0.03308, allocations: 123.8 kB / 359.6 MB, free: 4.32 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0003898/0.03347, allocations: 0.5782 MB / 360.2 MB, free: 3.73 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004998/0.03397, allocations: 266.7 kB / 360.4 MB, free: 3.449 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000851/0.03482, allocations: 0.4922 MB / 360.9 MB, free: 2.852 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001097/0.03592, allocations: 0.6375 MB / 361.6 MB, free: 2.117 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.107e-06/0.03592, allocations: 7.938 kB / 361.6 MB, free: 2.109 MB / 282.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001538/0.03746, allocations: 0.7699 MB / 362.4 MB, free: 1.293 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.409e-05/0.03755, allocations: 93.53 kB / 362.4 MB, free: 1.184 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.43e-05/0.03757, allocations: 4 kB / 362.4 MB, free: 1.18 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002141/0.03778, allocations: 39.61 kB / 362.5 MB, free: 1.137 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004266/0.03821, allocations: 95.83 kB / 362.6 MB, free: 1.043 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001638/0.03985, allocations: 1.775 MB / 364.4 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004805/0.04033, allocations: 67.77 kB / 364.4 MB, free: 15.08 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.97e-05/0.04038, allocations: 20 kB / 364.4 MB, free: 15.06 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008132/0.04119, allocations: 448.9 kB / 364.9 MB, free: 14.6 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00065/0.04184, allocations: 492.1 kB / 365.4 MB, free: 14.02 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001014/0.04285, allocations: 0.6316 MB / 366 MB, free: 13.29 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.64e-06/0.04286, allocations: 4 kB / 366 MB, free: 13.29 MB / 298.7 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.001537/0.0444, allocations: 0.7523 MB / 366.7 MB, free: 12.48 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001221/0.04452, allocations: 93.09 kB / 366.8 MB, free: 12.38 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.04453, allocations: 4.438 kB / 366.8 MB, free: 12.37 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001731/0.0447, allocations: 39.61 kB / 366.9 MB, free: 12.33 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004057/0.04511, allocations: 83.89 kB / 367 MB, free: 12.25 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001859/0.04697, allocations: 1.783 MB / 368.7 MB, free: 10.34 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004723/0.04744, allocations: 63.83 kB / 368.8 MB, free: 10.28 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.007e-05/0.04749, allocations: 24 kB / 368.8 MB, free: 10.26 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.0003958/0.04788, allocations: 364.3 kB / 369.2 MB, free: 9.883 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00016/0.04804, allocations: 67.67 kB / 369.3 MB, free: 9.816 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00126/0.0493, allocations: 0.5721 MB / 369.8 MB, free: 9.203 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.04931, allocations: 8 kB / 369.8 MB, free: 9.195 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.04931, allocations: 0 / 369.8 MB, free: 9.195 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.185e-06/0.04932, allocations: 7.984 kB / 369.8 MB, free: 9.188 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002431/0.05175, allocations: 1.333 MB / 371.2 MB, free: 7.785 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.05175, allocations: 0 / 371.2 MB, free: 7.785 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000324/0.05208, allocations: 59.89 kB / 371.2 MB, free: 7.727 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001106/0.05219, allocations: 23.69 kB / 371.3 MB, free: 7.699 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.51e-05/0.05223, allocations: 23.98 kB / 371.3 MB, free: 7.676 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00143/0.05366, allocations: 1.779 MB / 373.1 MB, free: 5.773 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.05367, allocations: 0 / 373.1 MB, free: 5.773 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001738/0.0554, allocations: 1.003 MB / 374.1 MB, free: 4.707 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002113/0.05561, allocations: 91.5 kB / 374.2 MB, free: 4.617 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.161e-05/0.05569, allocations: 16 kB / 374.2 MB, free: 4.602 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003309/0.05602, allocations: 31.97 kB / 374.2 MB, free: 4.57 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001348/0.05615, allocations: 39.88 kB / 374.2 MB, free: 4.531 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.359e-05/0.05619, allocations: 12 kB / 374.2 MB, free: 4.52 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0007228/0.05691, allocations: 410.8 kB / 374.6 MB, free: 4.121 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.05691, allocations: 4 kB / 374.7 MB, free: 4.117 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001015/0.05792, allocations: 334.9 kB / 375 MB, free: 3.789 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.002867/0.06079, allocations: 489.9 kB / 375.5 MB, free: 3.496 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002585/0.06337, allocations: 1.619 MB / 377.1 MB, free: 1.711 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.491e-06/0.06338, allocations: 4 kB / 377.1 MB, free: 1.707 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007883/0.06417, allocations: 0.5545 MB / 377.6 MB, free: 1.094 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006153/0.06478, allocations: 103.2 kB / 377.7 MB, free: 0.9961 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00249/0.06727, allocations: 1.263 MB / 379 MB, free: 15.68 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003916/0.06767, allocations: 309.1 kB / 379.3 MB, free: 15.36 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002634/0.06793, allocations: 55.23 kB / 379.4 MB, free: 15.3 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001321/0.06806, allocations: 44.48 kB / 379.4 MB, free: 15.25 MB / 314.7 MB Notification: Performance of SimCode: time 8.82e-07/0.06806, allocations: 4 kB / 379.4 MB, free: 15.25 MB / 314.7 MB Notification: Performance of Templates: time 0.01718/0.08524, allocations: 7.87 MB / 387.3 MB, free: 7.469 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: 4.933166807051748]