Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange1.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.001063/0.001063, allocations: 86.05 kB / 19.87 MB, free: 4.617 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.001116/0.001116, allocations: 170 kB / 23.27 MB, free: 1.223 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.082/1.082, allocations: 177.1 MB / 203.7 MB, free: 5.52 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.03047/0.03047, allocations: 6.491 MB / 266.7 MB, free: 6.48 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.TestTwoFlange1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange1") translateModel(EHPTlib.MapBased.TestingModels.TestTwoFlange1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.446e-06/3.446e-06, allocations: 0 / 338.5 MB, free: 11.61 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.222e-05/3.567e-05, allocations: 6.25 kB / 338.5 MB, free: 11.6 MB / 314.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange1): time 0.006942/0.006978, allocations: 4.341 MB / 342.9 MB, free: 7.234 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004878/0.01186, allocations: 2.38 MB / 345.2 MB, free: 4.844 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008841/0.01274, allocations: 19.94 kB / 345.3 MB, free: 4.824 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006659/0.01341, allocations: 162.6 kB / 345.4 MB, free: 4.664 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001327/0.01473, allocations: 293.8 kB / 345.7 MB, free: 4.375 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001151/0.01588, allocations: 423.3 kB / 346.1 MB, free: 3.961 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001511/0.0174, allocations: 0.9815 MB / 347.1 MB, free: 2.977 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006625/0.01806, allocations: 345 kB / 347.4 MB, free: 2.621 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009967/0.01905, allocations: 0.577 MB / 348 MB, free: 2.043 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005634/0.01962, allocations: 327 kB / 348.3 MB, free: 1.723 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001481/0.01977, allocations: 108 kB / 348.4 MB, free: 1.617 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002654/0.02003, allocations: 147.9 kB / 348.6 MB, free: 1.473 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000233/0.02026, allocations: 251.2 kB / 348.8 MB, free: 1.227 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003215/0.02059, allocations: 311.2 kB / 349.1 MB, free: 0.9219 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008981/0.02148, allocations: 0.7202 MB / 349.9 MB, free: 204 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.02149, allocations: 0 / 349.9 MB, free: 204 kB / 314.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.02149, allocations: 0 / 349.9 MB, free: 204 kB / 314.7 MB Notification: Performance of Transformations before backend: time 9.969e-06/0.0215, allocations: 0 / 349.9 MB, free: 204 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: 180 * Number of variables: 180 Notification: Performance of Generate backend data structure: time 0.001262/0.02276, allocations: 1.288 MB / 351.1 MB, free: 14.85 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.0228, allocations: 8.031 kB / 351.2 MB, free: 14.84 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001543/0.02295, allocations: 156.3 kB / 351.3 MB, free: 14.69 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004865/0.02344, allocations: 498 kB / 351.8 MB, free: 14.17 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.048e-05/0.02348, allocations: 58.38 kB / 351.8 MB, free: 14.12 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.243e-05/0.02355, allocations: 80.27 kB / 351.9 MB, free: 14.04 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005975/0.02415, allocations: 0.6311 MB / 352.6 MB, free: 13.36 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.003e-05/0.02417, allocations: 7.938 kB / 352.6 MB, free: 13.35 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.904e-05/0.02421, allocations: 28 kB / 352.6 MB, free: 13.32 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.378e-05/0.02422, allocations: 16 kB / 352.6 MB, free: 13.31 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002932/0.02451, allocations: 269.1 kB / 352.9 MB, free: 13.04 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002193/0.02671, allocations: 2.269 MB / 355.1 MB, free: 10.66 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003703/0.02708, allocations: 262.7 kB / 355.4 MB, free: 10.38 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001089/0.02719, allocations: 132.2 kB / 355.5 MB, free: 10.24 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.953e-05/0.02722, allocations: 8 kB / 355.5 MB, free: 10.23 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002633/0.02749, allocations: 301.1 kB / 355.8 MB, free: 9.891 MB / 330.7 MB Notification: Performance of pre-optimization done (n=35): time 1.543e-06/0.02749, allocations: 0 / 355.8 MB, free: 9.891 MB / 330.7 MB Notification: Performance of matching and sorting (n=35): time 0.0006057/0.0281, allocations: 0.5163 MB / 356.3 MB, free: 9.328 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.336e-05/0.02816, allocations: 140.4 kB / 356.5 MB, free: 9.16 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003903/0.02855, allocations: 0.5023 MB / 357 MB, free: 8.641 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.985e-05/0.02858, allocations: 37.7 kB / 357 MB, free: 8.598 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002516/0.02883, allocations: 470.9 kB / 357.5 MB, free: 8.133 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.577e-05/0.02891, allocations: 119 kB / 357.6 MB, free: 8.016 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001096/0.02902, allocations: 99.75 kB / 357.7 MB, free: 7.91 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001689/0.02918, allocations: 0.5429 MB / 358.2 MB, free: 7.355 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001227/0.02931, allocations: 162.7 kB / 358.4 MB, free: 7.176 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001824/0.02949, allocations: 338.6 kB / 358.7 MB, free: 6.75 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002942/0.02978, allocations: 448.8 kB / 359.2 MB, free: 6.215 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.02979, allocations: 7.875 kB / 359.2 MB, free: 6.207 MB / 330.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0005224/0.03031, allocations: 0.5513 MB / 359.7 MB, free: 5.609 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.237e-05/0.03037, allocations: 97.09 kB / 359.8 MB, free: 5.496 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/0.03038, allocations: 4 kB / 359.8 MB, free: 5.492 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001198/0.0305, allocations: 24.12 kB / 359.8 MB, free: 5.465 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002018/0.03071, allocations: 99.81 kB / 359.9 MB, free: 5.367 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008147/0.03152, allocations: 1.713 MB / 361.7 MB, free: 3.535 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001995/0.03172, allocations: 67.83 kB / 361.7 MB, free: 3.469 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.335e-05/0.03174, allocations: 20 kB / 361.7 MB, free: 3.449 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002111/0.03196, allocations: 280.9 kB / 362 MB, free: 3.152 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001873/0.03214, allocations: 334.6 kB / 362.3 MB, free: 2.734 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002908/0.03243, allocations: 446.9 kB / 362.8 MB, free: 2.203 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.55e-06/0.03244, allocations: 7.984 kB / 362.8 MB, free: 2.195 MB / 330.7 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.0004385/0.03288, allocations: 0.5454 MB / 363.3 MB, free: 1.602 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.535e-05/0.03292, allocations: 101 kB / 363.4 MB, free: 1.484 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.259e-06/0.03293, allocations: 8 kB / 363.4 MB, free: 1.477 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.168e-05/0.033, allocations: 27.61 kB / 363.5 MB, free: 1.445 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001677/0.03317, allocations: 88.33 kB / 363.6 MB, free: 1.359 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006973/0.03386, allocations: 1.729 MB / 365.3 MB, free: 15.52 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001829/0.03405, allocations: 55.77 kB / 365.3 MB, free: 15.46 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.139e-05/0.03407, allocations: 19.98 kB / 365.4 MB, free: 15.45 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: 7 (twoFlanges.constPDC.integrator1.local_reset,tauRef.count,$PRE.tauRef.count,tauRef.T_start,$PRE.tauRef.T_start,twoFlanges.limTau.state,$whenCondition1) * 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.0001803/0.03425, allocations: 362.2 kB / 365.7 MB, free: 15.07 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.504e-05/0.03431, allocations: 71.62 kB / 365.8 MB, free: 15 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003903/0.0347, allocations: 404.9 kB / 366.2 MB, free: 14.57 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.03471, allocations: 0 / 366.2 MB, free: 14.57 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.738e-06/0.03471, allocations: 4 kB / 366.2 MB, free: 14.57 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.03472, allocations: 0 / 366.2 MB, free: 14.57 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008404/0.03556, allocations: 0.8917 MB / 367.1 MB, free: 13.61 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.03556, allocations: 4 kB / 367.1 MB, free: 13.61 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001501/0.03571, allocations: 59.91 kB / 367.1 MB, free: 13.55 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.65e-05/0.03577, allocations: 23.66 kB / 367.2 MB, free: 13.52 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.02e-05/0.03579, allocations: 11.98 kB / 367.2 MB, free: 13.51 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000655/0.03645, allocations: 1.713 MB / 368.9 MB, free: 11.68 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.03645, allocations: 4.031 kB / 368.9 MB, free: 11.68 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005021/0.03695, allocations: 0.6781 MB / 369.6 MB, free: 10.94 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.884e-05/0.037, allocations: 55.55 kB / 369.6 MB, free: 10.89 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.545e-05/0.03704, allocations: 15.92 kB / 369.6 MB, free: 10.87 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001447/0.03718, allocations: 31.98 kB / 369.7 MB, free: 10.84 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.351e-05/0.03726, allocations: 35.94 kB / 369.7 MB, free: 10.8 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.538e-05/0.03727, allocations: 4 kB / 369.7 MB, free: 10.8 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001946/0.03747, allocations: 322.7 kB / 370 MB, free: 10.49 MB / 346.7 MB Notification: Performance of sort global known variables: time 4e-08/0.03747, allocations: 4 kB / 370 MB, free: 10.48 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005848/0.03805, allocations: 330.8 kB / 370.3 MB, free: 10.16 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,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.0007513/0.0388, allocations: 346.6 kB / 370.7 MB, free: 9.93 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0008397/0.03964, allocations: 1.269 MB / 372 MB, free: 8.492 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.03964, allocations: 1.75 kB / 372 MB, free: 8.492 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002473/0.03989, allocations: 451.5 kB / 372.4 MB, free: 7.992 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003392/0.04023, allocations: 93.23 kB / 372.5 MB, free: 7.906 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001537/0.04177, allocations: 1.25 MB / 373.7 MB, free: 6.605 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001031/0.04187, allocations: 149.7 kB / 373.9 MB, free: 6.438 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001615/0.04203, allocations: 63.34 kB / 373.9 MB, free: 6.375 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002288/0.04226, allocations: 174.2 kB / 374.1 MB, free: 6.203 MB / 346.7 MB Notification: Performance of SimCode: time 7.82e-07/0.04226, allocations: 0 / 374.1 MB, free: 6.203 MB / 346.7 MB Notification: Performance of Templates: time 0.01117/0.05343, allocations: 8.085 MB / 382.2 MB, free: 14.21 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange1.makefile [Timeout 660] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange1.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange1.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange1.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange1.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange1 -abortSlowSimulation -alarm=240 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.319061705376953]