Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaByExample_ModelicaByExample.Components.SpeedMeasurement.Examples.Plant.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.001012/0.001012, allocations: 93.06 kB / 19.65 MB, free: 284 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.001113/0.001113, allocations: 165 kB / 23.02 MB, free: 1.555 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9065/0.9065, allocations: 158.6 MB / 184.9 MB, free: 2.922 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.03516/0.03516, allocations: 6.414 MB / 243.6 MB, free: 8.723 MB / 234.7 MB " [Timeout remaining time 180] Using package ModelicaByExample with version 0.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ModelicaByExample.Components.SpeedMeasurement.Examples.Plant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Components.SpeedMeasurement.Examples.Plant") translateModel(ModelicaByExample.Components.SpeedMeasurement.Examples.Plant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Components.SpeedMeasurement.Examples.Plant") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 310.7 MB, free: 51.98 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.549e-05/1.703e-05, allocations: 3.438 kB / 310.7 MB, free: 51.98 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.SpeedMeasurement.Examples.Plant): time 0.002075/0.002092, allocations: 1.943 MB / 312.7 MB, free: 50.71 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002736/0.002365, allocations: 145.2 kB / 312.8 MB, free: 50.61 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.239e-05/0.002418, allocations: 4.125 kB / 312.8 MB, free: 50.61 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 5.461e-05/0.002472, allocations: 20.89 kB / 312.8 MB, free: 50.6 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 7.301e-05/0.002545, allocations: 45.98 kB / 312.9 MB, free: 50.57 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001482/0.002694, allocations: 43.3 kB / 312.9 MB, free: 50.54 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001391/0.002833, allocations: 184 kB / 313.1 MB, free: 50.45 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001356/0.002968, allocations: 59.3 kB / 313.2 MB, free: 50.42 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.309e-05/0.003061, allocations: 105.6 kB / 313.3 MB, free: 50.38 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.688e-05/0.003148, allocations: 52.84 kB / 313.3 MB, free: 50.36 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.727e-05/0.003175, allocations: 16.59 kB / 313.3 MB, free: 50.36 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.451e-05/0.0032, allocations: 16.66 kB / 313.3 MB, free: 50.36 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.855e-05/0.003228, allocations: 43.52 kB / 313.4 MB, free: 50.33 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.169e-05/0.00328, allocations: 62.38 kB / 313.5 MB, free: 50.3 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001429/0.003423, allocations: 109.9 kB / 313.6 MB, free: 50.25 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.003425, allocations: 3.5 kB / 313.6 MB, free: 50.25 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.003426, allocations: 0 / 313.6 MB, free: 50.25 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.558e-06/0.00343, allocations: 1.094 kB / 313.6 MB, free: 50.25 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.000375/0.003805, allocations: 479.7 kB / 314 MB, free: 49.82 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.003843, allocations: 13.27 kB / 314 MB, free: 49.81 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.094e-05/0.003894, allocations: 34.2 kB / 314.1 MB, free: 49.8 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.808e-05/0.003962, allocations: 122.2 kB / 314.2 MB, free: 49.66 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.003977, allocations: 16.31 kB / 314.2 MB, free: 49.65 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.574e-05/0.004012, allocations: 25.14 kB / 314.2 MB, free: 49.64 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001681/0.004181, allocations: 122.3 kB / 314.4 MB, free: 49.58 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.004193, allocations: 2.016 kB / 314.4 MB, free: 49.58 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.43e-05/0.004207, allocations: 7.094 kB / 314.4 MB, free: 49.58 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.004217, allocations: 4.406 kB / 314.4 MB, free: 49.58 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.591e-05/0.004313, allocations: 71.09 kB / 314.4 MB, free: 49.56 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006042/0.004917, allocations: 0.5738 MB / 315 MB, free: 49.1 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002529/0.00517, allocations: 125.3 kB / 315.1 MB, free: 49.04 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001129/0.005283, allocations: 74.34 kB / 315.2 MB, free: 49.02 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.019e-05/0.005293, allocations: 1.375 kB / 315.2 MB, free: 49.02 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.591e-05/0.005309, allocations: 37.17 kB / 315.2 MB, free: 48.97 MB / 282.7 MB Notification: Performance of pre-optimization done (n=14): time 1.583e-06/0.005311, allocations: 1.266 kB / 315.2 MB, free: 48.97 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005677/0.005879, allocations: 367.1 kB / 315.6 MB, free: 48.73 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.772e-05/0.005896, allocations: 52.78 kB / 315.7 MB, free: 48.66 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.729e-05/0.005954, allocations: 180.8 kB / 315.8 MB, free: 48.49 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.233e-06/0.005961, allocations: 27.2 kB / 315.9 MB, free: 48.46 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.263e-05/0.006004, allocations: 184.9 kB / 316 MB, free: 48.29 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.774e-05/0.006031, allocations: 58.7 kB / 316.1 MB, free: 48.24 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.255e-05/0.006074, allocations: 47.89 kB / 316.1 MB, free: 48.19 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.62e-05/0.00612, allocations: 0.4953 MB / 316.6 MB, free: 47.69 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.685e-05/0.006157, allocations: 24.59 kB / 316.7 MB, free: 47.67 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.531e-05/0.006212, allocations: 85.77 kB / 316.7 MB, free: 47.57 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.39e-05/0.006306, allocations: 122.2 kB / 316.9 MB, free: 47.43 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.006307, allocations: 4 kB / 316.9 MB, free: 47.42 MB / 282.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000142/0.006449, allocations: 155.4 kB / 317 MB, free: 47.27 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.006461, allocations: 8.938 kB / 317 MB, free: 47.27 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.006466, allocations: 3.938 kB / 317 MB, free: 47.26 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.006482, allocations: 4 kB / 317 MB, free: 47.26 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001058/0.006588, allocations: 42.05 kB / 317.1 MB, free: 47.22 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.972e-06/0.006594, allocations: 7.938 kB / 317.1 MB, free: 47.21 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.654e-05/0.006631, allocations: 5 kB / 317.1 MB, free: 47.21 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.345e-06/0.006639, allocations: 12 kB / 317.1 MB, free: 47.2 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.823e-05/0.006687, allocations: 168.5 kB / 317.3 MB, free: 47.02 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.063e-05/0.006708, allocations: 16.7 kB / 317.3 MB, free: 47.01 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.895e-05/0.006737, allocations: 13.53 kB / 317.3 MB, free: 47 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.006739, allocations: 8.781 kB / 317.3 MB, free: 46.99 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.006744, allocations: 2.672 kB / 317.3 MB, free: 46.99 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.006747, allocations: 0.5625 kB / 317.3 MB, free: 46.99 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003041/0.007052, allocations: 441 kB / 317.7 MB, free: 46.55 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.007053, allocations: 4 kB / 317.7 MB, free: 46.54 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.689e-05/0.00715, allocations: 35.98 kB / 317.8 MB, free: 46.51 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.007151, allocations: 4 kB / 317.8 MB, free: 46.5 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.00716, allocations: 0 / 317.8 MB, free: 46.5 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.007161, allocations: 0 / 317.8 MB, free: 46.5 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.007162, allocations: 0 / 317.8 MB, free: 46.5 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001619/0.007324, allocations: 305.3 kB / 318.1 MB, free: 46.19 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.283e-06/0.007331, allocations: 7.953 kB / 318.1 MB, free: 46.18 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.291e-05/0.007344, allocations: 4 kB / 318.1 MB, free: 46.18 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.548e-05/0.00738, allocations: 0 / 318.1 MB, free: 46.18 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.806e-05/0.007398, allocations: 15.92 kB / 318.1 MB, free: 46.16 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5e-06/0.007403, allocations: 12 kB / 318.1 MB, free: 46.15 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.105e-05/0.007424, allocations: 132.8 kB / 318.3 MB, free: 46.02 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007424, allocations: 0 / 318.3 MB, free: 46.02 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000193/0.007617, allocations: 40 kB / 318.3 MB, free: 45.98 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (inertia2.flange_a.phi,inertia2.w,inertia1.flange_a.phi,inertia1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 6.727e-05/0.007684, allocations: 91.25 kB / 318.4 MB, free: 45.88 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001419/0.007826, allocations: 100.4 kB / 318.5 MB, free: 45.78 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.007827, allocations: 0 / 318.5 MB, free: 45.78 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.627e-05/0.007863, allocations: 57.11 kB / 318.5 MB, free: 45.72 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001582/0.008022, allocations: 11.27 kB / 318.5 MB, free: 45.71 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006611/0.008683, allocations: 445.3 kB / 319 MB, free: 45.26 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.907e-05/0.008712, allocations: 75.83 kB / 319.1 MB, free: 45.17 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.697e-05/0.008739, allocations: 9.141 kB / 319.1 MB, free: 45.16 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.168e-05/0.00877, allocations: 16.5 kB / 319.1 MB, free: 45.14 MB / 282.7 MB Notification: Performance of SimCode: time 4.71e-07/0.008771, allocations: 4 kB / 319.1 MB, free: 45.14 MB / 282.7 MB Notification: Performance of Templates: time 0.002258/0.01103, allocations: 0.9252 MB / 320 MB, free: 44.23 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaByExample_ModelicaByExample.Components.SpeedMeasurement.Examples.Plant.makefile [Timeout 660] (rm -f ModelicaByExample_ModelicaByExample.Components.SpeedMeasurement.Examples.Plant.pipe ; mkfifo ModelicaByExample_ModelicaByExample.Components.SpeedMeasurement.Examples.Plant.pipe ; head -c 1048576 < ModelicaByExample_ModelicaByExample.Components.SpeedMeasurement.Examples.Plant.pipe >> ../files/ModelicaByExample_ModelicaByExample.Components.SpeedMeasurement.Examples.Plant.sim & ./ModelicaByExample_ModelicaByExample.Components.SpeedMeasurement.Examples.Plant -abortSlowSimulation -alarm=240 -lv LOG_STATS > ModelicaByExample_ModelicaByExample.Components.SpeedMeasurement.Examples.Plant.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.95300829410553]