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.001406/0.001406, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001814/0.001814, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9762/0.9762, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.02767/0.02767, allocations: 6.495 MB / 267.5 MB, free: 6.465 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 2.284e-06/2.284e-06, allocations: 0 / 339.3 MB, free: 11.57 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.38e-05/2.608e-05, allocations: 2.312 kB / 339.3 MB, free: 11.57 MB / 314.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3): time 0.005501/0.005527, allocations: 5.05 MB / 344.4 MB, free: 6.484 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003011/0.008538, allocations: 2.317 MB / 346.7 MB, free: 4.16 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003841/0.008922, allocations: 19.88 kB / 346.7 MB, free: 4.141 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004101/0.009332, allocations: 202.6 kB / 346.9 MB, free: 3.941 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000568/0.0099, allocations: 293.9 kB / 347.2 MB, free: 3.652 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005528/0.01045, allocations: 391.2 kB / 347.6 MB, free: 3.27 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007399/0.01119, allocations: 0.9817 MB / 348.5 MB, free: 2.285 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003825/0.01158, allocations: 311.5 kB / 348.8 MB, free: 1.961 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000609/0.01218, allocations: 0.573 MB / 349.4 MB, free: 1.387 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003363/0.01252, allocations: 351 kB / 349.8 MB, free: 1.043 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 8.727e-05/0.01261, allocations: 108 kB / 349.9 MB, free: 0.9375 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002166/0.01282, allocations: 207.8 kB / 350.1 MB, free: 0.7344 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001332/0.01296, allocations: 219.2 kB / 350.3 MB, free: 0.5195 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003556/0.01331, allocations: 299.3 kB / 350.6 MB, free: 232 kB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001004/0.01432, allocations: 0.7473 MB / 351.3 MB, free: 15.48 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.01432, allocations: 0 / 351.3 MB, free: 15.48 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.01432, allocations: 0 / 351.3 MB, free: 15.48 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.837e-06/0.01433, allocations: 0 / 351.3 MB, free: 15.48 MB / 330.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.001741/0.01607, allocations: 1.265 MB / 352.6 MB, free: 14.15 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.01611, allocations: 8.031 kB / 352.6 MB, free: 14.14 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002166/0.01632, allocations: 148.4 kB / 352.7 MB, free: 14 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006458/0.01697, allocations: 474 kB / 353.2 MB, free: 13.51 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001117/0.01708, allocations: 109.2 kB / 353.3 MB, free: 13.39 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000108/0.01719, allocations: 76.33 kB / 353.4 MB, free: 13.32 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009459/0.01814, allocations: 0.6451 MB / 354 MB, free: 12.61 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.489e-05/0.01816, allocations: 0 / 354 MB, free: 12.61 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.368e-05/0.01822, allocations: 31.98 kB / 354.1 MB, free: 12.58 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.771e-05/0.01824, allocations: 20 kB / 354.1 MB, free: 12.56 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004695/0.01871, allocations: 256.3 kB / 354.3 MB, free: 12.29 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003102/0.02181, allocations: 2.25 MB / 356.6 MB, free: 9.945 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005798/0.02239, allocations: 266.8 kB / 356.8 MB, free: 9.664 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001963/0.02259, allocations: 135.6 kB / 357 MB, free: 9.516 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.941e-05/0.02263, allocations: 12.28 kB / 357 MB, free: 9.504 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004386/0.02307, allocations: 296.7 kB / 357.3 MB, free: 9.168 MB / 330.7 MB Notification: Performance of pre-optimization done (n=36): time 2.034e-06/0.02307, allocations: 0 / 357.3 MB, free: 9.168 MB / 330.7 MB Notification: Performance of matching and sorting (n=36): time 0.0008795/0.02395, allocations: 0.5182 MB / 357.8 MB, free: 8.602 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.392e-05/0.02401, allocations: 166.2 kB / 358 MB, free: 8.402 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003271/0.02434, allocations: 494.3 kB / 358.4 MB, free: 7.906 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.053e-05/0.02437, allocations: 37.7 kB / 358.5 MB, free: 7.863 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002034/0.02457, allocations: 439.1 kB / 358.9 MB, free: 7.43 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.368e-05/0.02465, allocations: 134.8 kB / 359 MB, free: 7.297 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001094/0.02476, allocations: 107.8 kB / 359.1 MB, free: 7.184 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.02491, allocations: 0.539 MB / 359.7 MB, free: 6.633 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001223/0.02504, allocations: 154.7 kB / 359.8 MB, free: 6.457 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002083/0.02524, allocations: 376 kB / 360.2 MB, free: 5.988 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000302/0.02555, allocations: 444.8 kB / 360.6 MB, free: 5.457 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.02555, allocations: 0 / 360.6 MB, free: 5.457 MB / 330.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0005068/0.02606, allocations: 0.5669 MB / 361.2 MB, free: 4.844 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.795e-05/0.0261, allocations: 96.06 kB / 361.3 MB, free: 4.734 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.02611, allocations: 4 kB / 361.3 MB, free: 4.73 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001013/0.02621, allocations: 28.06 kB / 361.3 MB, free: 4.699 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002133/0.02643, allocations: 99.88 kB / 361.4 MB, free: 4.602 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007464/0.02717, allocations: 1.725 MB / 363.1 MB, free: 2.762 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002054/0.02738, allocations: 67.64 kB / 363.2 MB, free: 2.695 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.618e-05/0.0274, allocations: 24.12 kB / 363.2 MB, free: 2.672 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002099/0.02761, allocations: 280.9 kB / 363.5 MB, free: 2.371 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002054/0.02782, allocations: 372.1 kB / 363.9 MB, free: 1.91 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002934/0.02811, allocations: 443 kB / 364.3 MB, free: 1.383 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.934e-06/0.02811, allocations: 0 / 364.3 MB, free: 1.383 MB / 330.7 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.0004764/0.02859, allocations: 0.5611 MB / 364.9 MB, free: 0.7734 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.99e-05/0.02863, allocations: 93.11 kB / 365 MB, free: 0.6641 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.02864, allocations: 4 kB / 365 MB, free: 0.6602 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.922e-05/0.02869, allocations: 27.67 kB / 365 MB, free: 0.6289 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001868/0.02888, allocations: 91.83 kB / 365.1 MB, free: 0.5391 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006885/0.02957, allocations: 1.717 MB / 366.8 MB, free: 14.71 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001981/0.02977, allocations: 59.7 kB / 366.9 MB, free: 14.65 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.533e-05/0.02979, allocations: 19.98 kB / 366.9 MB, free: 14.63 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: 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.0002544/0.03005, allocations: 359.5 kB / 367.2 MB, free: 14.26 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.876e-05/0.03012, allocations: 75.61 kB / 367.3 MB, free: 14.18 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004203/0.03054, allocations: 406 kB / 367.7 MB, free: 13.75 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.03054, allocations: 7.938 kB / 367.7 MB, free: 13.75 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.03054, allocations: 4 kB / 367.7 MB, free: 13.74 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.03055, allocations: 3.984 kB / 367.7 MB, free: 13.74 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008771/0.03142, allocations: 0.8877 MB / 368.6 MB, free: 12.79 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.03143, allocations: 7.875 kB / 368.6 MB, free: 12.78 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001676/0.0316, allocations: 67.95 kB / 368.7 MB, free: 12.71 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.529e-05/0.03166, allocations: 15.69 kB / 368.7 MB, free: 12.7 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.342e-05/0.03169, allocations: 15.98 kB / 368.7 MB, free: 12.68 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007612/0.03245, allocations: 1.709 MB / 370.4 MB, free: 10.85 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.03245, allocations: 4 kB / 370.4 MB, free: 10.85 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005412/0.03299, allocations: 0.6904 MB / 371.1 MB, free: 10.09 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001081/0.0331, allocations: 91.56 kB / 371.2 MB, free: 10 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.928e-05/0.03314, allocations: 8 kB / 371.2 MB, free: 9.996 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001618/0.0333, allocations: 31.97 kB / 371.2 MB, free: 9.965 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.108e-05/0.03337, allocations: 39.88 kB / 371.3 MB, free: 9.926 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.729e-05/0.03339, allocations: 8 kB / 371.3 MB, free: 9.918 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001836/0.03357, allocations: 318.7 kB / 371.6 MB, free: 9.609 MB / 346.7 MB Notification: Performance of sort global known variables: time 4e-08/0.03357, allocations: 4 kB / 371.6 MB, free: 9.605 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005683/0.03414, allocations: 326.9 kB / 371.9 MB, free: 9.285 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,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.0009337/0.03507, allocations: 461.1 kB / 372.4 MB, free: 8.984 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0008474/0.03592, allocations: 1.282 MB / 373.6 MB, free: 7.535 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.03592, allocations: 3.938 kB / 373.7 MB, free: 7.531 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005128/0.03643, allocations: 455.6 kB / 374.1 MB, free: 7.027 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003444/0.03678, allocations: 90.33 kB / 374.2 MB, free: 6.945 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00144/0.03822, allocations: 1.18 MB / 375.4 MB, free: 5.715 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.389e-05/0.0383, allocations: 145.7 kB / 375.5 MB, free: 5.551 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000161/0.03846, allocations: 59.23 kB / 375.6 MB, free: 5.492 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002359/0.0387, allocations: 178.1 kB / 375.7 MB, free: 5.316 MB / 346.7 MB Notification: Performance of SimCode: time 7.32e-07/0.0387, allocations: 0 / 375.7 MB, free: 5.316 MB / 346.7 MB Notification: Performance of Templates: time 0.0135/0.0522, allocations: 8.634 MB / 384.4 MB, free: 12.77 MB / 362.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.1426952118054032]