Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_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.0009917/0.0009917, 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.001489/0.001489, allocations: 173.3 kB / 23.03 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 0.9891/0.9891, 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 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.0251/0.0251, allocations: 6.469 MB / 266.4 MB, free: 6.656 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.TestOneFlange3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.264e-06/2.264e-06, allocations: 0 / 338.1 MB, free: 10.82 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.02e-05/3.246e-05, allocations: 2.312 kB / 338.1 MB, free: 10.82 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3): time 0.005474/0.005507, allocations: 5.132 MB / 343.2 MB, free: 5.652 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002473/0.007979, allocations: 2.337 MB / 345.5 MB, free: 3.309 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004719/0.008451, allocations: 19.88 kB / 345.6 MB, free: 3.289 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004186/0.00887, allocations: 198.5 kB / 345.8 MB, free: 3.094 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005957/0.009466, allocations: 297.9 kB / 346 MB, free: 2.801 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004807/0.009946, allocations: 383.2 kB / 346.4 MB, free: 2.426 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006511/0.0106, allocations: 0.9817 MB / 347.4 MB, free: 1.441 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00033/0.01093, allocations: 311.5 kB / 347.7 MB, free: 1.113 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000589/0.01152, allocations: 0.5653 MB / 348.3 MB, free: 0.5469 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003227/0.01184, allocations: 351 kB / 348.6 MB, free: 208 kB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.846e-05/0.01192, allocations: 104 kB / 348.7 MB, free: 104 kB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002577/0.01218, allocations: 211.8 kB / 348.9 MB, free: 15.89 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001439/0.01232, allocations: 215.3 kB / 349.1 MB, free: 15.68 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002049/0.01252, allocations: 299.2 kB / 349.4 MB, free: 15.39 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007074/0.01323, allocations: 0.7473 MB / 350.2 MB, free: 14.64 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.01323, allocations: 0 / 350.2 MB, free: 14.64 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.91e-07/0.01323, allocations: 0 / 350.2 MB, free: 14.64 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.295e-06/0.01324, allocations: 0 / 350.2 MB, free: 14.64 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.001399/0.01464, allocations: 1.25 MB / 351.4 MB, free: 13.34 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.01468, allocations: 8.031 kB / 351.4 MB, free: 13.33 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001663/0.01484, allocations: 152.3 kB / 351.6 MB, free: 13.18 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000486/0.01533, allocations: 470.1 kB / 352 MB, free: 12.69 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.192e-05/0.01542, allocations: 105.3 kB / 352.1 MB, free: 12.57 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.47e-05/0.01551, allocations: 76.33 kB / 352.2 MB, free: 12.5 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008273/0.01633, allocations: 0.6804 MB / 352.9 MB, free: 11.76 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.343e-05/0.01636, allocations: 3.938 kB / 352.9 MB, free: 11.75 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.523e-05/0.0164, allocations: 31.94 kB / 352.9 MB, free: 11.72 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.607e-05/0.01642, allocations: 20 kB / 352.9 MB, free: 11.7 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004685/0.01689, allocations: 315.1 kB / 353.3 MB, free: 11.38 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002392/0.01928, allocations: 2.332 MB / 355.6 MB, free: 8.949 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004929/0.01977, allocations: 287.8 kB / 355.9 MB, free: 8.645 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001748/0.01995, allocations: 139.3 kB / 356 MB, free: 8.492 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.257e-05/0.01998, allocations: 12.28 kB / 356 MB, free: 8.48 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003224/0.0203, allocations: 313 kB / 356.3 MB, free: 8.129 MB / 282.7 MB Notification: Performance of pre-optimization done (n=36): time 1.643e-06/0.0203, allocations: 0 / 356.3 MB, free: 8.129 MB / 282.7 MB Notification: Performance of matching and sorting (n=36): time 0.0008161/0.02112, allocations: 0.5574 MB / 356.9 MB, free: 7.523 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.005e-05/0.02119, allocations: 162.2 kB / 357 MB, free: 7.328 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004455/0.02163, allocations: 0.5025 MB / 357.5 MB, free: 6.809 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.017e-05/0.02166, allocations: 33.7 kB / 357.6 MB, free: 6.77 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002181/0.02188, allocations: 435.2 kB / 358 MB, free: 6.336 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.27e-05/0.02195, allocations: 123 kB / 358.1 MB, free: 6.215 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003012/0.02226, allocations: 103.8 kB / 358.2 MB, free: 6.105 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.02242, allocations: 0.5391 MB / 358.8 MB, free: 5.555 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001738/0.02259, allocations: 170.7 kB / 358.9 MB, free: 5.363 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002762/0.02287, allocations: 400 kB / 359.3 MB, free: 4.871 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004058/0.02327, allocations: 472.7 kB / 359.8 MB, free: 4.312 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/0.02328, allocations: 4 kB / 359.8 MB, free: 4.309 MB / 282.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0008203/0.0241, allocations: 0.5982 MB / 360.4 MB, free: 3.664 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.866e-05/0.02416, allocations: 93.09 kB / 360.5 MB, free: 3.555 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.02416, allocations: 4 kB / 360.5 MB, free: 3.551 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000173/0.02434, allocations: 32.05 kB / 360.5 MB, free: 3.516 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002226/0.02456, allocations: 95.89 kB / 360.6 MB, free: 3.422 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008368/0.0254, allocations: 1.74 MB / 362.3 MB, free: 1.559 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001878/0.02558, allocations: 63.66 kB / 362.4 MB, free: 1.496 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.927e-05/0.02561, allocations: 28.11 kB / 362.4 MB, free: 1.469 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002593/0.02587, allocations: 300.9 kB / 362.7 MB, free: 1.152 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002478/0.02612, allocations: 384.1 kB / 363.1 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006836/0.0268, allocations: 479 kB / 363.6 MB, free: 116 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.174e-06/0.02681, allocations: 0 / 363.6 MB, free: 116 kB / 282.7 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.0005862/0.02739, allocations: 0.5885 MB / 364.2 MB, free: 15.48 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.704e-05/0.02744, allocations: 94.66 kB / 364.2 MB, free: 15.37 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.02744, allocations: 4 kB / 364.3 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.666e-05/0.02752, allocations: 27.67 kB / 364.3 MB, free: 15.33 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001926/0.02771, allocations: 91.83 kB / 364.4 MB, free: 15.24 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007976/0.02851, allocations: 1.74 MB / 366.1 MB, free: 13.38 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002667/0.02878, allocations: 55.77 kB / 366.2 MB, free: 13.32 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.059e-05/0.02881, allocations: 23.98 kB / 366.2 MB, free: 13.3 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.0001815/0.02899, allocations: 368 kB / 366.5 MB, free: 12.92 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.029e-05/0.02906, allocations: 71.62 kB / 366.6 MB, free: 12.85 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004972/0.02956, allocations: 445.9 kB / 367.1 MB, free: 12.38 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.02956, allocations: 4 kB / 367.1 MB, free: 12.38 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.02956, allocations: 0 / 367.1 MB, free: 12.38 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.02957, allocations: 3.984 kB / 367.1 MB, free: 12.38 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000996/0.03056, allocations: 1.012 MB / 368.1 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.03057, allocations: 4 kB / 368.1 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001779/0.03075, allocations: 59.97 kB / 368.1 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.9e-05/0.03081, allocations: 19.67 kB / 368.2 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.575e-05/0.03084, allocations: 8 kB / 368.2 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000699/0.03154, allocations: 1.728 MB / 369.9 MB, free: 9.344 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.03154, allocations: 0 / 369.9 MB, free: 9.344 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001009/0.03255, allocations: 0.7412 MB / 370.6 MB, free: 8.539 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000116/0.03267, allocations: 87.5 kB / 370.7 MB, free: 8.453 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.215e-05/0.03271, allocations: 16 kB / 370.7 MB, free: 8.438 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001619/0.03287, allocations: 31.97 kB / 370.8 MB, free: 8.406 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/0.03297, allocations: 31.94 kB / 370.8 MB, free: 8.375 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-05/0.03299, allocations: 19.92 kB / 370.8 MB, free: 8.355 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002553/0.03325, allocations: 326.8 kB / 371.1 MB, free: 8.039 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.03325, allocations: 4 kB / 371.1 MB, free: 8.035 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006101/0.03386, allocations: 338.8 kB / 371.5 MB, free: 7.703 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.001065/0.03492, allocations: 446.3 kB / 371.9 MB, free: 7.418 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001121/0.03604, allocations: 1.333 MB / 373.2 MB, free: 5.918 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.03605, allocations: 0 / 373.2 MB, free: 5.918 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003164/0.03636, allocations: 471.6 kB / 373.7 MB, free: 5.398 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003696/0.03673, allocations: 92.12 kB / 373.8 MB, free: 5.316 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001783/0.03851, allocations: 1.188 MB / 375 MB, free: 4.078 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00011/0.03862, allocations: 137.8 kB / 375.1 MB, free: 3.922 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001719/0.0388, allocations: 63.23 kB / 375.2 MB, free: 3.859 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.36e-05/0.03889, allocations: 44.48 kB / 375.2 MB, free: 3.816 MB / 298.7 MB Notification: Performance of SimCode: time 6.62e-07/0.03889, allocations: 0 / 375.2 MB, free: 3.816 MB / 298.7 MB Notification: Performance of Templates: time 0.01246/0.05135, allocations: 8.246 MB / 383.5 MB, free: 11.65 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3 -abortSlowSimulation -alarm=240 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.1761081903241575]