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.001399/0.001399, 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.001629/0.001629, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.569/1.569, allocations: 177.1 MB / 203.1 MB, free: 5.609 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.04604/0.04604, 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.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 2.875e-06/2.875e-06, allocations: 0 / 337.3 MB, free: 11.17 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.878e-05/3.166e-05, allocations: 2.312 kB / 337.3 MB, free: 11.16 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2): time 0.008953/0.008984, allocations: 4.798 MB / 342.1 MB, free: 6.336 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005215/0.0142, allocations: 2.29 MB / 344.4 MB, free: 4.039 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000845/0.01504, allocations: 15.94 kB / 344.4 MB, free: 4.023 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007658/0.01581, allocations: 202.5 kB / 344.6 MB, free: 3.824 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001361/0.01717, allocations: 305.9 kB / 344.9 MB, free: 3.523 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001174/0.01835, allocations: 375.2 kB / 345.3 MB, free: 3.156 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001343/0.01969, allocations: 0.9778 MB / 346.3 MB, free: 2.176 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007671/0.02046, allocations: 315.5 kB / 346.6 MB, free: 1.844 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00107/0.02153, allocations: 0.5652 MB / 347.2 MB, free: 1.277 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006471/0.02217, allocations: 327 kB / 347.5 MB, free: 0.957 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001809/0.02235, allocations: 112 kB / 347.6 MB, free: 0.8477 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004662/0.02282, allocations: 207.8 kB / 347.8 MB, free: 0.6445 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002192/0.02304, allocations: 223.2 kB / 348 MB, free: 436 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004049/0.02344, allocations: 291.3 kB / 348.3 MB, free: 144 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002681/0.02613, allocations: 1.215 MB / 349.5 MB, free: 14.92 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.02613, allocations: 0 / 349.5 MB, free: 14.92 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.02613, allocations: 0 / 349.5 MB, free: 14.92 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.09e-05/0.02615, allocations: 3.938 kB / 349.5 MB, free: 14.92 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.004225/0.03038, allocations: 1.158 MB / 350.7 MB, free: 13.71 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.996e-05/0.03043, allocations: 8.031 kB / 350.7 MB, free: 13.7 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005221/0.03095, allocations: 152.3 kB / 350.8 MB, free: 13.55 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001621/0.03257, allocations: 479.2 kB / 351.3 MB, free: 13.06 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002698/0.03284, allocations: 105.3 kB / 351.4 MB, free: 12.94 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002501/0.03309, allocations: 72.38 kB / 351.5 MB, free: 12.87 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003064/0.03616, allocations: 0.8494 MB / 352.3 MB, free: 11.97 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.307e-05/0.0362, allocations: 3.953 kB / 352.3 MB, free: 11.96 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001346/0.03633, allocations: 28 kB / 352.3 MB, free: 11.94 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.084e-05/0.03636, allocations: 16 kB / 352.4 MB, free: 11.92 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002776/0.03914, allocations: 0.5823 MB / 352.9 MB, free: 11.32 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007572/0.04671, allocations: 2.227 MB / 355.2 MB, free: 9.004 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002025/0.04874, allocations: 424.1 kB / 355.6 MB, free: 8.57 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009641/0.0497, allocations: 232.4 kB / 355.8 MB, free: 8.328 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.274e-05/0.04976, allocations: 4.281 kB / 355.8 MB, free: 8.324 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001319/0.05108, allocations: 389.7 kB / 356.2 MB, free: 7.902 MB / 282.7 MB Notification: Performance of pre-optimization done (n=36): time 2.494e-06/0.05109, allocations: 4 kB / 356.2 MB, free: 7.898 MB / 282.7 MB Notification: Performance of matching and sorting (n=36): time 0.003619/0.0547, allocations: 0.8045 MB / 357 MB, free: 7.047 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002026/0.05491, allocations: 170.1 kB / 357.2 MB, free: 6.844 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001187/0.05609, allocations: 0.533 MB / 357.7 MB, free: 6.301 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.098e-05/0.05617, allocations: 37.7 kB / 357.7 MB, free: 6.258 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003774/0.05654, allocations: 376.4 kB / 358.1 MB, free: 5.883 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001581/0.0567, allocations: 126.9 kB / 358.2 MB, free: 5.758 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001815/0.05688, allocations: 90.19 kB / 358.3 MB, free: 5.664 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002219/0.0571, allocations: 362.8 kB / 358.7 MB, free: 5.301 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006616/0.05777, allocations: 279.8 kB / 358.9 MB, free: 5.004 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000819/0.05858, allocations: 455.8 kB / 359.4 MB, free: 4.477 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001304/0.05989, allocations: 0.6039 MB / 360 MB, free: 3.793 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/0.05989, allocations: 0 / 360 MB, free: 3.793 MB / 282.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001759/0.06165, allocations: 0.7906 MB / 360.8 MB, free: 2.957 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.336e-05/0.06175, allocations: 93.09 kB / 360.9 MB, free: 2.848 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.06176, allocations: 4 kB / 360.9 MB, free: 2.844 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001871/0.06195, allocations: 32.78 kB / 360.9 MB, free: 2.809 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004648/0.06241, allocations: 100.2 kB / 361 MB, free: 2.711 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001339/0.06375, allocations: 1.264 MB / 362.3 MB, free: 1.344 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006037/0.06435, allocations: 79.62 kB / 362.4 MB, free: 1.266 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.479e-05/0.06441, allocations: 20 kB / 362.4 MB, free: 1.246 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008456/0.06525, allocations: 438.3 kB / 362.8 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007062/0.06596, allocations: 431.9 kB / 363.2 MB, free: 300 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001174/0.06713, allocations: 0.5826 MB / 363.8 MB, free: 15.63 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.825e-06/0.06714, allocations: 7.938 kB / 363.8 MB, free: 15.62 MB / 298.7 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.001687/0.06882, allocations: 0.7616 MB / 364.6 MB, free: 14.82 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.559e-05/0.06891, allocations: 93.09 kB / 364.7 MB, free: 14.71 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.06892, allocations: 4 kB / 364.7 MB, free: 14.7 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001239/0.06904, allocations: 32.78 kB / 364.7 MB, free: 14.67 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004388/0.06948, allocations: 87.89 kB / 364.8 MB, free: 14.58 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001259/0.07074, allocations: 1.264 MB / 366 MB, free: 13.21 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005713/0.07131, allocations: 71.77 kB / 366.1 MB, free: 13.14 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.541e-05/0.07138, allocations: 27.92 kB / 366.1 MB, free: 13.12 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.0002989/0.07167, allocations: 264.5 kB / 366.4 MB, free: 12.84 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001568/0.07183, allocations: 75.72 kB / 366.5 MB, free: 12.77 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001486/0.07332, allocations: 0.6043 MB / 367.1 MB, free: 12.13 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.093e-05/0.07333, allocations: 0 / 367.1 MB, free: 12.13 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.07333, allocations: 4 kB / 367.1 MB, free: 12.12 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.07334, allocations: 3.984 kB / 367.1 MB, free: 12.12 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002375/0.07571, allocations: 1.131 MB / 368.2 MB, free: 10.93 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/0.07572, allocations: 3.984 kB / 368.2 MB, free: 10.92 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003925/0.07611, allocations: 67.89 kB / 368.3 MB, free: 10.86 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001151/0.07623, allocations: 28.84 kB / 368.3 MB, free: 10.82 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.74e-05/0.07628, allocations: 8 kB / 368.3 MB, free: 10.82 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001215/0.07749, allocations: 1.26 MB / 369.6 MB, free: 9.449 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.07749, allocations: 0 / 369.6 MB, free: 9.449 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002128/0.07962, allocations: 0.9724 MB / 370.6 MB, free: 8.418 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002472/0.07987, allocations: 95.55 kB / 370.7 MB, free: 8.324 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.031e-05/0.07995, allocations: 11.98 kB / 370.7 MB, free: 8.312 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004763/0.08042, allocations: 51.95 kB / 370.7 MB, free: 8.262 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001344/0.08056, allocations: 39.88 kB / 370.8 MB, free: 8.223 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.383e-05/0.08059, allocations: 8 kB / 370.8 MB, free: 8.215 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005473/0.08114, allocations: 378.9 kB / 371.1 MB, free: 7.848 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.08114, allocations: 0 / 371.1 MB, free: 7.848 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001071/0.08221, allocations: 330.8 kB / 371.5 MB, free: 7.523 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.002173/0.08438, allocations: 499.7 kB / 371.9 MB, free: 7.223 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002828/0.08721, allocations: 1.447 MB / 373.4 MB, free: 5.629 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/0.08722, allocations: 0 / 373.4 MB, free: 5.629 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008712/0.08809, allocations: 492.7 kB / 373.9 MB, free: 5.098 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006787/0.08877, allocations: 91.8 kB / 374 MB, free: 5.008 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002618/0.09138, allocations: 1.281 MB / 375.2 MB, free: 3.676 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004033/0.09179, allocations: 317.1 kB / 375.6 MB, free: 3.34 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003006/0.09209, allocations: 51.25 kB / 375.6 MB, free: 3.293 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001427/0.09223, allocations: 40.5 kB / 375.6 MB, free: 3.254 MB / 298.7 MB Notification: Performance of SimCode: time 8.81e-07/0.09223, allocations: 0 / 375.6 MB, free: 3.254 MB / 298.7 MB Notification: Performance of Templates: time 0.01752/0.1098, allocations: 7.86 MB / 383.5 MB, free: 11.48 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=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.887289230944589]