Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3.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.00112/0.00112, 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.001166/0.001166, 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.021/1.021, 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 main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo): time 0.026/0.026, allocations: 6.495 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.TestOneFlange.TestOneFlange3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 338.1 MB, free: 10.8 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.583e-05/2.768e-05, allocations: 2.312 kB / 338.1 MB, free: 10.8 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3): time 0.004643/0.004671, allocations: 5.162 MB / 343.2 MB, free: 5.605 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002553/0.007223, allocations: 2.341 MB / 345.6 MB, free: 3.258 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003337/0.007557, allocations: 15.94 kB / 345.6 MB, free: 3.242 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000375/0.007932, allocations: 198.6 kB / 345.8 MB, free: 3.047 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005348/0.008467, allocations: 297.9 kB / 346.1 MB, free: 2.754 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004994/0.008966, allocations: 379.2 kB / 346.5 MB, free: 2.383 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005789/0.009545, allocations: 0.9817 MB / 347.4 MB, free: 1.398 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003262/0.009871, allocations: 319.5 kB / 347.8 MB, free: 1.062 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005211/0.01039, allocations: 0.5652 MB / 348.3 MB, free: 0.4961 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003181/0.01071, allocations: 355 kB / 348.7 MB, free: 152 kB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.961e-05/0.01079, allocations: 108 kB / 348.8 MB, free: 44 kB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002471/0.01104, allocations: 207.8 kB / 349 MB, free: 15.84 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000148/0.01119, allocations: 223.2 kB / 349.2 MB, free: 15.62 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002026/0.01139, allocations: 295.2 kB / 349.5 MB, free: 15.33 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007096/0.0121, allocations: 0.7474 MB / 350.2 MB, free: 14.58 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.0121, allocations: 0 / 350.2 MB, free: 14.58 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.32e-07/0.0121, allocations: 0 / 350.2 MB, free: 14.58 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.513e-06/0.01211, allocations: 0 / 350.2 MB, free: 14.58 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.001293/0.0134, allocations: 1.254 MB / 351.5 MB, free: 13.27 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.01344, allocations: 12.03 kB / 351.5 MB, free: 13.26 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001731/0.01361, allocations: 160.3 kB / 351.6 MB, free: 13.11 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004941/0.01411, allocations: 474 kB / 352.1 MB, free: 12.61 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.35e-05/0.0142, allocations: 105.3 kB / 352.2 MB, free: 12.5 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.629e-05/0.01428, allocations: 76.33 kB / 352.3 MB, free: 12.42 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008213/0.0151, allocations: 0.6842 MB / 353 MB, free: 11.68 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.983e-05/0.01512, allocations: 4 kB / 353 MB, free: 11.67 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.107e-05/0.01516, allocations: 32 kB / 353 MB, free: 11.64 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.293e-05/0.01517, allocations: 16 kB / 353 MB, free: 11.62 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004275/0.0156, allocations: 315 kB / 353.3 MB, free: 11.3 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002134/0.01773, allocations: 2.336 MB / 355.7 MB, free: 8.867 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004252/0.01816, allocations: 283.9 kB / 355.9 MB, free: 8.566 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001401/0.0183, allocations: 143.3 kB / 356.1 MB, free: 8.41 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.339e-05/0.01833, allocations: 20.2 kB / 356.1 MB, free: 8.391 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002884/0.01862, allocations: 305 kB / 356.4 MB, free: 8.047 MB / 282.7 MB Notification: Performance of pre-optimization done (n=36): time 1.393e-06/0.01862, allocations: 0 / 356.4 MB, free: 8.047 MB / 282.7 MB Notification: Performance of matching and sorting (n=36): time 0.0006822/0.0193, allocations: 0.5612 MB / 357 MB, free: 7.438 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.066e-05/0.01936, allocations: 166.2 kB / 357.1 MB, free: 7.238 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000385/0.01975, allocations: 0.4986 MB / 357.6 MB, free: 6.723 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.857e-05/0.01978, allocations: 41.64 kB / 357.7 MB, free: 6.676 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001985/0.01998, allocations: 427.2 kB / 358.1 MB, free: 6.25 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.892e-05/0.02004, allocations: 126.9 kB / 358.2 MB, free: 6.125 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001042/0.02015, allocations: 99.84 kB / 358.3 MB, free: 6.02 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.02028, allocations: 0.5313 MB / 358.8 MB, free: 5.477 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001637/0.02044, allocations: 174.7 kB / 359 MB, free: 5.281 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002471/0.02069, allocations: 404 kB / 359.4 MB, free: 4.785 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003695/0.02106, allocations: 472.7 kB / 359.9 MB, free: 4.227 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.02106, allocations: 4 kB / 359.9 MB, free: 4.223 MB / 282.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0005709/0.02163, allocations: 0.602 MB / 360.5 MB, free: 3.574 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.895e-05/0.02168, allocations: 97.09 kB / 360.6 MB, free: 3.461 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.02169, allocations: 4.375 kB / 360.6 MB, free: 3.457 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001267/0.02182, allocations: 35.61 kB / 360.6 MB, free: 3.418 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002085/0.02202, allocations: 95.88 kB / 360.7 MB, free: 3.324 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007492/0.02277, allocations: 1.732 MB / 362.4 MB, free: 1.469 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000198/0.02297, allocations: 71.77 kB / 362.5 MB, free: 1.398 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.731e-05/0.023, allocations: 20 kB / 362.5 MB, free: 1.379 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000241/0.02324, allocations: 304.9 kB / 362.8 MB, free: 1.059 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002366/0.02348, allocations: 384.1 kB / 363.2 MB, free: 0.582 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000349/0.02383, allocations: 471.1 kB / 363.6 MB, free: 28 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.565e-06/0.02383, allocations: 3.938 kB / 363.7 MB, free: 24 kB / 282.7 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.0005415/0.02437, allocations: 0.5922 MB / 364.2 MB, free: 15.38 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.968e-05/0.02441, allocations: 93.09 kB / 364.3 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.02442, allocations: 4 kB / 364.3 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.124e-05/0.02448, allocations: 24.11 kB / 364.4 MB, free: 15.24 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001887/0.02467, allocations: 99.83 kB / 364.5 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006625/0.02533, allocations: 1.736 MB / 366.2 MB, free: 13.29 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000199/0.02553, allocations: 55.75 kB / 366.3 MB, free: 13.23 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.362e-05/0.02555, allocations: 20.12 kB / 366.3 MB, free: 13.21 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 (oneFlange.limTau.state,oneFlange.limitingTorque,tauRef.count,$PRE.tauRef.count,tauRef.T_start,$PRE.tauRef.T_start,$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.0001691/0.02572, allocations: 369.6 kB / 366.6 MB, free: 12.83 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.979e-05/0.02579, allocations: 67.67 kB / 366.7 MB, free: 12.77 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004734/0.02626, allocations: 437.9 kB / 367.1 MB, free: 12.3 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.02627, allocations: 7.984 kB / 367.1 MB, free: 12.3 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.02627, allocations: 4 kB / 367.1 MB, free: 12.29 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.912e-06/0.02628, allocations: 3.984 kB / 367.1 MB, free: 12.29 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009299/0.02721, allocations: 1.02 MB / 368.2 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.02721, allocations: 0 / 368.2 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001603/0.02737, allocations: 63.89 kB / 368.2 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.324e-05/0.02742, allocations: 15.69 kB / 368.2 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.203e-05/0.02745, allocations: 11.98 kB / 368.2 MB, free: 11.11 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006858/0.02814, allocations: 1.732 MB / 370 MB, free: 9.246 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.02814, allocations: 0 / 370 MB, free: 9.246 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006691/0.02881, allocations: 0.7333 MB / 370.7 MB, free: 8.449 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000106/0.02892, allocations: 95.48 kB / 370.8 MB, free: 8.355 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.754e-05/0.02895, allocations: 12 kB / 370.8 MB, free: 8.344 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001582/0.02911, allocations: 31.97 kB / 370.9 MB, free: 8.312 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.42e-05/0.0292, allocations: 35.94 kB / 370.9 MB, free: 8.277 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.916e-05/0.02921, allocations: 16.06 kB / 370.9 MB, free: 8.262 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004746/0.02969, allocations: 326.8 kB / 371.2 MB, free: 7.945 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.02969, allocations: 0 / 371.2 MB, free: 7.945 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005381/0.03023, allocations: 334.9 kB / 371.5 MB, free: 7.617 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,tauRef.T_start,tauRef.count,oneFlange.limitingTorque,oneFlange.limTau.state) * 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.0009409/0.03117, allocations: 467.4 kB / 372 MB, free: 7.309 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001146/0.03231, allocations: 1.324 MB / 373.3 MB, free: 5.816 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.03232, allocations: 3.938 kB / 373.3 MB, free: 5.812 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000297/0.03261, allocations: 465.1 kB / 373.8 MB, free: 5.301 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003575/0.03297, allocations: 97.05 kB / 373.9 MB, free: 5.211 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001643/0.03461, allocations: 1.196 MB / 375.1 MB, free: 3.965 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.472e-05/0.03471, allocations: 141.7 kB / 375.2 MB, free: 3.805 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001566/0.03487, allocations: 55.23 kB / 375.3 MB, free: 3.75 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.365e-05/0.03495, allocations: 40.5 kB / 375.3 MB, free: 3.711 MB / 298.7 MB Notification: Performance of SimCode: time 8.41e-07/0.03495, allocations: 4 kB / 375.3 MB, free: 3.707 MB / 298.7 MB Notification: Performance of Templates: time 0.011/0.04595, allocations: 8.214 MB / 383.5 MB, free: 11.57 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3.makefile [Timeout 660] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3 -abortSlowSimulation -alarm=240 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.178265245631337]