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.001413/0.001413, allocations: 88.72 kB / 19.44 MB, free: 356 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.002255/0.002255, allocations: 157.7 kB / 22.75 MB, free: 1.684 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 1.457/1.457, allocations: 158.6 MB / 184.6 MB, free: 2.883 MB / 170.7 MB " [Timeout remaining time 178] 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.05026/0.05026, allocations: 6.412 MB / 243.3 MB, free: 8.789 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 2.455e-06/2.455e-06, allocations: 0 / 310 MB, free: 52.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.304e-05/3.55e-05, allocations: 2.312 kB / 310 MB, free: 52.24 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.SpeedMeasurement.Examples.Plant): time 0.004584/0.00462, allocations: 1.831 MB / 311.8 MB, free: 51.03 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006586/0.005278, allocations: 149.2 kB / 312 MB, free: 50.92 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001943/0.005472, allocations: 4.344 kB / 312 MB, free: 50.92 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001331/0.005606, allocations: 23.5 kB / 312 MB, free: 50.91 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002399/0.005846, allocations: 47.11 kB / 312.1 MB, free: 50.87 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003172/0.006163, allocations: 42.39 kB / 312.1 MB, free: 50.85 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003426/0.006505, allocations: 180.6 kB / 312.3 MB, free: 50.75 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002453/0.006751, allocations: 57.09 kB / 312.3 MB, free: 50.73 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002286/0.006979, allocations: 103.2 kB / 312.4 MB, free: 50.68 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002/0.007179, allocations: 54.28 kB / 312.5 MB, free: 50.66 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.626e-05/0.007235, allocations: 16.5 kB / 312.5 MB, free: 50.66 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.861e-05/0.007284, allocations: 19.59 kB / 312.5 MB, free: 50.66 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.588e-05/0.00733, allocations: 33.86 kB / 312.6 MB, free: 50.64 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001138/0.007444, allocations: 66.2 kB / 312.6 MB, free: 50.61 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003845/0.007828, allocations: 191.7 kB / 312.8 MB, free: 50.54 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.007833, allocations: 0.75 kB / 312.8 MB, free: 50.54 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.007835, allocations: 0.875 kB / 312.8 MB, free: 50.54 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.345e-05/0.007849, allocations: 1 kB / 312.8 MB, free: 50.54 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.0008239/0.008673, allocations: 379.7 kB / 313.2 MB, free: 50.21 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/0.00872, allocations: 14.02 kB / 313.2 MB, free: 50.2 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001115/0.008831, allocations: 31.81 kB / 313.2 MB, free: 50.19 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001241/0.008955, allocations: 116.1 kB / 313.3 MB, free: 50.06 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.951e-05/0.008995, allocations: 15.38 kB / 313.4 MB, free: 50.05 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.84e-05/0.009063, allocations: 21.56 kB / 313.4 MB, free: 50.04 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004189/0.009482, allocations: 154 kB / 313.5 MB, free: 49.97 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.464e-05/0.009507, allocations: 5.281 kB / 313.5 MB, free: 49.96 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.692e-05/0.009534, allocations: 5.75 kB / 313.5 MB, free: 49.96 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.167e-05/0.009545, allocations: 5.547 kB / 313.5 MB, free: 49.96 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003013/0.009847, allocations: 106.5 kB / 313.6 MB, free: 49.92 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001325/0.01117, allocations: 0.5481 MB / 314.2 MB, free: 49.51 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005425/0.01171, allocations: 148.8 kB / 314.3 MB, free: 49.44 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003018/0.01202, allocations: 81.83 kB / 314.4 MB, free: 49.41 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.301e-05/0.01204, allocations: 2.75 kB / 314.4 MB, free: 49.41 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.142e-05/0.01206, allocations: 33.86 kB / 314.5 MB, free: 49.37 MB / 282.7 MB Notification: Performance of pre-optimization done (n=14): time 2.064e-06/0.01206, allocations: 0 / 314.5 MB, free: 49.37 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.001107/0.01317, allocations: 409.4 kB / 314.9 MB, free: 49.1 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.408e-05/0.01319, allocations: 56.78 kB / 314.9 MB, free: 49.03 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.01329, allocations: 120.9 kB / 315 MB, free: 48.93 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.01331, allocations: 31.08 kB / 315.1 MB, free: 48.89 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.555e-05/0.01336, allocations: 129.7 kB / 315.2 MB, free: 48.77 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.253e-05/0.01342, allocations: 67.33 kB / 315.2 MB, free: 48.72 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.319e-05/0.0135, allocations: 38.52 kB / 315.3 MB, free: 48.69 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.383e-05/0.01355, allocations: 324.7 kB / 315.6 MB, free: 48.37 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001182/0.01367, allocations: 42.64 kB / 315.6 MB, free: 48.36 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001562/0.01383, allocations: 87 kB / 315.7 MB, free: 48.29 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002469/0.01408, allocations: 142.3 kB / 315.9 MB, free: 48.19 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.01408, allocations: 1.375 kB / 315.9 MB, free: 48.19 MB / 282.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003862/0.01446, allocations: 191.4 kB / 316.1 MB, free: 48.06 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.01448, allocations: 4 kB / 316.1 MB, free: 48.06 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.01449, allocations: 4 kB / 316.1 MB, free: 48.05 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.725e-05/0.01452, allocations: 0 / 316.1 MB, free: 48.05 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002878/0.0148, allocations: 49.91 kB / 316.1 MB, free: 48.01 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/0.01481, allocations: 4 kB / 316.1 MB, free: 48.01 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001032/0.01492, allocations: 8.656 kB / 316.1 MB, free: 48 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.507e-05/0.01493, allocations: 4 kB / 316.1 MB, free: 48 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 9.303e-05/0.01502, allocations: 138.3 kB / 316.3 MB, free: 47.85 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.915e-05/0.01508, allocations: 11.95 kB / 316.3 MB, free: 47.84 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.497e-05/0.01514, allocations: 18.05 kB / 316.3 MB, free: 47.82 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.01514, allocations: 4 kB / 316.3 MB, free: 47.82 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.064e-05/0.01515, allocations: 3.188 kB / 316.3 MB, free: 47.82 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.01516, allocations: 8.688 kB / 316.3 MB, free: 47.81 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007763/0.01593, allocations: 408.4 kB / 316.7 MB, free: 47.41 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.01594, allocations: 0.5156 kB / 316.7 MB, free: 47.41 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002834/0.01622, allocations: 40.91 kB / 316.7 MB, free: 47.38 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/0.01623, allocations: 0.75 kB / 316.8 MB, free: 47.38 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.806e-05/0.01624, allocations: 4 kB / 316.8 MB, free: 47.37 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.01625, allocations: 4 kB / 316.8 MB, free: 47.37 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.01625, allocations: 0.8438 kB / 316.8 MB, free: 47.37 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003941/0.01664, allocations: 281.8 kB / 317 MB, free: 47.09 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.054e-05/0.01667, allocations: 12.64 kB / 317 MB, free: 47.08 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.94e-05/0.01669, allocations: 8 kB / 317.1 MB, free: 47.07 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001275/0.01682, allocations: 0.5625 kB / 317.1 MB, free: 47.07 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.542e-05/0.01686, allocations: 17.09 kB / 317.1 MB, free: 47.06 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.085e-05/0.01687, allocations: 4 kB / 317.1 MB, free: 47.05 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.856e-05/0.01692, allocations: 90.47 kB / 317.2 MB, free: 46.97 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.01692, allocations: 0 / 317.2 MB, free: 46.97 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004828/0.0174, allocations: 32 kB / 317.2 MB, free: 46.94 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 0.0001234/0.01752, allocations: 100.2 kB / 317.3 MB, free: 46.83 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002971/0.01782, allocations: 123.7 kB / 317.4 MB, free: 46.72 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.01782, allocations: 0 / 317.4 MB, free: 46.72 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001031/0.01793, allocations: 52.3 kB / 317.5 MB, free: 46.68 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003834/0.01831, allocations: 4 kB / 317.5 MB, free: 46.67 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001043/0.01935, allocations: 451.8 kB / 317.9 MB, free: 46.22 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.772e-05/0.01945, allocations: 105.8 kB / 318 MB, free: 46.1 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.394e-05/0.01951, allocations: 17.14 kB / 318 MB, free: 46.08 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.388e-05/0.01956, allocations: 16.5 kB / 318 MB, free: 46.07 MB / 282.7 MB Notification: Performance of SimCode: time 4.6e-07/0.01956, allocations: 0 / 318 MB, free: 46.07 MB / 282.7 MB Notification: Performance of Templates: time 0.004831/0.02439, allocations: 0.9332 MB / 319 MB, free: 45.16 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=480 -lv LOG_STATS > ModelicaByExample_ModelicaByExample.Components.SpeedMeasurement.Examples.Plant.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.41330311994534]