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.0009066/0.0009066, allocations: 93.06 kB / 19.65 MB, free: 280 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.0009523/0.0009523, allocations: 165 kB / 23.02 MB, free: 1.551 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.9524/0.9524, allocations: 177.1 MB / 203.4 MB, free: 5.656 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.02565/0.02565, allocations: 6.485 MB / 266.4 MB, free: 6.648 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 1.352e-06/1.352e-06, allocations: 0 / 338.1 MB, free: 11.89 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.332e-05/1.467e-05, allocations: 2.312 kB / 338.1 MB, free: 11.89 MB / 314.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange2): time 0.004072/0.004087, allocations: 4.427 MB / 342.5 MB, free: 7.43 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002424/0.00651, allocations: 2.38 MB / 344.9 MB, free: 5.039 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000246/0.006756, allocations: 19.94 kB / 344.9 MB, free: 5.02 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003487/0.007105, allocations: 166.6 kB / 345.1 MB, free: 4.855 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005407/0.007646, allocations: 289.9 kB / 345.3 MB, free: 4.57 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005197/0.008165, allocations: 423.2 kB / 345.8 MB, free: 4.156 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007224/0.008888, allocations: 0.9932 MB / 346.7 MB, free: 3.16 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000391/0.009279, allocations: 345 kB / 347.1 MB, free: 2.805 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005224/0.009801, allocations: 0.5808 MB / 347.7 MB, free: 2.223 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003275/0.01013, allocations: 339.1 kB / 348 MB, free: 1.891 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 9.511e-05/0.01022, allocations: 112 kB / 348.1 MB, free: 1.781 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002009/0.01042, allocations: 203.8 kB / 348.3 MB, free: 1.582 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001698/0.01059, allocations: 247.2 kB / 348.5 MB, free: 1.34 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000211/0.01081, allocations: 327.2 kB / 348.9 MB, free: 1.02 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006719/0.01148, allocations: 0.7902 MB / 349.7 MB, free: 232 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.01148, allocations: 0 / 349.7 MB, free: 232 kB / 314.7 MB Notification: Performance of FrontEnd: time 9.61e-07/0.01148, allocations: 4 kB / 349.7 MB, free: 228 kB / 314.7 MB Notification: Performance of Transformations before backend: time 8.817e-06/0.01149, allocations: 0 / 349.7 MB, free: 228 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.001279/0.01277, allocations: 1.307 MB / 351 MB, free: 14.85 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.146e-05/0.0128, allocations: 8.031 kB / 351 MB, free: 14.84 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001614/0.01296, allocations: 164.3 kB / 351.1 MB, free: 14.68 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005021/0.01346, allocations: 490 kB / 351.6 MB, free: 14.18 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.981e-05/0.0135, allocations: 58.38 kB / 351.7 MB, free: 14.12 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.917e-05/0.01358, allocations: 80.33 kB / 351.7 MB, free: 14.04 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007579/0.01434, allocations: 0.7224 MB / 352.5 MB, free: 13.26 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.102e-05/0.01436, allocations: 7.938 kB / 352.5 MB, free: 13.25 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.059e-05/0.0144, allocations: 28 kB / 352.5 MB, free: 13.23 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.578e-05/0.01442, allocations: 16 kB / 352.5 MB, free: 13.21 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004406/0.01486, allocations: 323.1 kB / 352.8 MB, free: 12.88 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002284/0.01714, allocations: 2.39 MB / 355.2 MB, free: 10.38 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004288/0.01757, allocations: 282.7 kB / 355.5 MB, free: 10.08 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001416/0.01771, allocations: 144.2 kB / 355.6 MB, free: 9.926 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.165e-05/0.01774, allocations: 11.94 kB / 355.7 MB, free: 9.914 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002663/0.01801, allocations: 313.1 kB / 356 MB, free: 9.562 MB / 330.7 MB Notification: Performance of pre-optimization done (n=35): time 1.443e-06/0.01801, allocations: 0 / 356 MB, free: 9.562 MB / 330.7 MB Notification: Performance of matching and sorting (n=35): time 0.0006748/0.01869, allocations: 0.5515 MB / 356.5 MB, free: 8.965 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.936e-05/0.01875, allocations: 174.1 kB / 356.7 MB, free: 8.758 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000422/0.01917, allocations: 0.522 MB / 357.2 MB, free: 8.219 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.658e-05/0.01919, allocations: 33.7 kB / 357.2 MB, free: 8.18 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002073/0.0194, allocations: 459 kB / 357.7 MB, free: 7.727 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.582e-05/0.01947, allocations: 123 kB / 357.8 MB, free: 7.605 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001049/0.01957, allocations: 103.8 kB / 357.9 MB, free: 7.496 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.01972, allocations: 0.543 MB / 358.4 MB, free: 6.941 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001592/0.01988, allocations: 174.7 kB / 358.6 MB, free: 6.75 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00035/0.02023, allocations: 390.1 kB / 359 MB, free: 6.266 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003612/0.02059, allocations: 480.8 kB / 359.5 MB, free: 5.699 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.02059, allocations: 0 / 359.5 MB, free: 5.699 MB / 330.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.000569/0.02116, allocations: 0.5906 MB / 360.1 MB, free: 5.062 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.193e-05/0.0212, allocations: 93.09 kB / 360.2 MB, free: 4.953 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.982e-06/0.02121, allocations: 4 kB / 360.2 MB, free: 4.949 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001237/0.02133, allocations: 27.67 kB / 360.2 MB, free: 4.918 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001979/0.02153, allocations: 95.83 kB / 360.3 MB, free: 4.824 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007335/0.02226, allocations: 1.736 MB / 362 MB, free: 2.961 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001824/0.02245, allocations: 59.72 kB / 362.1 MB, free: 2.902 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.69e-05/0.02247, allocations: 23.98 kB / 362.1 MB, free: 2.879 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000236/0.02271, allocations: 296.9 kB / 362.4 MB, free: 2.566 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002311/0.02294, allocations: 388.1 kB / 362.8 MB, free: 2.086 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003346/0.02327, allocations: 475 kB / 363.2 MB, free: 1.527 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.483e-06/0.02328, allocations: 0 / 363.2 MB, free: 1.527 MB / 330.7 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.0005499/0.02383, allocations: 0.5961 MB / 363.8 MB, free: 0.8828 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.818e-05/0.02387, allocations: 93.53 kB / 363.9 MB, free: 0.7734 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.02388, allocations: 8 kB / 363.9 MB, free: 0.7656 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.784e-05/0.02397, allocations: 19.69 kB / 363.9 MB, free: 0.7422 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002249/0.02419, allocations: 91.89 kB / 364 MB, free: 0.6523 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006712/0.02486, allocations: 1.74 MB / 365.8 MB, free: 14.79 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001799/0.02504, allocations: 63.88 kB / 365.8 MB, free: 14.73 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.417e-05/0.02507, allocations: 20 kB / 365.9 MB, free: 14.71 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.000144/0.02521, allocations: 363.3 kB / 366.2 MB, free: 14.34 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.537e-05/0.02528, allocations: 75.62 kB / 366.3 MB, free: 14.26 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00044/0.02572, allocations: 432.8 kB / 366.7 MB, free: 13.8 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.02572, allocations: 4 kB / 366.7 MB, free: 13.8 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.02573, allocations: 7.938 kB / 366.7 MB, free: 13.79 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.02573, allocations: 3.984 kB / 366.7 MB, free: 13.79 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009597/0.02669, allocations: 1.024 MB / 367.7 MB, free: 12.69 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.0267, allocations: 3.938 kB / 367.7 MB, free: 12.69 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001534/0.02685, allocations: 59.91 kB / 367.8 MB, free: 12.63 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.439e-05/0.0269, allocations: 19.67 kB / 367.8 MB, free: 12.61 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.236e-05/0.02693, allocations: 8 kB / 367.8 MB, free: 12.6 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006133/0.02754, allocations: 1.74 MB / 369.6 MB, free: 10.73 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.02754, allocations: 0 / 369.6 MB, free: 10.73 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005996/0.02814, allocations: 0.7132 MB / 370.3 MB, free: 9.961 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.823e-05/0.0282, allocations: 67.53 kB / 370.4 MB, free: 9.895 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.7e-05/0.02824, allocations: 8 kB / 370.4 MB, free: 9.887 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001486/0.02839, allocations: 36.09 kB / 370.4 MB, free: 9.852 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.932e-05/0.02846, allocations: 35.89 kB / 370.4 MB, free: 9.816 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.96e-05/0.02848, allocations: 15.98 kB / 370.4 MB, free: 9.801 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002587/0.02874, allocations: 338.8 kB / 370.8 MB, free: 9.473 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02874, allocations: 0 / 370.8 MB, free: 9.473 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005564/0.0293, allocations: 358.7 kB / 371.1 MB, free: 9.121 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.0008335/0.03013, allocations: 470.4 kB / 371.6 MB, free: 8.809 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0009801/0.03111, allocations: 1.31 MB / 372.9 MB, free: 7.332 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.03111, allocations: 64 / 372.9 MB, free: 7.332 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002706/0.03139, allocations: 471.5 kB / 373.4 MB, free: 6.812 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003306/0.03172, allocations: 96.67 kB / 373.5 MB, free: 6.734 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001565/0.03328, allocations: 1.258 MB / 374.7 MB, free: 5.426 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.313e-05/0.03337, allocations: 157.7 kB / 374.9 MB, free: 5.25 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001373/0.03351, allocations: 55.36 kB / 374.9 MB, free: 5.195 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.313e-05/0.03359, allocations: 40.5 kB / 375 MB, free: 5.156 MB / 346.7 MB Notification: Performance of SimCode: time 6.01e-07/0.03359, allocations: 4 kB / 375 MB, free: 5.152 MB / 346.7 MB Notification: Performance of Templates: time 0.009922/0.04352, allocations: 8.338 MB / 383.3 MB, free: 12.88 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.1784116979688406]