Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn.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.002069/0.002069, 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.002727/0.002727, allocations: 157.7 kB / 22.75 MB, free: 1.68 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.555/1.555, allocations: 177.2 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.04557/0.04557, allocations: 6.473 MB / 266 MB, free: 6.664 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.TestOneFlange.TestOneFlange1Conn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 337.3 MB, free: 11.16 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.376e-05/3.587e-05, allocations: 2.312 kB / 337.3 MB, free: 11.16 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn): time 0.005288/0.005324, allocations: 4.815 MB / 342.1 MB, free: 6.312 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002604/0.007928, allocations: 1.6 MB / 343.7 MB, free: 4.707 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005434/0.008471, allocations: 15.94 kB / 343.8 MB, free: 4.691 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005376/0.009009, allocations: 206.4 kB / 344 MB, free: 4.488 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008005/0.009809, allocations: 290 kB / 344.3 MB, free: 4.203 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007649/0.01057, allocations: 379.3 kB / 344.6 MB, free: 3.832 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009035/0.01148, allocations: 0.9819 MB / 345.6 MB, free: 2.848 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005564/0.01203, allocations: 356.3 kB / 346 MB, free: 2.473 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007821/0.01282, allocations: 0.5691 MB / 346.5 MB, free: 1.902 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003845/0.0132, allocations: 327 kB / 346.8 MB, free: 1.582 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001262/0.01333, allocations: 104 kB / 346.9 MB, free: 1.48 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002205/0.01355, allocations: 151.9 kB / 347.1 MB, free: 1.332 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001433/0.01369, allocations: 223.2 kB / 347.3 MB, free: 1.113 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002695/0.01396, allocations: 291.3 kB / 347.6 MB, free: 0.8281 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00123/0.01519, allocations: 1.161 MB / 348.8 MB, free: 15.66 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.0152, allocations: 0 / 348.8 MB, free: 15.66 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.0152, allocations: 0 / 348.8 MB, free: 15.66 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.552e-05/0.01522, allocations: 0 / 348.8 MB, free: 15.66 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: 171 * Number of variables: 171 Notification: Performance of Generate backend data structure: time 0.002636/0.01786, allocations: 1.157 MB / 349.9 MB, free: 14.46 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.0179, allocations: 8.031 kB / 349.9 MB, free: 14.45 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003066/0.0182, allocations: 152.4 kB / 350.1 MB, free: 14.3 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009814/0.01919, allocations: 487.1 kB / 350.5 MB, free: 13.8 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001867/0.01937, allocations: 110 kB / 350.6 MB, free: 13.68 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001527/0.01953, allocations: 68.38 kB / 350.7 MB, free: 13.61 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001838/0.02136, allocations: 0.8491 MB / 351.6 MB, free: 12.72 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.12e-05/0.0214, allocations: 4 kB / 351.6 MB, free: 12.71 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.833e-05/0.02147, allocations: 28 kB / 351.6 MB, free: 12.69 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.907e-05/0.02149, allocations: 16 kB / 351.6 MB, free: 12.67 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001666/0.02316, allocations: 0.5889 MB / 352.2 MB, free: 12.07 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004718/0.02788, allocations: 2.257 MB / 354.5 MB, free: 9.715 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001274/0.02915, allocations: 428.3 kB / 354.9 MB, free: 9.277 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005875/0.02974, allocations: 228.5 kB / 355.1 MB, free: 9.039 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.576e-05/0.02979, allocations: 16.2 kB / 355.1 MB, free: 9.023 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008371/0.03063, allocations: 393.7 kB / 355.5 MB, free: 8.598 MB / 282.7 MB Notification: Performance of pre-optimization done (n=36): time 2.033e-06/0.03063, allocations: 0 / 355.5 MB, free: 8.598 MB / 282.7 MB Notification: Performance of matching and sorting (n=36): time 0.002272/0.0329, allocations: 0.8005 MB / 356.3 MB, free: 7.75 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001315/0.03304, allocations: 144.4 kB / 356.4 MB, free: 7.578 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008439/0.03388, allocations: 0.5213 MB / 357 MB, free: 7.043 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.278e-05/0.03395, allocations: 37.7 kB / 357 MB, free: 7 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004077/0.03436, allocations: 384.3 kB / 357.4 MB, free: 6.621 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001726/0.03453, allocations: 123 kB / 357.5 MB, free: 6.5 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002135/0.03475, allocations: 94.14 kB / 357.6 MB, free: 6.402 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000235/0.03498, allocations: 362.8 kB / 357.9 MB, free: 6.039 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000666/0.03565, allocations: 279.8 kB / 358.2 MB, free: 5.746 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007691/0.03642, allocations: 413.4 kB / 358.6 MB, free: 5.266 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001323/0.03774, allocations: 0.6039 MB / 359.2 MB, free: 4.582 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/0.03775, allocations: 3.938 kB / 359.2 MB, free: 4.578 MB / 282.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001949/0.03969, allocations: 0.7829 MB / 360 MB, free: 3.75 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001055/0.0398, allocations: 93.09 kB / 360.1 MB, free: 3.641 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/0.03981, allocations: 4 kB / 360.1 MB, free: 3.637 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002072/0.04002, allocations: 32.78 kB / 360.1 MB, free: 3.602 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005058/0.04053, allocations: 100.2 kB / 360.2 MB, free: 3.504 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001376/0.0419, allocations: 1.26 MB / 361.5 MB, free: 2.145 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006009/0.0425, allocations: 75.62 kB / 361.6 MB, free: 2.07 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.139e-05/0.04257, allocations: 24.16 kB / 361.6 MB, free: 2.047 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008848/0.04346, allocations: 442.1 kB / 362 MB, free: 1.594 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007075/0.04417, allocations: 401.4 kB / 362.4 MB, free: 1.129 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001207/0.04537, allocations: 0.5865 MB / 363 MB, free: 476 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.779e-06/0.04538, allocations: 0 / 363 MB, free: 476 kB / 282.7 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.001754/0.04713, allocations: 0.7575 MB / 363.8 MB, free: 15.66 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.056e-05/0.04722, allocations: 93.09 kB / 363.8 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.04723, allocations: 4 kB / 363.9 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001285/0.04736, allocations: 28.84 kB / 363.9 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004539/0.04781, allocations: 99.81 kB / 364 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001312/0.04913, allocations: 1.26 MB / 365.2 MB, free: 14.05 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005665/0.04969, allocations: 71.69 kB / 365.3 MB, free: 13.98 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.418e-05/0.04976, allocations: 20 kB / 365.3 MB, free: 13.96 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: 8 (tauRef.count,$PRE.tauRef.count,tauRef.T_start,$PRE.tauRef.T_start,oneFlange.limTau.state,oneFlange.limitingTorque,$whenCondition1,oneFlange.pDC.integrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 52 * 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.0003153/0.05007, allocations: 279.6 kB / 365.6 MB, free: 13.67 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001759/0.05025, allocations: 71.61 kB / 365.7 MB, free: 13.6 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001568/0.05182, allocations: 0.5927 MB / 366.3 MB, free: 12.98 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.266e-06/0.05182, allocations: 4 kB / 366.3 MB, free: 12.97 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.05183, allocations: 4 kB / 366.3 MB, free: 12.97 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.05184, allocations: 4 kB / 366.3 MB, free: 12.96 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002584/0.05442, allocations: 1.119 MB / 367.4 MB, free: 11.78 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.05443, allocations: 0 / 367.4 MB, free: 11.78 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004148/0.05484, allocations: 71.89 kB / 367.5 MB, free: 11.71 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001219/0.05496, allocations: 24.84 kB / 367.5 MB, free: 11.68 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.698e-05/0.05501, allocations: 8 kB / 367.5 MB, free: 11.67 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001309/0.05632, allocations: 1.252 MB / 368.7 MB, free: 10.32 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.05632, allocations: 3.969 kB / 368.8 MB, free: 10.31 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002233/0.05855, allocations: 0.9919 MB / 369.7 MB, free: 9.262 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000244/0.0588, allocations: 87.5 kB / 369.8 MB, free: 9.176 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.133e-05/0.05889, allocations: 12 kB / 369.8 MB, free: 9.164 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004766/0.05936, allocations: 47.95 kB / 369.9 MB, free: 9.117 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001433/0.05951, allocations: 35.94 kB / 369.9 MB, free: 9.082 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.111e-05/0.05955, allocations: 12 kB / 369.9 MB, free: 9.07 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005675/0.06012, allocations: 366.9 kB / 370.3 MB, free: 8.715 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.06012, allocations: 0 / 370.3 MB, free: 8.715 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001051/0.06117, allocations: 318.9 kB / 370.6 MB, free: 8.402 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,oneFlange.pDC.integrator1.y) * Number of discrete variables: 5 ($whenCondition1,oneFlange.limitingTorque,oneFlange.limTau.state,tauRef.T_start,tauRef.count) * Number of discrete states: 2 (tauRef.count,oneFlange.limTau.state) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 29 * 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.001806/0.06297, allocations: 385.9 kB / 371 MB, free: 8.172 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.003044/0.06602, allocations: 1.451 MB / 372.4 MB, free: 6.574 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.9e-06/0.06602, allocations: 0 / 372.4 MB, free: 6.574 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009578/0.06698, allocations: 484.6 kB / 372.9 MB, free: 6.051 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007774/0.06776, allocations: 88.25 kB / 373 MB, free: 5.969 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002961/0.07072, allocations: 1.305 MB / 374.3 MB, free: 4.617 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004683/0.07119, allocations: 325.6 kB / 374.6 MB, free: 4.277 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003618/0.07155, allocations: 63.23 kB / 374.7 MB, free: 4.211 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001506/0.0717, allocations: 36.5 kB / 374.7 MB, free: 4.176 MB / 298.7 MB Notification: Performance of SimCode: time 1.492e-06/0.0717, allocations: 0 / 374.7 MB, free: 4.176 MB / 298.7 MB Notification: Performance of Templates: time 0.01716/0.08886, allocations: 7.116 MB / 381.8 MB, free: 13.13 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.916744672111236]