Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_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.001428/0.001428, allocations: 93.16 kB / 19.65 MB, free: 292 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.001688/0.001688, allocations: 168.9 kB / 23.01 MB, free: 1.566 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 0.9526/0.9526, allocations: 177.1 MB / 203.4 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] 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.02579/0.02579, allocations: 6.469 MB / 266.4 MB, free: 6.652 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.TestTwoFlange1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1") translateModel(EHPTlib.MapBased.TestingModels.TestTwoFlange1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 338 MB, free: 11.89 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.205e-05/3.413e-05, allocations: 8.359 kB / 338 MB, free: 11.88 MB / 314.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange1): time 0.007318/0.007353, allocations: 4.407 MB / 342.5 MB, free: 7.449 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003653/0.01101, allocations: 2.376 MB / 344.8 MB, free: 5.062 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003923/0.0114, allocations: 15.94 kB / 344.8 MB, free: 5.047 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004153/0.01181, allocations: 162.6 kB / 345 MB, free: 4.887 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006656/0.01248, allocations: 289.9 kB / 345.3 MB, free: 4.602 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006145/0.01309, allocations: 423.2 kB / 345.7 MB, free: 4.188 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009196/0.01401, allocations: 0.9815 MB / 346.7 MB, free: 3.203 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004485/0.01446, allocations: 345 kB / 347 MB, free: 2.848 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006622/0.01512, allocations: 0.5731 MB / 347.6 MB, free: 2.273 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003834/0.01551, allocations: 319.1 kB / 347.9 MB, free: 1.961 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 9.753e-05/0.0156, allocations: 108 kB / 348 MB, free: 1.855 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001645/0.01577, allocations: 147.9 kB / 348.2 MB, free: 1.711 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001769/0.01595, allocations: 251.2 kB / 348.4 MB, free: 1.465 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002271/0.01617, allocations: 311.2 kB / 348.7 MB, free: 1.16 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009566/0.01713, allocations: 0.7163 MB / 349.4 MB, free: 452 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.01713, allocations: 4 kB / 349.4 MB, free: 448 kB / 314.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.01713, allocations: 4 kB / 349.4 MB, free: 444 kB / 314.7 MB Notification: Performance of Transformations before backend: time 1.095e-05/0.01715, allocations: 0 / 349.4 MB, free: 444 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: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.001335/0.01848, allocations: 1.272 MB / 350.7 MB, free: 15.1 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.01852, allocations: 8.031 kB / 350.7 MB, free: 15.09 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001711/0.01869, allocations: 164.3 kB / 350.9 MB, free: 14.93 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005228/0.01921, allocations: 494 kB / 351.4 MB, free: 14.42 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.327e-05/0.01926, allocations: 58.38 kB / 351.4 MB, free: 14.37 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.183e-05/0.01934, allocations: 84.31 kB / 351.5 MB, free: 14.29 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007668/0.0201, allocations: 0.678 MB / 352.2 MB, free: 13.56 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.058e-05/0.02012, allocations: 3.938 kB / 352.2 MB, free: 13.55 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.216e-05/0.02017, allocations: 28 kB / 352.2 MB, free: 13.53 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.423e-05/0.02018, allocations: 16 kB / 352.2 MB, free: 13.51 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004369/0.02062, allocations: 323.1 kB / 352.5 MB, free: 13.18 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002348/0.02297, allocations: 2.35 MB / 354.9 MB, free: 10.72 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004638/0.02343, allocations: 282.7 kB / 355.2 MB, free: 10.42 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001503/0.02358, allocations: 144.2 kB / 355.3 MB, free: 10.27 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.406e-05/0.02361, allocations: 4 kB / 355.3 MB, free: 10.26 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002928/0.02391, allocations: 317.1 kB / 355.6 MB, free: 9.906 MB / 330.7 MB Notification: Performance of pre-optimization done (n=35): time 2.164e-06/0.02391, allocations: 0 / 355.6 MB, free: 9.906 MB / 330.7 MB Notification: Performance of matching and sorting (n=35): time 0.0009631/0.02487, allocations: 0.5592 MB / 356.2 MB, free: 9.301 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.751e-05/0.02493, allocations: 144.5 kB / 356.3 MB, free: 9.129 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004033/0.02533, allocations: 0.5065 MB / 356.8 MB, free: 8.605 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.916e-05/0.02536, allocations: 37.7 kB / 356.9 MB, free: 8.562 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002177/0.02558, allocations: 455 kB / 357.3 MB, free: 8.113 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.919e-05/0.02566, allocations: 130.8 kB / 357.4 MB, free: 7.984 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001081/0.02577, allocations: 103.8 kB / 357.5 MB, free: 7.875 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.02591, allocations: 0.5391 MB / 358.1 MB, free: 7.324 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001661/0.02608, allocations: 174.7 kB / 358.2 MB, free: 7.133 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000224/0.0263, allocations: 354.7 kB / 358.6 MB, free: 6.691 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003697/0.02667, allocations: 476.9 kB / 359.1 MB, free: 6.129 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.02668, allocations: 7.938 kB / 359.1 MB, free: 6.121 MB / 330.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.000604/0.02728, allocations: 0.5944 MB / 359.7 MB, free: 5.48 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.022e-05/0.02733, allocations: 91.91 kB / 359.7 MB, free: 5.375 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.02734, allocations: 7.984 kB / 359.8 MB, free: 5.367 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001522/0.02749, allocations: 31.67 kB / 359.8 MB, free: 5.332 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002071/0.0277, allocations: 87.83 kB / 359.9 MB, free: 5.246 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007958/0.0285, allocations: 1.744 MB / 361.6 MB, free: 3.379 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002133/0.02871, allocations: 59.7 kB / 361.7 MB, free: 3.32 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.718e-05/0.02874, allocations: 24 kB / 361.7 MB, free: 3.297 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002597/0.029, allocations: 296.9 kB / 362 MB, free: 2.984 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002236/0.02922, allocations: 350.7 kB / 362.3 MB, free: 2.551 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003725/0.02959, allocations: 482.9 kB / 362.8 MB, free: 1.984 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.876e-06/0.02959, allocations: 0 / 362.8 MB, free: 1.984 MB / 330.7 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.0009309/0.03053, allocations: 0.5767 MB / 363.4 MB, free: 1.359 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.99e-05/0.03057, allocations: 93.47 kB / 363.5 MB, free: 1.25 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.03057, allocations: 8 kB / 363.5 MB, free: 1.242 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.791e-05/0.03065, allocations: 31.67 kB / 363.5 MB, free: 1.207 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001872/0.03083, allocations: 91.83 kB / 363.6 MB, free: 1.117 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006798/0.03151, allocations: 1.732 MB / 365.3 MB, free: 15.26 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002043/0.03172, allocations: 63.84 kB / 365.4 MB, free: 15.2 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.525e-05/0.03174, allocations: 23.98 kB / 365.4 MB, free: 15.17 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 (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.000165/0.03191, allocations: 359.3 kB / 365.8 MB, free: 14.8 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.487e-05/0.03197, allocations: 67.67 kB / 365.8 MB, free: 14.73 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004647/0.03244, allocations: 428.9 kB / 366.2 MB, free: 14.28 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.03244, allocations: 4 kB / 366.3 MB, free: 14.28 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.03245, allocations: 7.984 kB / 366.3 MB, free: 14.27 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.03245, allocations: 3.938 kB / 366.3 MB, free: 14.27 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009954/0.03345, allocations: 1.024 MB / 367.3 MB, free: 13.17 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.03345, allocations: 3.984 kB / 367.3 MB, free: 13.17 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001599/0.03361, allocations: 51.91 kB / 367.3 MB, free: 13.12 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.5e-05/0.03367, allocations: 31.56 kB / 367.4 MB, free: 13.08 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.399e-05/0.0337, allocations: 11.98 kB / 367.4 MB, free: 13.07 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000636/0.03433, allocations: 1.732 MB / 369.1 MB, free: 11.21 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.03433, allocations: 0 / 369.1 MB, free: 11.21 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006055/0.03494, allocations: 0.7133 MB / 369.8 MB, free: 10.44 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.7e-05/0.035, allocations: 55.59 kB / 369.9 MB, free: 10.39 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.702e-05/0.03503, allocations: 12 kB / 369.9 MB, free: 10.38 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001502/0.03518, allocations: 36.09 kB / 369.9 MB, free: 10.34 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.634e-05/0.03527, allocations: 35.89 kB / 370 MB, free: 10.3 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002595/0.03553, allocations: 15.98 kB / 370 MB, free: 10.29 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002534/0.03578, allocations: 330.8 kB / 370.3 MB, free: 9.969 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03578, allocations: 0 / 370.3 MB, free: 9.969 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005796/0.03636, allocations: 338.8 kB / 370.6 MB, free: 9.637 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.0006984/0.03706, allocations: 349.6 kB / 371 MB, free: 9.41 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001029/0.03809, allocations: 1.314 MB / 372.3 MB, free: 7.93 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.03809, allocations: 4.062 kB / 372.3 MB, free: 7.926 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002834/0.03838, allocations: 459.6 kB / 372.7 MB, free: 7.418 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003625/0.03874, allocations: 90.44 kB / 372.8 MB, free: 7.328 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001648/0.04039, allocations: 1.257 MB / 374.1 MB, free: 6.023 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.415e-05/0.04048, allocations: 153.7 kB / 374.2 MB, free: 5.855 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001463/0.04063, allocations: 63.36 kB / 374.3 MB, free: 5.793 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.102e-05/0.04071, allocations: 36.48 kB / 374.3 MB, free: 5.758 MB / 346.7 MB Notification: Performance of SimCode: time 5.71e-07/0.04071, allocations: 0 / 374.3 MB, free: 5.758 MB / 346.7 MB Notification: Performance of Templates: time 0.01019/0.0509, allocations: 7.585 MB / 381.9 MB, free: 14.23 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1 -abortSlowSimulation -alarm=240 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.1039346209727228]