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.002176/0.002176, 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.002129/0.002129, allocations: 173.6 kB / 22.76 MB, free: 1.664 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.563/1.563, allocations: 177.1 MB / 203.1 MB, free: 5.582 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.04649/0.04649, allocations: 6.474 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.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 3.386e-06/3.386e-06, allocations: 4 kB / 337.3 MB, free: 11.15 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.699e-05/3.038e-05, allocations: 2.312 kB / 337.3 MB, free: 11.14 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange1): time 0.004738/0.004768, allocations: 4.345 MB / 341.7 MB, free: 6.773 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003242/0.00801, allocations: 2.345 MB / 344 MB, free: 4.418 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003849/0.008395, allocations: 15.94 kB / 344 MB, free: 4.402 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004285/0.008824, allocations: 174.5 kB / 344.2 MB, free: 4.23 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006499/0.009474, allocations: 282 kB / 344.5 MB, free: 3.953 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006287/0.0101, allocations: 423.2 kB / 344.9 MB, free: 3.539 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006449/0.01075, allocations: 0.9817 MB / 345.9 MB, free: 2.555 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004033/0.01115, allocations: 337.1 kB / 346.2 MB, free: 2.199 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005326/0.01168, allocations: 0.5808 MB / 346.8 MB, free: 1.617 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003796/0.01206, allocations: 327.1 kB / 347.1 MB, free: 1.297 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001046/0.01217, allocations: 108 kB / 347.2 MB, free: 1.191 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001754/0.01234, allocations: 136 kB / 347.3 MB, free: 1.059 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001776/0.01252, allocations: 243.2 kB / 347.6 MB, free: 0.8203 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000245/0.01277, allocations: 315.2 kB / 347.9 MB, free: 0.5117 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001414/0.01418, allocations: 1.246 MB / 349.1 MB, free: 15.26 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.01419, allocations: 0 / 349.1 MB, free: 15.26 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.695e-06/0.01419, allocations: 0 / 349.1 MB, free: 15.26 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.331e-05/0.01421, allocations: 0 / 349.1 MB, free: 15.26 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.002836/0.01705, allocations: 1.362 MB / 350.5 MB, free: 13.84 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.01709, allocations: 8.031 kB / 350.5 MB, free: 13.84 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002915/0.01738, allocations: 160.3 kB / 350.7 MB, free: 13.68 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009299/0.01831, allocations: 0.5018 MB / 351.2 MB, free: 13.15 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.137e-05/0.01838, allocations: 58.38 kB / 351.2 MB, free: 13.09 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001321/0.01851, allocations: 80.33 kB / 351.3 MB, free: 13.01 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001604/0.02012, allocations: 0.8805 MB / 352.2 MB, free: 12.09 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.314e-05/0.02015, allocations: 7.938 kB / 352.2 MB, free: 12.08 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.276e-05/0.02022, allocations: 36 kB / 352.2 MB, free: 12.05 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.223e-05/0.02025, allocations: 16 kB / 352.2 MB, free: 12.03 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001228/0.02147, allocations: 0.5499 MB / 352.8 MB, free: 11.46 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005003/0.02648, allocations: 2.91 MB / 355.7 MB, free: 8.441 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001055/0.02753, allocations: 426.6 kB / 356.1 MB, free: 8 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004355/0.02797, allocations: 223.3 kB / 356.3 MB, free: 7.766 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.427e-05/0.02801, allocations: 8 kB / 356.3 MB, free: 7.758 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009658/0.02898, allocations: 406.2 kB / 356.7 MB, free: 7.316 MB / 282.7 MB Notification: Performance of pre-optimization done (n=35): time 1.913e-06/0.02898, allocations: 0 / 356.7 MB, free: 7.316 MB / 282.7 MB Notification: Performance of matching and sorting (n=35): time 0.001789/0.03077, allocations: 0.7546 MB / 357.5 MB, free: 6.516 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001258/0.03089, allocations: 140.5 kB / 357.6 MB, free: 6.348 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009957/0.03189, allocations: 0.6744 MB / 358.3 MB, free: 5.656 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.411e-05/0.03194, allocations: 41.69 kB / 358.3 MB, free: 5.609 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004921/0.03244, allocations: 487 kB / 358.8 MB, free: 5.129 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001697/0.03261, allocations: 143 kB / 359 MB, free: 4.988 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002131/0.03282, allocations: 119.8 kB / 359.1 MB, free: 4.863 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0004045/0.03322, allocations: 0.586 MB / 359.7 MB, free: 4.266 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005023/0.03373, allocations: 262.7 kB / 359.9 MB, free: 3.988 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000676/0.0344, allocations: 462.6 kB / 360.4 MB, free: 3.441 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001103/0.0355, allocations: 0.6333 MB / 361 MB, free: 2.711 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.878e-06/0.03551, allocations: 11.94 kB / 361 MB, free: 2.699 MB / 282.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001466/0.03698, allocations: 0.7508 MB / 361.8 MB, free: 1.902 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.256e-05/0.03707, allocations: 101.1 kB / 361.9 MB, free: 1.785 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.03708, allocations: 0 / 361.9 MB, free: 1.785 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001856/0.03727, allocations: 31.67 kB / 361.9 MB, free: 1.75 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003948/0.03766, allocations: 95.83 kB / 362 MB, free: 1.656 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001868/0.03953, allocations: 1.787 MB / 363.8 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003938/0.03992, allocations: 67.73 kB / 363.8 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.54e-05/0.03997, allocations: 20 kB / 363.9 MB, free: 15.66 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000756/0.04072, allocations: 444.9 kB / 364.3 MB, free: 15.2 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006429/0.04137, allocations: 449.3 kB / 364.7 MB, free: 14.68 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009946/0.04236, allocations: 0.6163 MB / 365.4 MB, free: 13.96 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.2e-06/0.04237, allocations: 8 kB / 365.4 MB, free: 13.96 MB / 298.7 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.001344/0.04371, allocations: 0.7249 MB / 366.1 MB, free: 13.18 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.409e-05/0.04379, allocations: 97.47 kB / 366.2 MB, free: 13.07 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.0438, allocations: 7.984 kB / 366.2 MB, free: 13.06 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000109/0.04391, allocations: 31.67 kB / 366.2 MB, free: 13.03 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003623/0.04427, allocations: 95.83 kB / 366.3 MB, free: 12.93 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00152/0.04579, allocations: 1.791 MB / 368.1 MB, free: 11.02 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003802/0.04617, allocations: 59.91 kB / 368.2 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.662e-05/0.04622, allocations: 23.98 kB / 368.2 MB, free: 10.93 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.0003302/0.04655, allocations: 361.6 kB / 368.5 MB, free: 10.56 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001226/0.04667, allocations: 67.67 kB / 368.6 MB, free: 10.5 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001225/0.0479, allocations: 0.5598 MB / 369.2 MB, free: 9.902 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.972e-06/0.0479, allocations: 7.984 kB / 369.2 MB, free: 9.895 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.04791, allocations: 4 kB / 369.2 MB, free: 9.891 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/0.04792, allocations: 3.938 kB / 369.2 MB, free: 9.887 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002659/0.05058, allocations: 1.361 MB / 370.5 MB, free: 8.457 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.05058, allocations: 0 / 370.5 MB, free: 8.457 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003025/0.05088, allocations: 51.91 kB / 370.6 MB, free: 8.406 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001082/0.05099, allocations: 31.62 kB / 370.6 MB, free: 8.371 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.274e-05/0.05103, allocations: 15.98 kB / 370.6 MB, free: 8.355 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00152/0.05255, allocations: 1.787 MB / 372.4 MB, free: 6.449 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.05255, allocations: 0 / 372.4 MB, free: 6.449 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001801/0.05435, allocations: 0.9753 MB / 373.4 MB, free: 5.406 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001395/0.05449, allocations: 67.5 kB / 373.5 MB, free: 5.34 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.605e-05/0.05457, allocations: 15.92 kB / 373.5 MB, free: 5.324 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003121/0.05488, allocations: 27.98 kB / 373.5 MB, free: 5.297 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001267/0.05501, allocations: 39.88 kB / 373.5 MB, free: 5.258 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.201e-05/0.05504, allocations: 12 kB / 373.6 MB, free: 5.246 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0006049/0.05564, allocations: 422.8 kB / 374 MB, free: 4.836 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.05564, allocations: 0 / 374 MB, free: 4.836 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0009628/0.05661, allocations: 322.9 kB / 374.3 MB, free: 4.52 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.002644/0.05925, allocations: 385.6 kB / 374.7 MB, free: 4.289 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002561/0.06181, allocations: 1.618 MB / 376.3 MB, free: 2.504 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.06181, allocations: 0 / 376.3 MB, free: 2.504 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007929/0.06261, allocations: 0.5464 MB / 376.8 MB, free: 1.898 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005951/0.0632, allocations: 87.27 kB / 376.9 MB, free: 1.816 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00275/0.06595, allocations: 1.321 MB / 378.2 MB, free: 456 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004352/0.06639, allocations: 334 kB / 378.6 MB, free: 96 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002447/0.06663, allocations: 67.34 kB / 378.6 MB, free: 28 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001479/0.06678, allocations: 36.55 kB / 378.7 MB, free: 15.99 MB / 314.7 MB Notification: Performance of SimCode: time 9.12e-07/0.06678, allocations: 4 kB / 378.7 MB, free: 15.98 MB / 314.7 MB Notification: Performance of Templates: time 0.01668/0.08346, allocations: 7.579 MB / 386.2 MB, free: 8.477 MB / 314.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: 4.963553579058498]