Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_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.001409/0.001409, allocations: 92.22 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.002128/0.002128, allocations: 173 kB / 23.02 MB, free: 1.547 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.028/1.028, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.02541/0.02541, allocations: 6.487 MB / 266.4 MB, free: 6.625 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.TestTwoFlange2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange2") translateModel(EHPTlib.MapBased.TestingModels.TestTwoFlange2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.335e-06/2.335e-06, allocations: 0 / 338.1 MB, free: 11.86 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.346e-05/3.58e-05, allocations: 12.84 kB / 338.1 MB, free: 11.85 MB / 314.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange2): time 0.00474/0.004775, allocations: 4.427 MB / 342.5 MB, free: 7.391 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003082/0.007858, allocations: 2.369 MB / 344.9 MB, free: 5.012 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004171/0.008275, allocations: 15.94 kB / 344.9 MB, free: 4.996 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004274/0.008702, allocations: 174.5 kB / 345.1 MB, free: 4.824 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007749/0.009477, allocations: 285.9 kB / 345.3 MB, free: 4.543 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006856/0.01016, allocations: 435.2 kB / 345.8 MB, free: 4.117 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009191/0.01108, allocations: 0.9893 MB / 346.8 MB, free: 3.125 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004465/0.01153, allocations: 341 kB / 347.1 MB, free: 2.773 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008265/0.01235, allocations: 0.5847 MB / 347.7 MB, free: 2.188 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004511/0.01281, allocations: 335 kB / 348 MB, free: 1.859 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001124/0.01292, allocations: 116 kB / 348.1 MB, free: 1.746 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003354/0.01325, allocations: 199.9 kB / 348.3 MB, free: 1.551 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002083/0.01346, allocations: 251.2 kB / 348.6 MB, free: 1.305 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002652/0.01373, allocations: 327.2 kB / 348.9 MB, free: 0.9844 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009393/0.01467, allocations: 0.7902 MB / 349.7 MB, free: 196 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.01467, allocations: 0 / 349.7 MB, free: 196 kB / 314.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.01467, allocations: 0 / 349.7 MB, free: 196 kB / 314.7 MB Notification: Performance of Transformations before backend: time 1.629e-05/0.01469, allocations: 3.938 kB / 349.7 MB, free: 192 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.001656/0.01634, allocations: 1.299 MB / 351 MB, free: 14.82 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.01639, allocations: 12.02 kB / 351 MB, free: 14.81 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002143/0.0166, allocations: 164.3 kB / 351.1 MB, free: 14.65 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007081/0.01731, allocations: 490 kB / 351.6 MB, free: 14.14 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.709e-05/0.01737, allocations: 58.38 kB / 351.7 MB, free: 14.09 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.307e-05/0.01746, allocations: 84.33 kB / 351.8 MB, free: 14.01 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009037/0.01837, allocations: 0.7146 MB / 352.5 MB, free: 13.23 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.245e-05/0.01839, allocations: 3.938 kB / 352.5 MB, free: 13.23 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.476e-05/0.01843, allocations: 31.98 kB / 352.5 MB, free: 13.2 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.622e-05/0.01845, allocations: 19.98 kB / 352.5 MB, free: 13.18 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004627/0.01891, allocations: 323.2 kB / 352.8 MB, free: 12.85 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002625/0.02154, allocations: 2.39 MB / 355.2 MB, free: 10.35 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004889/0.02203, allocations: 286.7 kB / 355.5 MB, free: 10.05 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001375/0.02216, allocations: 140.2 kB / 355.7 MB, free: 9.895 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.12e-05/0.0222, allocations: 7.938 kB / 355.7 MB, free: 9.887 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002935/0.02249, allocations: 321.2 kB / 356 MB, free: 9.527 MB / 330.7 MB Notification: Performance of pre-optimization done (n=35): time 1.964e-06/0.02249, allocations: 0 / 356 MB, free: 9.527 MB / 330.7 MB Notification: Performance of matching and sorting (n=35): time 0.0007359/0.02323, allocations: 0.5515 MB / 356.5 MB, free: 8.93 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.57e-05/0.02329, allocations: 166.2 kB / 356.7 MB, free: 8.73 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004217/0.02371, allocations: 0.522 MB / 357.2 MB, free: 8.191 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.835e-05/0.02374, allocations: 33.7 kB / 357.2 MB, free: 8.152 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002325/0.02397, allocations: 462.9 kB / 357.7 MB, free: 7.695 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.191e-05/0.02405, allocations: 123 kB / 357.8 MB, free: 7.574 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001082/0.02416, allocations: 107.8 kB / 357.9 MB, free: 7.461 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.00016/0.02432, allocations: 0.5391 MB / 358.5 MB, free: 6.91 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001781/0.02449, allocations: 178.7 kB / 358.6 MB, free: 6.715 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002355/0.02473, allocations: 384.1 kB / 359 MB, free: 6.234 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003788/0.02511, allocations: 480.8 kB / 359.5 MB, free: 5.668 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.02511, allocations: 0 / 359.5 MB, free: 5.668 MB / 330.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.000578/0.02569, allocations: 0.5865 MB / 360.1 MB, free: 5.035 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.181e-05/0.02574, allocations: 93.09 kB / 360.2 MB, free: 4.926 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.02575, allocations: 4 kB / 360.2 MB, free: 4.922 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001425/0.02589, allocations: 24.11 kB / 360.2 MB, free: 4.895 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002022/0.02609, allocations: 99.83 kB / 360.3 MB, free: 4.797 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007961/0.02689, allocations: 1.74 MB / 362 MB, free: 2.93 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001991/0.02709, allocations: 59.7 kB / 362.1 MB, free: 2.871 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.618e-05/0.02711, allocations: 23.98 kB / 362.1 MB, free: 2.848 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002473/0.02736, allocations: 305 kB / 362.4 MB, free: 2.527 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002284/0.02759, allocations: 388 kB / 362.8 MB, free: 2.047 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003495/0.02794, allocations: 470.9 kB / 363.2 MB, free: 1.492 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.573e-06/0.02794, allocations: 0 / 363.2 MB, free: 1.492 MB / 330.7 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.0005284/0.02847, allocations: 0.5885 MB / 363.8 MB, free: 0.8555 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.759e-05/0.02851, allocations: 93.09 kB / 363.9 MB, free: 0.7461 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.156e-06/0.02851, allocations: 0 / 363.9 MB, free: 0.7461 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.912e-05/0.02858, allocations: 31.67 kB / 363.9 MB, free: 0.7109 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001731/0.02875, allocations: 83.89 kB / 364 MB, free: 0.6289 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006868/0.02944, allocations: 1.756 MB / 365.8 MB, free: 14.75 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001829/0.02962, allocations: 63.69 kB / 365.8 MB, free: 14.69 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.587e-05/0.02965, allocations: 20 kB / 365.9 MB, free: 14.67 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.0001668/0.02981, allocations: 351.4 kB / 366.2 MB, free: 14.31 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.884e-05/0.02988, allocations: 87.64 kB / 366.3 MB, free: 14.22 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004467/0.03033, allocations: 421 kB / 366.7 MB, free: 13.77 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.606e-06/0.03033, allocations: 4 kB / 366.7 MB, free: 13.77 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.03034, allocations: 3.938 kB / 366.7 MB, free: 13.77 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.03034, allocations: 4 kB / 366.7 MB, free: 13.76 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000965/0.03131, allocations: 1.024 MB / 367.7 MB, free: 12.67 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.03131, allocations: 7.938 kB / 367.8 MB, free: 12.66 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001508/0.03146, allocations: 55.91 kB / 367.8 MB, free: 12.61 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.294e-05/0.03152, allocations: 23.67 kB / 367.8 MB, free: 12.58 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.454e-05/0.03155, allocations: 8 kB / 367.8 MB, free: 12.57 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006246/0.03217, allocations: 1.74 MB / 369.6 MB, free: 10.71 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.03217, allocations: 0 / 369.6 MB, free: 10.71 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006047/0.03278, allocations: 0.7173 MB / 370.3 MB, free: 9.93 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.676e-05/0.03284, allocations: 63.59 kB / 370.4 MB, free: 9.867 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.949e-05/0.03287, allocations: 8 kB / 370.4 MB, free: 9.859 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001463/0.03302, allocations: 31.97 kB / 370.4 MB, free: 9.828 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.879e-05/0.03311, allocations: 43.88 kB / 370.4 MB, free: 9.785 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.759e-05/0.03313, allocations: 8 kB / 370.4 MB, free: 9.777 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002652/0.03339, allocations: 342.8 kB / 370.8 MB, free: 9.445 MB / 346.7 MB Notification: Performance of sort global known variables: time 4e-08/0.03339, allocations: 0 / 370.8 MB, free: 9.445 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006223/0.03402, allocations: 358.7 kB / 371.1 MB, free: 9.094 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.0009726/0.03499, allocations: 462.2 kB / 371.6 MB, free: 8.789 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001112/0.0361, allocations: 1.313 MB / 372.9 MB, free: 7.309 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.0361, allocations: 0 / 372.9 MB, free: 7.309 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002834/0.03639, allocations: 471.5 kB / 373.4 MB, free: 6.789 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003591/0.03674, allocations: 87.36 kB / 373.4 MB, free: 6.711 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001986/0.03873, allocations: 1.255 MB / 374.7 MB, free: 5.406 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001042/0.03884, allocations: 157.7 kB / 374.8 MB, free: 5.23 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001631/0.039, allocations: 59.36 kB / 374.9 MB, free: 5.172 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.825e-05/0.03909, allocations: 44.48 kB / 375 MB, free: 5.129 MB / 346.7 MB Notification: Performance of SimCode: time 1.533e-06/0.03909, allocations: 0 / 375 MB, free: 5.129 MB / 346.7 MB Notification: Performance of Templates: time 0.01209/0.05118, allocations: 8.687 MB / 383.6 MB, free: 12.51 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange2.makefile [Timeout 660] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange2.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange2.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange2.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange2.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2798291258513927]