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.0009825/0.0009825, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.000966/0.000966, allocations: 173 kB / 23.49 MB, free: 1.055 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.964/0.964, allocations: 158.6 MB / 185.3 MB, free: 2.934 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.02899/0.02899, allocations: 6.402 MB / 244 MB, free: 8.793 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.262e-06/1.262e-06, allocations: 0 / 310.7 MB, free: 52.29 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.341e-05/1.467e-05, allocations: 6.203 kB / 310.7 MB, free: 52.29 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.SpeedMeasurement.Examples.Plant): time 0.002539/0.002554, allocations: 1.943 MB / 312.7 MB, free: 51.02 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000355/0.002909, allocations: 139.8 kB / 312.8 MB, free: 50.92 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.837e-05/0.002977, allocations: 2.781 kB / 312.8 MB, free: 50.92 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 6.92e-05/0.003046, allocations: 26.05 kB / 312.9 MB, free: 50.91 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 9.15e-05/0.003138, allocations: 45.84 kB / 312.9 MB, free: 50.87 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001703/0.003308, allocations: 38.94 kB / 312.9 MB, free: 50.85 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001774/0.003485, allocations: 183 kB / 313.1 MB, free: 50.76 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001542/0.00364, allocations: 58.56 kB / 313.2 MB, free: 50.73 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001104/0.00375, allocations: 108.3 kB / 313.3 MB, free: 50.68 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001019/0.003852, allocations: 47.91 kB / 313.3 MB, free: 50.67 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.415e-05/0.003886, allocations: 16.94 kB / 313.3 MB, free: 50.67 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.688e-05/0.003913, allocations: 17.03 kB / 313.4 MB, free: 50.67 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.423e-05/0.003947, allocations: 42.66 kB / 313.4 MB, free: 50.64 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.188e-05/0.004009, allocations: 61.52 kB / 313.5 MB, free: 50.62 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001626/0.004172, allocations: 114.1 kB / 313.6 MB, free: 50.56 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.004174, allocations: 4 kB / 313.6 MB, free: 50.56 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.22e-07/0.004175, allocations: 0 / 313.6 MB, free: 50.56 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.004179, allocations: 1.031 kB / 313.6 MB, free: 50.56 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.0006425/0.004822, allocations: 476.8 kB / 314 MB, free: 50.13 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.004858, allocations: 12.73 kB / 314.1 MB, free: 50.12 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.939e-05/0.004917, allocations: 32.72 kB / 314.1 MB, free: 50.11 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.134e-05/0.004999, allocations: 130.5 kB / 314.2 MB, free: 49.96 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.774e-05/0.005017, allocations: 11.25 kB / 314.2 MB, free: 49.96 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.469e-05/0.005051, allocations: 26.22 kB / 314.2 MB, free: 49.95 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000202/0.005253, allocations: 119.4 kB / 314.4 MB, free: 49.89 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.005267, allocations: 4.094 kB / 314.4 MB, free: 49.89 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.575e-05/0.005283, allocations: 5.75 kB / 314.4 MB, free: 49.89 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/0.005293, allocations: 4.5 kB / 314.4 MB, free: 49.89 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001263/0.005419, allocations: 73.36 kB / 314.5 MB, free: 49.87 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006885/0.006108, allocations: 0.5745 MB / 315 MB, free: 49.41 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003329/0.006441, allocations: 129.7 kB / 315.2 MB, free: 49.35 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001398/0.00658, allocations: 68.14 kB / 315.2 MB, free: 49.33 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.466e-06/0.006589, allocations: 1.375 kB / 315.2 MB, free: 49.33 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.698e-05/0.006606, allocations: 40.66 kB / 315.3 MB, free: 49.29 MB / 282.7 MB Notification: Performance of pre-optimization done (n=14): time 1.333e-06/0.006607, allocations: 4 kB / 315.3 MB, free: 49.28 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.000597/0.007204, allocations: 362 kB / 315.6 MB, free: 49.04 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.469e-05/0.007229, allocations: 53.59 kB / 315.7 MB, free: 48.98 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.6e-05/0.007305, allocations: 182 kB / 315.8 MB, free: 48.8 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.667e-06/0.007314, allocations: 26.98 kB / 315.9 MB, free: 48.77 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.744e-05/0.007361, allocations: 181 kB / 316.1 MB, free: 48.6 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.482e-05/0.007396, allocations: 62.86 kB / 316.1 MB, free: 48.55 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.747e-05/0.007453, allocations: 52.7 kB / 316.2 MB, free: 48.51 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.627e-05/0.0075, allocations: 0.4951 MB / 316.7 MB, free: 48.01 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.036e-05/0.00755, allocations: 19.45 kB / 316.7 MB, free: 48.01 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.76e-05/0.007628, allocations: 94.03 kB / 316.8 MB, free: 47.92 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001321/0.00776, allocations: 117.6 kB / 316.9 MB, free: 47.83 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.007761, allocations: 0 / 316.9 MB, free: 47.83 MB / 282.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002055/0.007966, allocations: 153.4 kB / 317 MB, free: 47.76 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.00798, allocations: 5.656 kB / 317 MB, free: 47.76 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.007985, allocations: 5.375 kB / 317 MB, free: 47.75 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.008003, allocations: 5 kB / 317 MB, free: 47.75 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001487/0.008151, allocations: 50.97 kB / 317.1 MB, free: 47.75 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.008159, allocations: 7.344 kB / 317.1 MB, free: 47.74 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.574e-05/0.008205, allocations: 4.062 kB / 317.1 MB, free: 47.74 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.348e-06/0.008214, allocations: 8 kB / 317.1 MB, free: 47.73 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 5.612e-05/0.00827, allocations: 173.1 kB / 317.3 MB, free: 47.55 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.058e-05/0.008301, allocations: 16.8 kB / 317.3 MB, free: 47.54 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.111e-05/0.008332, allocations: 17.53 kB / 317.3 MB, free: 47.52 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.008334, allocations: 4 kB / 317.3 MB, free: 47.52 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.008338, allocations: 0 / 317.3 MB, free: 47.52 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.008343, allocations: 1.453 kB / 317.3 MB, free: 47.52 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003972/0.00874, allocations: 442.4 kB / 317.8 MB, free: 47.07 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.008742, allocations: 4 kB / 317.8 MB, free: 47.07 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001295/0.008871, allocations: 37.7 kB / 317.8 MB, free: 47.04 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.008873, allocations: 0 / 317.8 MB, free: 47.04 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.008885, allocations: 8 kB / 317.8 MB, free: 47.03 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.008887, allocations: 0 / 317.8 MB, free: 47.03 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.008888, allocations: 4 kB / 317.8 MB, free: 47.02 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002061/0.009094, allocations: 297.4 kB / 318.1 MB, free: 46.71 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.057e-06/0.009103, allocations: 3.953 kB / 318.1 MB, free: 46.71 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.822e-05/0.009121, allocations: 8 kB / 318.1 MB, free: 46.7 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.498e-05/0.009176, allocations: 0 / 318.1 MB, free: 46.7 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.289e-05/0.009199, allocations: 15.92 kB / 318.1 MB, free: 46.69 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.541e-06/0.009204, allocations: 4 kB / 318.1 MB, free: 46.68 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.61e-05/0.00923, allocations: 135.2 kB / 318.3 MB, free: 46.55 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.00923, allocations: 3.938 kB / 318.3 MB, free: 46.55 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002519/0.009482, allocations: 32 kB / 318.3 MB, free: 46.52 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.867e-05/0.009551, allocations: 104 kB / 318.4 MB, free: 46.41 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001596/0.009711, allocations: 87.58 kB / 318.5 MB, free: 46.32 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.009712, allocations: 0 / 318.5 MB, free: 46.32 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.762e-05/0.00976, allocations: 53.14 kB / 318.5 MB, free: 46.26 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002138/0.009973, allocations: 12.36 kB / 318.6 MB, free: 46.25 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007612/0.01073, allocations: 456.8 kB / 319 MB, free: 45.79 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.615e-05/0.01077, allocations: 75.83 kB / 319.1 MB, free: 45.7 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.4e-05/0.0108, allocations: 13.14 kB / 319.1 MB, free: 45.68 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.239e-05/0.01084, allocations: 16.5 kB / 319.1 MB, free: 45.66 MB / 282.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01084, allocations: 0 / 319.1 MB, free: 45.66 MB / 282.7 MB Notification: Performance of Templates: time 0.002402/0.01324, allocations: 0.9291 MB / 320 MB, free: 44.76 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.964360028039664]