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.00106/0.00106, allocations: 73.09 kB / 20.65 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.001109/0.001109, allocations: 173 kB / 24.06 MB, free: 456 kB / 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.9142/0.9142, allocations: 158.6 MB / 186 MB, free: 2.785 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.0367/0.0367, allocations: 6.41 MB / 244.7 MB, free: 8.551 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.764e-06/1.764e-06, allocations: 0 / 312 MB, free: 51.79 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.099e-05/2.275e-05, allocations: 4.156 kB / 312 MB, free: 51.79 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.SpeedMeasurement.Examples.Plant): time 0.003241/0.003264, allocations: 1.925 MB / 313.9 MB, free: 50.53 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003791/0.003643, allocations: 139.3 kB / 314 MB, free: 50.43 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.984e-05/0.003723, allocations: 4.688 kB / 314 MB, free: 50.43 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003087/0.00681, allocations: 29.62 kB / 314.1 MB, free: 50.41 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001258/0.006936, allocations: 46.59 kB / 314.1 MB, free: 50.38 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001809/0.007117, allocations: 38.23 kB / 314.1 MB, free: 50.36 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000194/0.007311, allocations: 183.7 kB / 314.3 MB, free: 50.26 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001753/0.007486, allocations: 60.39 kB / 314.4 MB, free: 50.23 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001364/0.007623, allocations: 109.9 kB / 314.5 MB, free: 50.18 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001157/0.007738, allocations: 47.28 kB / 314.5 MB, free: 50.17 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.327e-05/0.007772, allocations: 16.5 kB / 314.6 MB, free: 50.17 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.633e-05/0.007798, allocations: 17.88 kB / 314.6 MB, free: 50.17 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.597e-05/0.007834, allocations: 43.59 kB / 314.6 MB, free: 50.14 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.902e-05/0.007893, allocations: 57.81 kB / 314.7 MB, free: 50.12 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001741/0.008067, allocations: 113.5 kB / 314.8 MB, free: 50.06 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.345e-06/0.008069, allocations: 0.8125 kB / 314.8 MB, free: 50.06 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.00807, allocations: 5.312 kB / 314.8 MB, free: 50.06 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.008074, allocations: 0.875 kB / 314.8 MB, free: 50.06 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.0004167/0.008491, allocations: 479.2 kB / 315.3 MB, free: 49.62 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.008528, allocations: 16.77 kB / 315.3 MB, free: 49.62 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.018e-05/0.008588, allocations: 41.28 kB / 315.3 MB, free: 49.6 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.421e-05/0.008672, allocations: 121.9 kB / 315.4 MB, free: 49.46 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/0.008691, allocations: 11.25 kB / 315.4 MB, free: 49.45 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.485e-05/0.008726, allocations: 24.7 kB / 315.5 MB, free: 49.44 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001668/0.008892, allocations: 103.9 kB / 315.6 MB, free: 49.39 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.008905, allocations: 1.531 kB / 315.6 MB, free: 49.39 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.454e-05/0.008919, allocations: 6.344 kB / 315.6 MB, free: 49.39 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.008927, allocations: 4.031 kB / 315.6 MB, free: 49.39 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001067/0.009034, allocations: 59.53 kB / 315.6 MB, free: 49.38 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003749/0.01278, allocations: 0.5789 MB / 316.2 MB, free: 48.92 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002925/0.01308, allocations: 123.1 kB / 316.3 MB, free: 48.86 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001375/0.01321, allocations: 63.91 kB / 316.4 MB, free: 48.84 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.959e-06/0.01322, allocations: 1.344 kB / 316.4 MB, free: 48.84 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.79e-05/0.01324, allocations: 36.92 kB / 316.4 MB, free: 48.8 MB / 282.7 MB Notification: Performance of pre-optimization done (n=14): time 1.864e-06/0.01324, allocations: 0 / 316.4 MB, free: 48.8 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005172/0.01376, allocations: 338.5 kB / 316.8 MB, free: 48.46 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.298e-05/0.01378, allocations: 51.41 kB / 316.8 MB, free: 48.4 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.735e-05/0.01385, allocations: 181.3 kB / 317 MB, free: 48.21 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.787e-06/0.01386, allocations: 25.7 kB / 317 MB, free: 48.18 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.989e-05/0.01391, allocations: 180.9 kB / 317.2 MB, free: 48.01 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.869e-05/0.01395, allocations: 60.83 kB / 317.3 MB, free: 47.95 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.449e-05/0.014, allocations: 49.7 kB / 317.3 MB, free: 47.9 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.013e-05/0.01406, allocations: 0.4961 MB / 317.8 MB, free: 47.39 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.839e-05/0.0141, allocations: 19.94 kB / 317.8 MB, free: 47.38 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.422e-05/0.01416, allocations: 81.27 kB / 317.9 MB, free: 47.28 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001073/0.01427, allocations: 123.5 kB / 318 MB, free: 47.14 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.01427, allocations: 4 kB / 318 MB, free: 47.14 MB / 282.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001735/0.01445, allocations: 134.2 kB / 318.2 MB, free: 47.01 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.01446, allocations: 8.609 kB / 318.2 MB, free: 47 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.01447, allocations: 4.156 kB / 318.2 MB, free: 47 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.01448, allocations: 4 kB / 318.2 MB, free: 46.99 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000165/0.01465, allocations: 50.03 kB / 318.2 MB, free: 46.95 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.01465, allocations: 4.562 kB / 318.2 MB, free: 46.95 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.098e-05/0.0147, allocations: 0 / 318.2 MB, free: 46.95 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.002e-05/0.01471, allocations: 8 kB / 318.2 MB, free: 46.94 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 6.207e-05/0.01477, allocations: 169.3 kB / 318.4 MB, free: 46.76 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.509e-05/0.01481, allocations: 15.95 kB / 318.4 MB, free: 46.75 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.348e-05/0.01484, allocations: 17.81 kB / 318.4 MB, free: 46.73 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.01485, allocations: 0.9844 kB / 318.4 MB, free: 46.73 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.01485, allocations: 4 kB / 318.4 MB, free: 46.73 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.01486, allocations: 1.172 kB / 318.4 MB, free: 46.73 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004007/0.01526, allocations: 405.8 kB / 318.8 MB, free: 46.32 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.01526, allocations: 0 / 318.8 MB, free: 46.32 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001517/0.01541, allocations: 43.92 kB / 318.9 MB, free: 46.27 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.257e-06/0.01541, allocations: 4 kB / 318.9 MB, free: 46.27 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.01542, allocations: 4 kB / 318.9 MB, free: 46.27 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.01543, allocations: 0 / 318.9 MB, free: 46.27 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.01543, allocations: 0 / 318.9 MB, free: 46.27 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002172/0.01564, allocations: 287.5 kB / 319.2 MB, free: 45.97 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.221e-05/0.01566, allocations: 7.953 kB / 319.2 MB, free: 45.96 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.67e-05/0.01567, allocations: 3.984 kB / 319.2 MB, free: 45.96 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.071e-05/0.01574, allocations: 4 kB / 319.2 MB, free: 45.95 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.842e-05/0.01576, allocations: 7.984 kB / 319.2 MB, free: 45.95 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.524e-06/0.01577, allocations: 4 kB / 319.2 MB, free: 45.94 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.223e-05/0.0158, allocations: 144.6 kB / 319.3 MB, free: 45.8 MB / 282.7 MB Notification: Performance of sort global known variables: time 1e-07/0.0158, allocations: 0 / 319.3 MB, free: 45.8 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000277/0.01608, allocations: 39.94 kB / 319.4 MB, free: 45.76 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 7.704e-05/0.01616, allocations: 103.2 kB / 319.5 MB, free: 45.65 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001398/0.0163, allocations: 80.38 kB / 319.6 MB, free: 45.57 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.0163, allocations: 0 / 319.6 MB, free: 45.57 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.765e-05/0.01634, allocations: 52.84 kB / 319.6 MB, free: 45.52 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002404/0.01659, allocations: 11.27 kB / 319.6 MB, free: 45.51 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000824/0.01741, allocations: 439.4 kB / 320 MB, free: 45.06 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.293e-05/0.01745, allocations: 67.84 kB / 320.1 MB, free: 44.97 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.282e-05/0.01749, allocations: 17.14 kB / 320.1 MB, free: 44.96 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.474e-05/0.01755, allocations: 78.2 kB / 320.2 MB, free: 44.88 MB / 282.7 MB Notification: Performance of SimCode: time 8.21e-07/0.01755, allocations: 4 kB / 320.2 MB, free: 44.88 MB / 282.7 MB Notification: Performance of Templates: time 0.006158/0.02371, allocations: 1.037 MB / 321.2 MB, free: 43.87 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.9164082929491997]