Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.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.0009541/0.0009541, allocations: 81.17 kB / 19.87 MB, free: 4.621 MB / 18.57 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.0009755/0.0009755, allocations: 169 kB / 23.27 MB, free: 1.223 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.9725/0.9725, allocations: 177.1 MB / 203.7 MB, free: 5.52 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.02714/0.02714, allocations: 6.489 MB / 266.7 MB, free: 6.5 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.TestOneFlange2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 338.5 MB, free: 10.53 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.233e-05/1.389e-05, allocations: 6.312 kB / 338.5 MB, free: 10.52 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2): time 0.004483/0.004497, allocations: 5.022 MB / 343.5 MB, free: 5.469 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002714/0.007211, allocations: 2.321 MB / 345.9 MB, free: 3.141 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003083/0.007519, allocations: 19.94 kB / 345.9 MB, free: 3.121 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003869/0.007906, allocations: 198.5 kB / 346.1 MB, free: 2.926 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004754/0.008382, allocations: 293.9 kB / 346.4 MB, free: 2.637 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004141/0.008796, allocations: 383.2 kB / 346.7 MB, free: 2.262 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006065/0.009402, allocations: 0.9778 MB / 347.7 MB, free: 1.281 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003169/0.009719, allocations: 311.5 kB / 348 MB, free: 0.9531 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004909/0.01021, allocations: 0.573 MB / 348.6 MB, free: 388 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003047/0.01051, allocations: 347 kB / 348.9 MB, free: 40 kB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001125/0.01063, allocations: 108 kB / 349 MB, free: 15.93 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002269/0.01085, allocations: 207.7 kB / 349.2 MB, free: 15.73 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001352/0.01099, allocations: 223.2 kB / 349.5 MB, free: 15.51 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002001/0.01119, allocations: 295.3 kB / 349.8 MB, free: 15.22 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006423/0.01183, allocations: 0.7358 MB / 350.5 MB, free: 14.48 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.01184, allocations: 7.922 kB / 350.5 MB, free: 14.48 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.01184, allocations: 0 / 350.5 MB, free: 14.48 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.323e-06/0.01184, allocations: 0 / 350.5 MB, free: 14.48 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: 164 * Number of variables: 164 Notification: Performance of Generate backend data structure: time 0.001256/0.0131, allocations: 1.262 MB / 351.8 MB, free: 13.16 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.01314, allocations: 8.031 kB / 351.8 MB, free: 13.15 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001366/0.01327, allocations: 152.3 kB / 351.9 MB, free: 13 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004151/0.01369, allocations: 466.1 kB / 352.4 MB, free: 12.52 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.839e-05/0.01377, allocations: 109.3 kB / 352.5 MB, free: 12.4 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.835e-05/0.01383, allocations: 80.3 kB / 352.6 MB, free: 12.32 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005854/0.01442, allocations: 0.6412 MB / 353.2 MB, free: 11.62 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/0.01444, allocations: 0 / 353.2 MB, free: 11.62 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.745e-05/0.01447, allocations: 28 kB / 353.2 MB, free: 11.59 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.383e-05/0.01449, allocations: 16 kB / 353.2 MB, free: 11.57 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002777/0.01476, allocations: 256.3 kB / 353.5 MB, free: 11.31 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002269/0.01703, allocations: 2.242 MB / 355.7 MB, free: 8.973 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003268/0.01736, allocations: 267.7 kB / 356 MB, free: 8.688 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001047/0.01747, allocations: 127.3 kB / 356.1 MB, free: 8.547 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.323e-05/0.0175, allocations: 16.27 kB / 356.1 MB, free: 8.531 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002366/0.01774, allocations: 304.9 kB / 356.4 MB, free: 8.188 MB / 282.7 MB Notification: Performance of pre-optimization done (n=36): time 2.053e-06/0.01774, allocations: 0 / 356.4 MB, free: 8.188 MB / 282.7 MB Notification: Performance of matching and sorting (n=36): time 0.0005748/0.01831, allocations: 0.5106 MB / 356.9 MB, free: 7.629 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.559e-05/0.01838, allocations: 166.2 kB / 357.1 MB, free: 7.43 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003366/0.01871, allocations: 494.3 kB / 357.6 MB, free: 6.93 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.803e-05/0.01874, allocations: 41.7 kB / 357.6 MB, free: 6.883 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000206/0.01895, allocations: 439 kB / 358.1 MB, free: 6.445 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.808e-05/0.01902, allocations: 130.9 kB / 358.2 MB, free: 6.316 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001146/0.01913, allocations: 103.8 kB / 358.3 MB, free: 6.207 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.01928, allocations: 0.5468 MB / 358.8 MB, free: 5.648 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001222/0.0194, allocations: 154.7 kB / 359 MB, free: 5.473 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001977/0.0196, allocations: 372 kB / 359.3 MB, free: 5.008 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002978/0.01989, allocations: 452.7 kB / 359.8 MB, free: 4.469 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.0199, allocations: 0 / 359.8 MB, free: 4.469 MB / 282.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0004863/0.02038, allocations: 0.563 MB / 360.4 MB, free: 3.859 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.468e-05/0.02043, allocations: 89.11 kB / 360.4 MB, free: 3.754 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/0.02044, allocations: 7.984 kB / 360.4 MB, free: 3.746 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.918e-05/0.02054, allocations: 19.69 kB / 360.5 MB, free: 3.723 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001993/0.02074, allocations: 100.3 kB / 360.6 MB, free: 3.625 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001102/0.02184, allocations: 1.721 MB / 362.3 MB, free: 1.789 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001887/0.02203, allocations: 63.64 kB / 362.3 MB, free: 1.727 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.386e-05/0.02205, allocations: 20 kB / 362.4 MB, free: 1.707 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001939/0.02225, allocations: 285 kB / 362.6 MB, free: 1.406 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002004/0.02245, allocations: 383.9 kB / 363 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002681/0.02272, allocations: 443 kB / 363.5 MB, free: 412 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.482e-06/0.02272, allocations: 0 / 363.5 MB, free: 412 kB / 282.7 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.0004543/0.02317, allocations: 0.5612 MB / 364 MB, free: 15.79 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.391e-05/0.02321, allocations: 89.11 kB / 364.1 MB, free: 15.69 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.02321, allocations: 4 kB / 364.1 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.688e-05/0.02327, allocations: 23.67 kB / 364.1 MB, free: 15.66 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001723/0.02344, allocations: 91.89 kB / 364.2 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006449/0.02409, allocations: 1.721 MB / 365.9 MB, free: 13.73 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001686/0.02425, allocations: 59.75 kB / 366 MB, free: 13.67 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.995e-05/0.02427, allocations: 16 kB / 366 MB, free: 13.66 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.pDC.integrator1.local_reset,oneFlange.limTau.state,oneFlange.limitingTorque,tauRef.count,$PRE.tauRef.count,tauRef.T_start,$PRE.tauRef.T_start,$whenCondition1) * 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.0001584/0.02443, allocations: 363.3 kB / 366.4 MB, free: 13.28 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.405e-05/0.02451, allocations: 83.72 kB / 366.4 MB, free: 13.2 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003864/0.02489, allocations: 406 kB / 366.8 MB, free: 12.77 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.0249, allocations: 4 kB / 366.8 MB, free: 12.77 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.0249, allocations: 3.938 kB / 366.9 MB, free: 12.76 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.02491, allocations: 3.984 kB / 366.9 MB, free: 12.76 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007678/0.02567, allocations: 0.8915 MB / 367.7 MB, free: 11.8 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.02568, allocations: 7.984 kB / 367.8 MB, free: 11.8 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000149/0.02583, allocations: 59.91 kB / 367.8 MB, free: 11.74 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-05/0.02588, allocations: 27.61 kB / 367.8 MB, free: 11.71 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.809e-05/0.0259, allocations: 8 kB / 367.8 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008118/0.02671, allocations: 1.705 MB / 369.6 MB, free: 9.875 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.02671, allocations: 3.984 kB / 369.6 MB, free: 9.871 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005198/0.02723, allocations: 0.6904 MB / 370.2 MB, free: 9.117 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001059/0.02734, allocations: 91.56 kB / 370.3 MB, free: 9.027 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.599e-05/0.02737, allocations: 15.98 kB / 370.4 MB, free: 9.012 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001516/0.02752, allocations: 31.97 kB / 370.4 MB, free: 8.98 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.754e-05/0.02759, allocations: 27.95 kB / 370.4 MB, free: 8.953 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.721e-05/0.02761, allocations: 15.98 kB / 370.4 MB, free: 8.938 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001706/0.02778, allocations: 310.6 kB / 370.7 MB, free: 8.637 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02778, allocations: 0 / 370.7 MB, free: 8.637 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005299/0.02831, allocations: 342.8 kB / 371.1 MB, free: 8.301 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.0009072/0.02922, allocations: 454.5 kB / 371.5 MB, free: 8.004 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008971/0.03011, allocations: 1.286 MB / 372.8 MB, free: 6.551 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.03012, allocations: 0 / 372.8 MB, free: 6.551 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002672/0.03038, allocations: 451.5 kB / 373.2 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.0003423/0.03073, allocations: 100 kB / 373.3 MB, free: 5.969 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001493/0.03222, allocations: 1.177 MB / 374.5 MB, free: 4.742 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.982e-05/0.03231, allocations: 141.7 kB / 374.6 MB, free: 4.582 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001614/0.03247, allocations: 63.22 kB / 374.7 MB, free: 4.52 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002363/0.03271, allocations: 174.2 kB / 374.9 MB, free: 4.348 MB / 298.7 MB Notification: Performance of SimCode: time 5.21e-07/0.03271, allocations: 0 / 374.9 MB, free: 4.348 MB / 298.7 MB Notification: Performance of Templates: time 0.01077/0.04348, allocations: 8.463 MB / 383.3 MB, free: 11.99 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0500952899456024]