Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2.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.001811/0.001811, allocations: 81.5 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.001937/0.001937, allocations: 173.2 kB / 22.76 MB, free: 1.66 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.607/1.607, allocations: 177.1 MB / 203.1 MB, free: 5.535 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.04446/0.04446, allocations: 6.489 MB / 266 MB, free: 6.668 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.TestTwoFlange2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2") translateModel(EHPTlib.MapBased.TestingModels.TestTwoFlange2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.497e-06/3.497e-06, allocations: 0 / 337.3 MB, free: 11.18 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.208e-05/3.558e-05, allocations: 2.312 kB / 337.3 MB, free: 11.18 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange2): time 0.005219/0.005255, allocations: 4.352 MB / 341.7 MB, free: 6.801 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002964/0.008219, allocations: 2.349 MB / 344 MB, free: 4.441 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002972/0.008516, allocations: 15.94 kB / 344 MB, free: 4.426 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004182/0.008934, allocations: 166.6 kB / 344.2 MB, free: 4.262 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006565/0.00959, allocations: 293.9 kB / 344.5 MB, free: 3.973 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006346/0.01022, allocations: 427.2 kB / 344.9 MB, free: 3.555 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006609/0.01089, allocations: 0.9739 MB / 345.9 MB, free: 2.578 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004467/0.01133, allocations: 345 kB / 346.2 MB, free: 2.215 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006143/0.01195, allocations: 0.5886 MB / 346.8 MB, free: 1.625 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003913/0.01234, allocations: 331.1 kB / 347.1 MB, free: 1.301 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001074/0.01245, allocations: 112 kB / 347.2 MB, free: 1.191 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002631/0.01271, allocations: 203.8 kB / 347.4 MB, free: 0.9922 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001996/0.01291, allocations: 251.2 kB / 347.7 MB, free: 0.7461 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000266/0.01317, allocations: 319.2 kB / 348 MB, free: 444 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00166/0.01483, allocations: 1.324 MB / 349.3 MB, free: 15.1 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.01484, allocations: 0 / 349.3 MB, free: 15.1 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.01484, allocations: 0 / 349.3 MB, free: 15.1 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.542e-05/0.01486, allocations: 0 / 349.3 MB, free: 15.1 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: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.002582/0.01744, allocations: 1.389 MB / 350.7 MB, free: 13.66 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.01748, allocations: 12.02 kB / 350.7 MB, free: 13.65 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002989/0.01778, allocations: 164.3 kB / 350.9 MB, free: 13.49 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009372/0.01872, allocations: 0.498 MB / 351.4 MB, free: 12.96 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.079e-05/0.01879, allocations: 62.31 kB / 351.4 MB, free: 12.9 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001438/0.01893, allocations: 80.33 kB / 351.5 MB, free: 12.82 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001667/0.0206, allocations: 0.9131 MB / 352.4 MB, free: 11.86 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.377e-05/0.02063, allocations: 7.938 kB / 352.4 MB, free: 11.85 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.662e-05/0.02071, allocations: 36 kB / 352.5 MB, free: 11.81 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.916e-05/0.02073, allocations: 16 kB / 352.5 MB, free: 11.8 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001255/0.02199, allocations: 0.5499 MB / 353 MB, free: 11.23 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00512/0.0271, allocations: 2.921 MB / 356 MB, free: 8.195 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001001/0.02811, allocations: 418.7 kB / 356.4 MB, free: 7.762 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004282/0.02853, allocations: 223.3 kB / 356.6 MB, free: 7.527 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.794e-05/0.02858, allocations: 8 kB / 356.6 MB, free: 7.52 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000715/0.0293, allocations: 402.2 kB / 357 MB, free: 7.082 MB / 282.7 MB Notification: Performance of pre-optimization done (n=35): time 2.064e-06/0.0293, allocations: 0 / 357 MB, free: 7.082 MB / 282.7 MB Notification: Performance of matching and sorting (n=35): time 0.001916/0.03122, allocations: 0.7585 MB / 357.8 MB, free: 6.277 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001336/0.03135, allocations: 170.2 kB / 357.9 MB, free: 6.074 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001001/0.03235, allocations: 0.69 MB / 358.6 MB, free: 5.367 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.86e-05/0.0324, allocations: 33.7 kB / 358.6 MB, free: 5.328 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004828/0.03288, allocations: 495 kB / 359.1 MB, free: 4.84 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001519/0.03303, allocations: 138.9 kB / 359.3 MB, free: 4.703 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002161/0.03325, allocations: 119.8 kB / 359.4 MB, free: 4.578 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000398/0.03365, allocations: 0.5938 MB / 360 MB, free: 3.973 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004896/0.03414, allocations: 254.7 kB / 360.2 MB, free: 3.703 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006962/0.03483, allocations: 496.1 kB / 360.7 MB, free: 3.113 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001064/0.0359, allocations: 0.6372 MB / 361.3 MB, free: 2.379 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.191e-06/0.0359, allocations: 7.938 kB / 361.3 MB, free: 2.371 MB / 282.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001447/0.03735, allocations: 0.7664 MB / 362.1 MB, free: 1.559 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.181e-05/0.03744, allocations: 97.16 kB / 362.2 MB, free: 1.445 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.329e-05/0.03745, allocations: 4 kB / 362.2 MB, free: 1.441 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002018/0.03766, allocations: 27.62 kB / 362.2 MB, free: 1.41 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003803/0.03804, allocations: 95.83 kB / 362.3 MB, free: 1.316 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00164/0.03968, allocations: 1.802 MB / 364.1 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000402/0.04008, allocations: 55.72 kB / 364.2 MB, free: 15.34 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.748e-05/0.04013, allocations: 20 kB / 364.2 MB, free: 15.32 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008732/0.041, allocations: 448.9 kB / 364.6 MB, free: 14.86 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006649/0.04166, allocations: 495.9 kB / 365.1 MB, free: 14.27 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00102/0.04268, allocations: 0.6241 MB / 365.8 MB, free: 13.55 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.284e-06/0.04269, allocations: 0 / 365.8 MB, free: 13.55 MB / 298.7 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.001369/0.04405, allocations: 0.737 MB / 366.5 MB, free: 12.77 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.852e-05/0.04414, allocations: 101.1 kB / 366.6 MB, free: 12.65 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.04415, allocations: 4 kB / 366.6 MB, free: 12.64 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001146/0.04426, allocations: 27.69 kB / 366.6 MB, free: 12.61 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003543/0.04462, allocations: 91.89 kB / 366.7 MB, free: 12.52 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001564/0.04618, allocations: 1.787 MB / 368.5 MB, free: 10.61 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003837/0.04656, allocations: 67.83 kB / 368.6 MB, free: 10.54 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.583e-05/0.04661, allocations: 20 kB / 368.6 MB, free: 10.52 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: 7 (tauRef.count,$PRE.tauRef.count,tauRef.T_start,$PRE.tauRef.T_start,twoFlanges.limTau.state,$whenCondition1,twoFlanges.constPDC.integrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 51 * 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.0003584/0.04697, allocations: 359.3 kB / 368.9 MB, free: 10.15 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001266/0.04709, allocations: 71.67 kB / 369 MB, free: 10.08 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001172/0.04827, allocations: 0.5597 MB / 369.6 MB, free: 9.488 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.04827, allocations: 4 kB / 369.6 MB, free: 9.484 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.04828, allocations: 4 kB / 369.6 MB, free: 9.48 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.362e-05/0.04829, allocations: 7.922 kB / 369.6 MB, free: 9.473 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002372/0.05066, allocations: 1.368 MB / 370.9 MB, free: 8.035 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.05067, allocations: 4 kB / 371 MB, free: 8.031 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002941/0.05096, allocations: 55.91 kB / 371 MB, free: 7.977 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001065/0.05107, allocations: 35.61 kB / 371 MB, free: 7.938 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.511e-05/0.0511, allocations: 8 kB / 371.1 MB, free: 7.93 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001652/0.05275, allocations: 1.783 MB / 372.8 MB, free: 6.027 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.05275, allocations: 0 / 372.8 MB, free: 6.027 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001745/0.0545, allocations: 0.9832 MB / 373.8 MB, free: 4.98 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001375/0.05464, allocations: 63.55 kB / 373.9 MB, free: 4.918 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.583e-05/0.0547, allocations: 12 kB / 373.9 MB, free: 4.906 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003103/0.05501, allocations: 31.97 kB / 373.9 MB, free: 4.875 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001227/0.05514, allocations: 35.88 kB / 374 MB, free: 4.84 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.537e-05/0.05517, allocations: 15.94 kB / 374 MB, free: 4.824 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0006286/0.0558, allocations: 430.8 kB / 374.4 MB, free: 4.406 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0558, allocations: 0 / 374.4 MB, free: 4.406 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001124/0.05692, allocations: 358.8 kB / 374.7 MB, free: 4.055 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,twoFlanges.constPDC.integrator1.y) * Number of discrete variables: 4 ($whenCondition1,twoFlanges.limTau.state,tauRef.T_start,tauRef.count) * Number of discrete states: 2 (tauRef.count,twoFlanges.limTau.state) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 27 * 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.002935/0.05986, allocations: 482.2 kB / 375.2 MB, free: 3.766 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002645/0.0625, allocations: 1.623 MB / 376.8 MB, free: 1.977 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.06251, allocations: 4.062 kB / 376.8 MB, free: 1.973 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007792/0.06329, allocations: 0.5425 MB / 377.4 MB, free: 1.367 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007436/0.06403, allocations: 88.05 kB / 377.5 MB, free: 1.281 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00286/0.06689, allocations: 1.346 MB / 378.8 MB, free: 15.89 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004184/0.06731, allocations: 330 kB / 379.1 MB, free: 15.54 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.00025/0.06756, allocations: 59.36 kB / 379.2 MB, free: 15.48 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001341/0.06769, allocations: 44.48 kB / 379.2 MB, free: 15.43 MB / 314.7 MB Notification: Performance of SimCode: time 1.223e-06/0.06769, allocations: 0 / 379.2 MB, free: 15.43 MB / 314.7 MB Notification: Performance of Templates: time 0.01785/0.08554, allocations: 8.328 MB / 387.6 MB, free: 7.184 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.01933131297119]