Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_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.001295/0.001295, allocations: 73.88 kB / 20.65 MB, free: 3.84 MB / 18.57 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.001547/0.001547, allocations: 169 kB / 24.05 MB, free: 452 kB / 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.992/0.992, allocations: 177.1 MB / 204.5 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] 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.02703/0.02703, allocations: 6.487 MB / 267.5 MB, free: 6.453 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.TestOneFlange1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 339.3 MB, free: 11.57 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.307e-05/2.5e-05, allocations: 8.641 kB / 339.3 MB, free: 11.56 MB / 314.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1): time 0.005518/0.005543, allocations: 5.038 MB / 344.4 MB, free: 6.492 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002633/0.008176, allocations: 1.596 MB / 345.9 MB, free: 4.891 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004918/0.008668, allocations: 19.94 kB / 346 MB, free: 4.871 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004566/0.009124, allocations: 202.5 kB / 346.2 MB, free: 4.672 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006611/0.009786, allocations: 293.9 kB / 346.5 MB, free: 4.383 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006028/0.01039, allocations: 383.3 kB / 346.8 MB, free: 4.008 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008726/0.01126, allocations: 0.9778 MB / 347.8 MB, free: 3.027 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003957/0.01166, allocations: 307.5 kB / 348.1 MB, free: 2.707 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006311/0.01229, allocations: 0.5691 MB / 348.7 MB, free: 2.137 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003513/0.01264, allocations: 335.1 kB / 349 MB, free: 1.809 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 9.4e-05/0.01273, allocations: 104 kB / 349.1 MB, free: 1.707 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001735/0.01291, allocations: 151.9 kB / 349.3 MB, free: 1.559 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001387/0.01305, allocations: 215.2 kB / 349.5 MB, free: 1.348 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000201/0.01325, allocations: 295.3 kB / 349.7 MB, free: 1.059 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006733/0.01392, allocations: 0.6772 MB / 350.4 MB, free: 388 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.01392, allocations: 0 / 350.4 MB, free: 388 kB / 314.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.01392, allocations: 0 / 350.4 MB, free: 388 kB / 314.7 MB Notification: Performance of Transformations before backend: time 9.367e-06/0.01393, allocations: 0 / 350.4 MB, free: 388 kB / 314.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.00152/0.01545, allocations: 1.238 MB / 351.7 MB, free: 15.08 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.01549, allocations: 8.031 kB / 351.7 MB, free: 15.07 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001659/0.01565, allocations: 148.4 kB / 351.8 MB, free: 14.93 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004753/0.01613, allocations: 466.1 kB / 352.3 MB, free: 14.44 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.452e-05/0.01621, allocations: 109.3 kB / 352.4 MB, free: 14.32 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.081e-05/0.01629, allocations: 80.25 kB / 352.5 MB, free: 14.25 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006213/0.01691, allocations: 0.6047 MB / 353.1 MB, free: 13.59 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.794e-05/0.01693, allocations: 0 / 353.1 MB, free: 13.59 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.173e-05/0.01697, allocations: 32 kB / 353.1 MB, free: 13.56 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.01698, allocations: 16 kB / 353.1 MB, free: 13.54 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003076/0.01729, allocations: 264.3 kB / 353.4 MB, free: 13.27 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002171/0.01946, allocations: 2.246 MB / 355.6 MB, free: 10.93 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000383/0.01985, allocations: 269.8 kB / 355.9 MB, free: 10.64 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001133/0.01996, allocations: 131.6 kB / 356 MB, free: 10.5 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.07e-05/0.01999, allocations: 8.266 kB / 356 MB, free: 10.49 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002578/0.02025, allocations: 292.7 kB / 356.3 MB, free: 10.16 MB / 330.7 MB Notification: Performance of pre-optimization done (n=36): time 1.603e-06/0.02025, allocations: 4 kB / 356.3 MB, free: 10.16 MB / 330.7 MB Notification: Performance of matching and sorting (n=36): time 0.000612/0.02086, allocations: 0.522 MB / 356.8 MB, free: 9.586 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.337e-05/0.02091, allocations: 140.5 kB / 357 MB, free: 9.418 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000319/0.02123, allocations: 490.3 kB / 357.4 MB, free: 8.926 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.985e-05/0.02126, allocations: 33.7 kB / 357.5 MB, free: 8.887 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000206/0.02147, allocations: 439 kB / 357.9 MB, free: 8.453 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002842/0.02175, allocations: 130.9 kB / 358 MB, free: 8.324 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001105/0.02186, allocations: 99.75 kB / 358.1 MB, free: 8.219 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.00018/0.02204, allocations: 0.5468 MB / 358.7 MB, free: 7.66 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001663/0.02221, allocations: 154.7 kB / 358.8 MB, free: 7.484 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001884/0.0224, allocations: 338.6 kB / 359.2 MB, free: 7.062 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003156/0.02271, allocations: 440.8 kB / 359.6 MB, free: 6.535 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.02272, allocations: 4 kB / 359.6 MB, free: 6.531 MB / 330.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0004926/0.02321, allocations: 0.5592 MB / 360.2 MB, free: 5.926 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.673e-05/0.02326, allocations: 97.03 kB / 360.2 MB, free: 5.812 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.02326, allocations: 4 kB / 360.2 MB, free: 5.809 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001064/0.02337, allocations: 31.61 kB / 360.3 MB, free: 5.773 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002288/0.0236, allocations: 87.89 kB / 360.4 MB, free: 5.688 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008073/0.02441, allocations: 1.725 MB / 362.1 MB, free: 3.848 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002117/0.02462, allocations: 67.64 kB / 362.2 MB, free: 3.781 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.52e-05/0.02464, allocations: 16 kB / 362.2 MB, free: 3.766 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002031/0.02485, allocations: 280.9 kB / 362.4 MB, free: 3.465 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00018/0.02503, allocations: 334.7 kB / 362.8 MB, free: 3.051 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002881/0.02531, allocations: 451.1 kB / 363.2 MB, free: 2.516 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.673e-06/0.02532, allocations: 0 / 363.2 MB, free: 2.516 MB / 330.7 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.0004646/0.02578, allocations: 0.5535 MB / 363.8 MB, free: 1.914 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.828e-05/0.02582, allocations: 97.12 kB / 363.9 MB, free: 1.801 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.02582, allocations: 7.938 kB / 363.9 MB, free: 1.793 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.226e-05/0.02588, allocations: 23.67 kB / 363.9 MB, free: 1.766 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001915/0.02608, allocations: 95.83 kB / 364 MB, free: 1.672 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007358/0.02681, allocations: 1.713 MB / 365.7 MB, free: 15.84 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001922/0.027, allocations: 55.7 kB / 365.8 MB, free: 15.79 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.327e-05/0.02703, allocations: 20 kB / 365.8 MB, free: 15.77 MB / 346.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.pDC.integrator1.local_reset,oneFlange.limTau.state,oneFlange.limitingTorque,tauRef.count,$PRE.tauRef.count,tauRef.T_start,$PRE.tauRef.T_start,$whenCondition1) * 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.0001736/0.0272, allocations: 363.3 kB / 366.1 MB, free: 15.39 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.985e-05/0.02727, allocations: 75.61 kB / 366.2 MB, free: 15.32 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004166/0.02769, allocations: 414.1 kB / 366.6 MB, free: 14.88 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.02769, allocations: 7.938 kB / 366.6 MB, free: 14.88 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.02769, allocations: 3.938 kB / 366.6 MB, free: 14.87 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.0277, allocations: 0 / 366.6 MB, free: 14.87 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008165/0.02852, allocations: 0.8605 MB / 367.5 MB, free: 13.95 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.02852, allocations: 7.938 kB / 367.5 MB, free: 13.94 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001666/0.02869, allocations: 59.89 kB / 367.5 MB, free: 13.88 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.15e-05/0.02875, allocations: 19.69 kB / 367.6 MB, free: 13.86 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.237e-05/0.02877, allocations: 15.98 kB / 367.6 MB, free: 13.84 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006028/0.02937, allocations: 1.697 MB / 369.3 MB, free: 12.03 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.02937, allocations: 0 / 369.3 MB, free: 12.03 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005362/0.02991, allocations: 0.6902 MB / 370 MB, free: 11.27 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001108/0.03002, allocations: 91.69 kB / 370.1 MB, free: 11.18 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.681e-05/0.03006, allocations: 12 kB / 370.1 MB, free: 11.17 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000161/0.03022, allocations: 31.97 kB / 370.1 MB, free: 11.14 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.069e-05/0.03029, allocations: 35.88 kB / 370.1 MB, free: 11.11 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.887e-05/0.03031, allocations: 12 kB / 370.1 MB, free: 11.09 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001847/0.03049, allocations: 302.7 kB / 370.4 MB, free: 10.8 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03049, allocations: 4 kB / 370.4 MB, free: 10.8 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005524/0.03105, allocations: 307 kB / 370.7 MB, free: 10.5 MB / 346.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.0007539/0.0318, allocations: 351.8 kB / 371.1 MB, free: 10.26 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001152/0.03295, allocations: 1.278 MB / 372.4 MB, free: 8.812 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.03295, allocations: 0 / 372.4 MB, free: 8.812 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002469/0.0332, allocations: 447.6 kB / 372.8 MB, free: 8.316 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003425/0.03354, allocations: 99.33 kB / 372.9 MB, free: 8.23 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001565/0.03511, allocations: 1.185 MB / 374.1 MB, free: 6.996 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.019e-05/0.0352, allocations: 141.7 kB / 374.2 MB, free: 6.836 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001607/0.03536, allocations: 59.23 kB / 374.3 MB, free: 6.777 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002229/0.03558, allocations: 170.2 kB / 374.4 MB, free: 6.609 MB / 346.7 MB Notification: Performance of SimCode: time 7.72e-07/0.03558, allocations: 0 / 374.4 MB, free: 6.609 MB / 346.7 MB Notification: Performance of Templates: time 0.01066/0.04624, allocations: 7.772 MB / 382.2 MB, free: 14.91 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.makefile [Timeout 660] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1 -abortSlowSimulation -alarm=240 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.186544894706458]