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.001504/0.001504, 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.001028/0.001028, allocations: 169 kB / 23.02 MB, free: 1.551 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.8844/0.8844, allocations: 158.6 MB / 184.9 MB, free: 2.914 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.03353/0.03353, allocations: 6.404 MB / 243.6 MB, free: 8.715 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.072e-06/1.072e-06, allocations: 1.203 kB / 310.7 MB, free: 52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.478e-05/1.585e-05, allocations: 7.672 kB / 310.7 MB, free: 52 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.SpeedMeasurement.Examples.Plant): time 0.002115/0.002131, allocations: 1.944 MB / 312.7 MB, free: 50.73 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002768/0.002408, allocations: 149 kB / 312.8 MB, free: 50.63 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.926e-05/0.002457, allocations: 3.312 kB / 312.8 MB, free: 50.63 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 5.147e-05/0.002509, allocations: 22.34 kB / 312.9 MB, free: 50.62 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 7.183e-05/0.002581, allocations: 45.23 kB / 312.9 MB, free: 50.58 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001237/0.002704, allocations: 42.42 kB / 312.9 MB, free: 50.56 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001372/0.002842, allocations: 176 kB / 313.1 MB, free: 50.47 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001273/0.002969, allocations: 64.2 kB / 313.2 MB, free: 50.44 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.842e-05/0.003067, allocations: 105.2 kB / 313.3 MB, free: 50.39 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.519e-05/0.003152, allocations: 56.25 kB / 313.3 MB, free: 50.38 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.724e-05/0.00318, allocations: 17.75 kB / 313.3 MB, free: 50.38 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.144e-05/0.003201, allocations: 17.06 kB / 313.4 MB, free: 50.38 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.003e-05/0.003231, allocations: 38.31 kB / 313.4 MB, free: 50.35 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.083e-05/0.003282, allocations: 59.47 kB / 313.5 MB, free: 50.32 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000129/0.003411, allocations: 115.6 kB / 313.6 MB, free: 50.27 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.873e-06/0.003413, allocations: 0.6875 kB / 313.6 MB, free: 50.27 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.003413, allocations: 0 / 313.6 MB, free: 50.27 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.559e-06/0.003418, allocations: 6.312 kB / 313.6 MB, free: 50.27 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.0003557/0.003774, allocations: 474.5 kB / 314 MB, free: 49.84 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.188e-05/0.003806, allocations: 13.2 kB / 314.1 MB, free: 49.83 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.181e-05/0.003857, allocations: 34.59 kB / 314.1 MB, free: 49.82 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.645e-05/0.003924, allocations: 127 kB / 314.2 MB, free: 49.67 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.003939, allocations: 12.12 kB / 314.2 MB, free: 49.67 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.212e-05/0.003971, allocations: 26.25 kB / 314.3 MB, free: 49.66 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001684/0.004139, allocations: 115 kB / 314.4 MB, free: 49.61 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.00415, allocations: 5.875 kB / 314.4 MB, free: 49.6 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.004162, allocations: 7.359 kB / 314.4 MB, free: 49.6 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.004171, allocations: 4.094 kB / 314.4 MB, free: 49.6 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.675e-05/0.004268, allocations: 73.67 kB / 314.5 MB, free: 49.58 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000584/0.004852, allocations: 0.5751 MB / 315 MB, free: 49.12 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002387/0.005091, allocations: 124.8 kB / 315.1 MB, free: 49.06 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001261/0.005217, allocations: 69.53 kB / 315.2 MB, free: 49.04 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.21e-05/0.005229, allocations: 4.672 kB / 315.2 MB, free: 49.04 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.526e-05/0.005244, allocations: 35.89 kB / 315.3 MB, free: 49 MB / 282.7 MB Notification: Performance of pre-optimization done (n=14): time 1.373e-06/0.005245, allocations: 0 / 315.3 MB, free: 49 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004841/0.005729, allocations: 364.4 kB / 315.6 MB, free: 48.74 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.324e-05/0.005753, allocations: 51.41 kB / 315.7 MB, free: 48.68 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.071e-05/0.005813, allocations: 181.1 kB / 315.8 MB, free: 48.49 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.847e-06/0.005822, allocations: 33.64 kB / 315.9 MB, free: 48.45 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.318e-05/0.005865, allocations: 181 kB / 316 MB, free: 48.27 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.564e-05/0.005891, allocations: 61.31 kB / 316.1 MB, free: 48.22 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.048e-05/0.005931, allocations: 49.48 kB / 316.2 MB, free: 48.16 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.394e-05/0.005985, allocations: 0.4919 MB / 316.6 MB, free: 47.66 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.171e-05/0.006027, allocations: 29.58 kB / 316.7 MB, free: 47.64 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.662e-05/0.006084, allocations: 84.08 kB / 316.8 MB, free: 47.54 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001013/0.006185, allocations: 122.2 kB / 316.9 MB, free: 47.4 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.006187, allocations: 7.938 kB / 316.9 MB, free: 47.39 MB / 282.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001462/0.006333, allocations: 152.2 kB / 317 MB, free: 47.25 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.006347, allocations: 4 kB / 317 MB, free: 47.24 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.006354, allocations: 4.156 kB / 317 MB, free: 47.24 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.00637, allocations: 4.609 kB / 317 MB, free: 47.23 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001118/0.006482, allocations: 49.42 kB / 317.1 MB, free: 47.19 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.006488, allocations: 0.75 kB / 317.1 MB, free: 47.19 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.114e-05/0.006519, allocations: 8 kB / 317.1 MB, free: 47.18 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.832e-06/0.006526, allocations: 4 kB / 317.1 MB, free: 47.18 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.598e-05/0.006582, allocations: 173.3 kB / 317.3 MB, free: 47 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.489e-05/0.006607, allocations: 12.47 kB / 317.3 MB, free: 46.99 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.648e-05/0.006634, allocations: 13.58 kB / 317.3 MB, free: 46.98 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.006635, allocations: 4 kB / 317.3 MB, free: 46.97 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.00664, allocations: 4.703 kB / 317.3 MB, free: 46.97 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.006644, allocations: 0.6094 kB / 317.3 MB, free: 46.97 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000311/0.006955, allocations: 443.7 kB / 317.7 MB, free: 46.53 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.006957, allocations: 2.344 kB / 317.7 MB, free: 46.53 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001204/0.007077, allocations: 42.12 kB / 317.8 MB, free: 46.49 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.00708, allocations: 0 / 317.8 MB, free: 46.49 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-06/0.007089, allocations: 4 kB / 317.8 MB, free: 46.49 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.007091, allocations: 4 kB / 317.8 MB, free: 46.48 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.007092, allocations: 0 / 317.8 MB, free: 46.48 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001574/0.007249, allocations: 305.3 kB / 318.1 MB, free: 46.17 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.774e-06/0.007257, allocations: 7.953 kB / 318.1 MB, free: 46.16 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.187e-05/0.007269, allocations: 0 / 318.1 MB, free: 46.16 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.383e-05/0.007303, allocations: 8 kB / 318.1 MB, free: 46.15 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.698e-05/0.00732, allocations: 11.92 kB / 318.1 MB, free: 46.14 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/0.007324, allocations: 4 kB / 318.1 MB, free: 46.14 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.153e-05/0.007346, allocations: 138.6 kB / 318.3 MB, free: 46 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007346, allocations: 0 / 318.3 MB, free: 46 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002085/0.007554, allocations: 36 kB / 318.3 MB, free: 45.97 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.06e-05/0.007625, allocations: 107.2 kB / 318.4 MB, free: 45.86 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001389/0.007764, allocations: 92.36 kB / 318.5 MB, free: 45.76 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.007765, allocations: 0 / 318.5 MB, free: 45.76 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.581e-05/0.007801, allocations: 56.58 kB / 318.5 MB, free: 45.7 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001418/0.007943, allocations: 11.27 kB / 318.6 MB, free: 45.7 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007005/0.008643, allocations: 445.4 kB / 319 MB, free: 45.24 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.177e-05/0.008675, allocations: 71.83 kB / 319.1 MB, free: 45.15 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.017e-05/0.008705, allocations: 17.14 kB / 319.1 MB, free: 45.14 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.126e-05/0.008736, allocations: 16.5 kB / 319.1 MB, free: 45.12 MB / 282.7 MB Notification: Performance of SimCode: time 5.71e-07/0.008737, allocations: 0 / 319.1 MB, free: 45.12 MB / 282.7 MB Notification: Performance of Templates: time 0.002385/0.01112, allocations: 0.9393 MB / 320 MB, free: 44.2 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.8591031236574054]