Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_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.0009759/0.0009759, allocations: 93.06 kB / 19.65 MB, free: 276 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.00151/0.00151, allocations: 169 kB / 23.02 MB, free: 1.543 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.9514/0.9514, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.05221/0.05221, allocations: 6.48 MB / 266.4 MB, free: 6.637 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.TestTwoFlange2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2") translateModel(EHPTlib.MapBased.TestingModels.TestTwoFlange2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 0 / 338.1 MB, free: 10.82 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.736e-05/1.912e-05, allocations: 4.844 kB / 338.1 MB, free: 10.81 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange2): time 0.004143/0.004162, allocations: 4.419 MB / 342.5 MB, free: 6.367 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00271/0.006872, allocations: 2.368 MB / 344.8 MB, free: 3.988 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000389/0.007261, allocations: 15.94 kB / 344.9 MB, free: 3.973 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003624/0.007623, allocations: 170.6 kB / 345 MB, free: 3.805 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005934/0.008217, allocations: 285.9 kB / 345.3 MB, free: 3.523 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005529/0.00877, allocations: 435.2 kB / 345.7 MB, free: 3.098 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006515/0.009421, allocations: 0.9817 MB / 346.7 MB, free: 2.113 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003631/0.009784, allocations: 341 kB / 347 MB, free: 1.754 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005143/0.0103, allocations: 0.5809 MB / 347.6 MB, free: 1.172 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003308/0.01063, allocations: 335 kB / 348 MB, free: 0.8438 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.369e-05/0.01071, allocations: 112 kB / 348.1 MB, free: 0.7344 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002118/0.01092, allocations: 199.8 kB / 348.3 MB, free: 0.5391 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001503/0.01108, allocations: 255.2 kB / 348.5 MB, free: 296 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001992/0.01127, allocations: 319.3 kB / 348.8 MB, free: 15.97 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007926/0.01207, allocations: 0.7941 MB / 349.6 MB, free: 15.18 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.01207, allocations: 0 / 349.6 MB, free: 15.18 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.01207, allocations: 0 / 349.6 MB, free: 15.18 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.078e-05/0.01208, allocations: 0 / 349.6 MB, free: 15.18 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.001424/0.01351, allocations: 1.288 MB / 350.9 MB, free: 13.84 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.01354, allocations: 12.03 kB / 350.9 MB, free: 13.82 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001808/0.01372, allocations: 164.3 kB / 351.1 MB, free: 13.66 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005439/0.01427, allocations: 0.494 MB / 351.6 MB, free: 13.14 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.205e-05/0.01431, allocations: 58.38 kB / 351.6 MB, free: 13.08 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.672e-05/0.01439, allocations: 80.33 kB / 351.7 MB, free: 13 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007696/0.01516, allocations: 0.7029 MB / 352.4 MB, free: 12.25 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.765e-05/0.01518, allocations: 7.875 kB / 352.4 MB, free: 12.24 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.419e-05/0.01525, allocations: 40 kB / 352.5 MB, free: 12.2 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.08e-05/0.01527, allocations: 16 kB / 352.5 MB, free: 12.18 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005408/0.01581, allocations: 315.2 kB / 352.8 MB, free: 11.86 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002506/0.01831, allocations: 2.358 MB / 355.1 MB, free: 9.402 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004441/0.01876, allocations: 286.7 kB / 355.4 MB, free: 9.098 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001551/0.01891, allocations: 144.2 kB / 355.6 MB, free: 8.941 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.238e-05/0.01895, allocations: 7.984 kB / 355.6 MB, free: 8.934 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002789/0.01923, allocations: 305.3 kB / 355.9 MB, free: 8.59 MB / 282.7 MB Notification: Performance of pre-optimization done (n=35): time 1.413e-06/0.01923, allocations: 0 / 355.9 MB, free: 8.59 MB / 282.7 MB Notification: Performance of matching and sorting (n=35): time 0.0007261/0.01995, allocations: 0.5592 MB / 356.4 MB, free: 7.984 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.413e-05/0.02003, allocations: 170.2 kB / 356.6 MB, free: 7.781 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004724/0.0205, allocations: 0.5104 MB / 357.1 MB, free: 7.254 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.299e-05/0.02053, allocations: 37.7 kB / 357.1 MB, free: 7.211 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002648/0.0208, allocations: 451 kB / 357.6 MB, free: 6.766 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.286e-05/0.02089, allocations: 126.9 kB / 357.7 MB, free: 6.641 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001172/0.02101, allocations: 103.8 kB / 357.8 MB, free: 6.527 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001745/0.02118, allocations: 0.5391 MB / 358.3 MB, free: 5.977 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001841/0.02137, allocations: 178.7 kB / 358.5 MB, free: 5.777 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002982/0.02166, allocations: 396 kB / 358.9 MB, free: 5.289 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004307/0.02209, allocations: 476.7 kB / 359.4 MB, free: 4.727 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.631e-06/0.0221, allocations: 3.938 kB / 359.4 MB, free: 4.723 MB / 282.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.000596/0.0227, allocations: 0.5946 MB / 360 MB, free: 4.082 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.263e-05/0.02274, allocations: 89.17 kB / 360.1 MB, free: 3.977 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.02275, allocations: 4 kB / 360.1 MB, free: 3.973 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001374/0.02289, allocations: 31.67 kB / 360.1 MB, free: 3.938 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002016/0.02309, allocations: 87.89 kB / 360.2 MB, free: 3.852 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007671/0.02386, allocations: 1.752 MB / 361.9 MB, free: 1.973 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001819/0.02404, allocations: 63.61 kB / 362 MB, free: 1.91 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.682e-05/0.02406, allocations: 24 kB / 362 MB, free: 1.887 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002392/0.0243, allocations: 296.9 kB / 362.3 MB, free: 1.57 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002436/0.02455, allocations: 384.1 kB / 362.7 MB, free: 1.098 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003674/0.02491, allocations: 471 kB / 363.1 MB, free: 0.543 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.533e-06/0.02492, allocations: 0 / 363.1 MB, free: 0.543 MB / 282.7 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.0005507/0.02547, allocations: 0.5884 MB / 363.7 MB, free: 15.91 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.782e-05/0.0255, allocations: 93.05 kB / 363.8 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.02551, allocations: 4 kB / 363.8 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.503e-05/0.02557, allocations: 32.11 kB / 363.8 MB, free: 15.76 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001805/0.02575, allocations: 91.83 kB / 363.9 MB, free: 15.67 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006949/0.02645, allocations: 1.736 MB / 365.7 MB, free: 13.81 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000179/0.02663, allocations: 59.88 kB / 365.7 MB, free: 13.75 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.415e-05/0.02665, allocations: 24 kB / 365.8 MB, free: 13.73 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.0001781/0.02683, allocations: 363.3 kB / 366.1 MB, free: 13.35 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.669e-05/0.0269, allocations: 75.62 kB / 366.2 MB, free: 13.28 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004351/0.02733, allocations: 425 kB / 366.6 MB, free: 12.82 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.02733, allocations: 0 / 366.6 MB, free: 12.82 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.02734, allocations: 7.938 kB / 366.6 MB, free: 12.82 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.02734, allocations: 7.922 kB / 366.6 MB, free: 12.81 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009577/0.0283, allocations: 1.036 MB / 367.7 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.0283, allocations: 0 / 367.7 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000153/0.02846, allocations: 51.91 kB / 367.7 MB, free: 11.65 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.364e-05/0.02852, allocations: 27.61 kB / 367.7 MB, free: 11.62 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.229e-05/0.02854, allocations: 8 kB / 367.7 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007071/0.02925, allocations: 1.732 MB / 369.5 MB, free: 9.758 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.02925, allocations: 4 kB / 369.5 MB, free: 9.754 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000623/0.02987, allocations: 0.7171 MB / 370.2 MB, free: 8.977 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.22e-05/0.02993, allocations: 59.61 kB / 370.2 MB, free: 8.918 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.893e-05/0.02996, allocations: 11.98 kB / 370.3 MB, free: 8.906 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001434/0.03011, allocations: 27.98 kB / 370.3 MB, free: 8.879 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.882e-05/0.03019, allocations: 43.94 kB / 370.3 MB, free: 8.836 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.801e-05/0.03021, allocations: 12 kB / 370.3 MB, free: 8.824 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000247/0.03045, allocations: 338.8 kB / 370.7 MB, free: 8.496 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03045, allocations: 0 / 370.7 MB, free: 8.496 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005332/0.03099, allocations: 362.7 kB / 371 MB, free: 8.141 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.0008779/0.03186, allocations: 462.9 kB / 371.5 MB, free: 7.84 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001038/0.0329, allocations: 1.31 MB / 372.8 MB, free: 6.363 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.0329, allocations: 0 / 372.8 MB, free: 6.363 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002793/0.03318, allocations: 463.5 kB / 373.2 MB, free: 5.852 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003264/0.03351, allocations: 92.06 kB / 373.3 MB, free: 5.766 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001564/0.03507, allocations: 1.252 MB / 374.6 MB, free: 4.465 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001055/0.03518, allocations: 153.7 kB / 374.7 MB, free: 4.293 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001499/0.03533, allocations: 63.28 kB / 374.8 MB, free: 4.23 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.259e-05/0.03541, allocations: 40.48 kB / 374.8 MB, free: 4.191 MB / 298.7 MB Notification: Performance of SimCode: time 6.92e-07/0.03541, allocations: 0 / 374.8 MB, free: 4.191 MB / 298.7 MB Notification: Performance of Templates: time 0.01416/0.04957, allocations: 8.707 MB / 383.5 MB, free: 11.55 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.173622224945575]