Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_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.001413/0.001413, allocations: 84.73 kB / 19.44 MB, free: 356 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.001574/0.001574, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.494/1.494, allocations: 177.1 MB / 203.1 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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.04292/0.04292, allocations: 6.48 MB / 266.1 MB, free: 6.641 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.TestTwoFlange2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange2") translateModel(EHPTlib.MapBased.TestingModels.TestTwoFlange2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 337.3 MB, free: 11.16 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.202e-05/2.394e-05, allocations: 3.297 kB / 337.3 MB, free: 11.15 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange2): time 0.004584/0.004608, allocations: 4.123 MB / 341.5 MB, free: 7.004 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003125/0.007732, allocations: 2.33 MB / 343.8 MB, free: 4.664 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005511/0.008283, allocations: 15.94 kB / 343.8 MB, free: 4.648 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005122/0.008796, allocations: 166.6 kB / 344 MB, free: 4.484 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008161/0.009612, allocations: 293.9 kB / 344.3 MB, free: 4.195 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007122/0.01032, allocations: 427.2 kB / 344.7 MB, free: 3.777 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008226/0.01115, allocations: 0.9856 MB / 345.7 MB, free: 2.789 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004482/0.01159, allocations: 341.1 kB / 346 MB, free: 2.43 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006627/0.01226, allocations: 0.5847 MB / 346.6 MB, free: 1.844 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003795/0.01264, allocations: 307.1 kB / 346.9 MB, free: 1.543 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000115/0.01275, allocations: 112 kB / 347 MB, free: 1.434 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002674/0.01302, allocations: 203.8 kB / 347.2 MB, free: 1.234 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001684/0.01319, allocations: 247.2 kB / 347.4 MB, free: 0.9922 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00025/0.01344, allocations: 315.2 kB / 347.7 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001404/0.01484, allocations: 1.328 MB / 349.1 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.74e-06/0.01485, allocations: 4 kB / 349.1 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.01485, allocations: 0 / 349.1 MB, free: 15.35 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.918e-05/0.01488, allocations: 0 / 349.1 MB, free: 15.35 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: 180 * Number of variables: 180 Notification: Performance of Generate backend data structure: time 0.002624/0.0175, allocations: 1.207 MB / 350.3 MB, free: 14.09 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.01755, allocations: 8.031 kB / 350.3 MB, free: 14.08 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003204/0.01787, allocations: 164.3 kB / 350.4 MB, free: 13.92 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001031/0.0189, allocations: 0.5304 MB / 351 MB, free: 13.36 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.409e-05/0.01897, allocations: 62.38 kB / 351 MB, free: 13.3 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001512/0.01912, allocations: 80.33 kB / 351.1 MB, free: 13.22 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001884/0.02101, allocations: 0.8864 MB / 352 MB, free: 12.29 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.13e-05/0.02104, allocations: 7.922 kB / 352 MB, free: 12.28 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.919e-05/0.02112, allocations: 32 kB / 352 MB, free: 12.25 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.264e-05/0.02114, allocations: 16 kB / 352.1 MB, free: 12.23 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001491/0.02263, allocations: 0.5928 MB / 352.6 MB, free: 11.62 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004612/0.02724, allocations: 2.338 MB / 355 MB, free: 9.191 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001429/0.02867, allocations: 422.1 kB / 355.4 MB, free: 8.758 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00054/0.02921, allocations: 232.4 kB / 355.6 MB, free: 8.516 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.608e-05/0.02926, allocations: 11.94 kB / 355.6 MB, free: 8.504 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007723/0.03003, allocations: 380.6 kB / 356 MB, free: 8.094 MB / 282.7 MB Notification: Performance of pre-optimization done (n=35): time 1.603e-06/0.03003, allocations: 0 / 356 MB, free: 8.094 MB / 282.7 MB Notification: Performance of matching and sorting (n=35): time 0.002098/0.03213, allocations: 0.7985 MB / 356.8 MB, free: 7.25 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001301/0.03226, allocations: 162.2 kB / 357 MB, free: 7.055 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009283/0.03319, allocations: 0.6229 MB / 357.6 MB, free: 6.422 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.134e-05/0.03324, allocations: 33.7 kB / 357.6 MB, free: 6.383 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003984/0.03364, allocations: 404.2 kB / 358 MB, free: 5.984 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001325/0.03377, allocations: 119 kB / 358.1 MB, free: 5.867 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001918/0.03396, allocations: 98.14 kB / 358.2 MB, free: 5.766 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002254/0.03419, allocations: 362.7 kB / 358.6 MB, free: 5.402 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006213/0.03481, allocations: 279.8 kB / 358.9 MB, free: 5.105 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007552/0.03556, allocations: 448 kB / 359.3 MB, free: 4.586 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001236/0.0368, allocations: 0.5959 MB / 359.9 MB, free: 3.91 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.636e-06/0.0368, allocations: 0 / 359.9 MB, free: 3.91 MB / 282.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001675/0.03848, allocations: 0.7831 MB / 360.7 MB, free: 3.082 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.309e-05/0.03857, allocations: 97.09 kB / 360.8 MB, free: 2.969 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.03858, allocations: 4 kB / 360.8 MB, free: 2.965 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001635/0.03874, allocations: 16.86 kB / 360.8 MB, free: 2.945 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004359/0.03918, allocations: 99.81 kB / 360.9 MB, free: 2.848 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001345/0.04053, allocations: 1.284 MB / 362.2 MB, free: 1.461 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004889/0.04101, allocations: 75.69 kB / 362.2 MB, free: 1.387 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.956e-05/0.04106, allocations: 20 kB / 362.3 MB, free: 1.367 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00103/0.04209, allocations: 450.1 kB / 362.7 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007018/0.0428, allocations: 437.9 kB / 363.1 MB, free: 408 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001147/0.04394, allocations: 0.5746 MB / 363.7 MB, free: 15.75 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.394e-06/0.04395, allocations: 0 / 363.7 MB, free: 15.75 MB / 298.7 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.001577/0.04552, allocations: 0.7535 MB / 364.5 MB, free: 14.95 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.885e-05/0.0456, allocations: 89.55 kB / 364.5 MB, free: 14.84 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.04561, allocations: 11.98 kB / 364.6 MB, free: 14.83 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001098/0.04572, allocations: 28.8 kB / 364.6 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004038/0.04612, allocations: 91.88 kB / 364.7 MB, free: 14.71 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001242/0.04737, allocations: 1.264 MB / 365.9 MB, free: 13.34 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004767/0.04784, allocations: 71.89 kB / 366 MB, free: 13.27 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.925e-05/0.04789, allocations: 20 kB / 366 MB, free: 13.25 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.0002814/0.04817, allocations: 275.4 kB / 366.3 MB, free: 12.96 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001371/0.04831, allocations: 67.67 kB / 366.4 MB, free: 12.89 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001417/0.04973, allocations: 0.5881 MB / 367 MB, free: 12.27 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.513e-06/0.04973, allocations: 4 kB / 367 MB, free: 12.26 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.04974, allocations: 7.875 kB / 367 MB, free: 12.25 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.732e-06/0.04975, allocations: 3.984 kB / 367 MB, free: 12.25 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002338/0.05208, allocations: 1.147 MB / 368.1 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.662e-06/0.05209, allocations: 3.938 kB / 368.1 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003681/0.05246, allocations: 63.94 kB / 368.2 MB, free: 10.97 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001213/0.05258, allocations: 28.8 kB / 368.2 MB, free: 10.94 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.053e-05/0.05262, allocations: 15.98 kB / 368.2 MB, free: 10.93 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001474/0.05409, allocations: 1.252 MB / 369.5 MB, free: 9.57 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.0541, allocations: 0 / 369.5 MB, free: 9.57 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002096/0.05619, allocations: 0.9602 MB / 370.4 MB, free: 8.555 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001493/0.05634, allocations: 63.64 kB / 370.5 MB, free: 8.492 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.901e-05/0.05642, allocations: 8 kB / 370.5 MB, free: 8.484 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004305/0.05685, allocations: 43.95 kB / 370.6 MB, free: 8.441 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000127/0.05698, allocations: 43.88 kB / 370.6 MB, free: 8.398 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.64e-05/0.05702, allocations: 12 kB / 370.6 MB, free: 8.387 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0006658/0.05769, allocations: 442.8 kB / 371 MB, free: 7.957 MB / 298.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.05769, allocations: 0 / 371 MB, free: 7.957 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001111/0.0588, allocations: 358.7 kB / 371.4 MB, free: 7.605 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.00209/0.06089, allocations: 497.8 kB / 371.9 MB, free: 7.305 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002941/0.06383, allocations: 1.43 MB / 373.3 MB, free: 5.727 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.06384, allocations: 0 / 373.3 MB, free: 5.727 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000902/0.06474, allocations: 485.7 kB / 373.8 MB, free: 5.203 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007572/0.06549, allocations: 91.81 kB / 373.9 MB, free: 5.113 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002979/0.06847, allocations: 1.389 MB / 375.3 MB, free: 3.676 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005084/0.06898, allocations: 353.9 kB / 375.6 MB, free: 3.301 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003351/0.06932, allocations: 63.36 kB / 375.7 MB, free: 3.238 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001558/0.06947, allocations: 44.48 kB / 375.7 MB, free: 3.195 MB / 298.7 MB Notification: Performance of SimCode: time 8.92e-07/0.06947, allocations: 0 / 375.7 MB, free: 3.195 MB / 298.7 MB Notification: Performance of Templates: time 0.01909/0.08857, allocations: 8.305 MB / 384 MB, free: 10.96 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange2.makefile [Timeout 660] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange2.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange2.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange2.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange2.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.6547411469509825]