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.001811/0.001811, allocations: 93.47 kB / 19.44 MB, free: 336 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.002084/0.002084, allocations: 173.2 kB / 22.76 MB, free: 1.66 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.317/1.317, allocations: 158.6 MB / 184.6 MB, free: 2.887 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.06072/0.06072, allocations: 6.412 MB / 243.3 MB, free: 8.77 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.493e-06/1.493e-06, allocations: 0.875 kB / 310 MB, free: 52.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.796e-05/2.946e-05, allocations: 3.438 kB / 310 MB, free: 52.23 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.SpeedMeasurement.Examples.Plant): time 0.002912/0.002941, allocations: 1.916 MB / 311.9 MB, free: 50.97 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003489/0.00329, allocations: 147.7 kB / 312.1 MB, free: 50.86 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.552e-05/0.003366, allocations: 3.719 kB / 312.1 MB, free: 50.86 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 7.034e-05/0.003436, allocations: 22.73 kB / 312.1 MB, free: 50.85 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001181/0.003554, allocations: 42.78 kB / 312.1 MB, free: 50.82 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001791/0.003733, allocations: 40.19 kB / 312.2 MB, free: 50.8 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001956/0.003929, allocations: 184.9 kB / 312.4 MB, free: 50.7 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001862/0.004115, allocations: 58.88 kB / 312.4 MB, free: 50.67 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001416/0.004257, allocations: 100.1 kB / 312.5 MB, free: 50.63 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001299/0.004387, allocations: 55.86 kB / 312.6 MB, free: 50.61 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.922e-05/0.004426, allocations: 16.75 kB / 312.6 MB, free: 50.61 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.019e-05/0.004476, allocations: 16.47 kB / 312.6 MB, free: 50.61 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.998e-05/0.004516, allocations: 36.12 kB / 312.6 MB, free: 50.59 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.487e-05/0.004601, allocations: 69.48 kB / 312.7 MB, free: 50.56 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002805/0.004881, allocations: 192.8 kB / 312.9 MB, free: 50.49 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.004884, allocations: 0 / 312.9 MB, free: 50.49 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.004885, allocations: 0.7969 kB / 312.9 MB, free: 50.49 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.004891, allocations: 0 / 312.9 MB, free: 50.49 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.0005655/0.005457, allocations: 496.8 kB / 313.4 MB, free: 50.04 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.005493, allocations: 17.05 kB / 313.4 MB, free: 50.04 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.005e-05/0.005564, allocations: 29.17 kB / 313.4 MB, free: 50.02 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.196e-05/0.005645, allocations: 118.8 kB / 313.5 MB, free: 49.89 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.975e-05/0.005665, allocations: 15.34 kB / 313.6 MB, free: 49.88 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.956e-05/0.005705, allocations: 21.62 kB / 313.6 MB, free: 49.87 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002686/0.005973, allocations: 147.1 kB / 313.7 MB, free: 49.8 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.65e-05/0.00599, allocations: 192 / 313.7 MB, free: 49.8 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.839e-05/0.006008, allocations: 7.125 kB / 313.7 MB, free: 49.8 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.407e-06/0.006018, allocations: 7.734 kB / 313.7 MB, free: 49.8 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001793/0.006197, allocations: 104.3 kB / 313.8 MB, free: 49.76 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009087/0.007106, allocations: 0.6368 MB / 314.5 MB, free: 49.27 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003869/0.007493, allocations: 156.7 kB / 314.6 MB, free: 49.19 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002046/0.007697, allocations: 87.19 kB / 314.7 MB, free: 49.16 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.49e-05/0.007712, allocations: 2.75 kB / 314.7 MB, free: 49.16 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.661e-05/0.007729, allocations: 34.77 kB / 314.7 MB, free: 49.12 MB / 282.7 MB Notification: Performance of pre-optimization done (n=14): time 1.042e-06/0.00773, allocations: 1.375 kB / 314.8 MB, free: 49.12 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.0008148/0.008545, allocations: 418 kB / 315.2 MB, free: 48.84 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.653e-05/0.008571, allocations: 57.59 kB / 315.2 MB, free: 48.77 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/0.008676, allocations: 186.2 kB / 315.4 MB, free: 48.6 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.008692, allocations: 31.14 kB / 315.4 MB, free: 48.56 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.245e-05/0.008764, allocations: 185.7 kB / 315.6 MB, free: 48.39 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.958e-05/0.008814, allocations: 62.17 kB / 315.7 MB, free: 48.34 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.359e-05/0.008887, allocations: 51.16 kB / 315.7 MB, free: 48.3 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.008996, allocations: 0.5005 MB / 316.2 MB, free: 47.8 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.983e-05/0.009075, allocations: 48.5 kB / 316.3 MB, free: 47.78 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001135/0.009189, allocations: 111.9 kB / 316.4 MB, free: 47.69 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001773/0.009366, allocations: 166 kB / 316.5 MB, free: 47.51 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.009368, allocations: 0 / 316.5 MB, free: 47.51 MB / 282.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002185/0.009586, allocations: 187.5 kB / 316.7 MB, free: 47.33 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.009599, allocations: 4.562 kB / 316.7 MB, free: 47.33 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.009604, allocations: 4 kB / 316.7 MB, free: 47.32 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.009622, allocations: 160 / 316.7 MB, free: 47.32 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001621/0.009784, allocations: 58.08 kB / 316.8 MB, free: 47.27 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.009792, allocations: 0.7969 kB / 316.8 MB, free: 47.27 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.248e-05/0.009845, allocations: 8 kB / 316.8 MB, free: 47.27 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/0.009855, allocations: 8 kB / 316.8 MB, free: 47.26 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 8.378e-05/0.009939, allocations: 181.2 kB / 317 MB, free: 47.07 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.147e-05/0.00997, allocations: 11.95 kB / 317 MB, free: 47.06 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.61e-05/0.01002, allocations: 21.47 kB / 317 MB, free: 47.04 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.01002, allocations: 0 / 317 MB, free: 47.04 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.01002, allocations: 0 / 317 MB, free: 47.04 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.01003, allocations: 9.297 kB / 317 MB, free: 47.04 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004866/0.01051, allocations: 496.2 kB / 317.5 MB, free: 46.54 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.01051, allocations: 0 / 317.5 MB, free: 46.54 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000169/0.01068, allocations: 41.61 kB / 317.5 MB, free: 46.51 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.225e-06/0.01069, allocations: 0 / 317.5 MB, free: 46.51 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.0107, allocations: 4 kB / 317.6 MB, free: 46.5 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.0107, allocations: 0 / 317.6 MB, free: 46.5 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.0107, allocations: 5.031 kB / 317.6 MB, free: 46.5 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002512/0.01095, allocations: 327.6 kB / 317.9 MB, free: 46.17 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.287e-05/0.01097, allocations: 16.52 kB / 317.9 MB, free: 46.16 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.822e-05/0.01098, allocations: 0.75 kB / 317.9 MB, free: 46.16 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.771e-05/0.01105, allocations: 4 kB / 317.9 MB, free: 46.15 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.122e-05/0.01108, allocations: 16.98 kB / 317.9 MB, free: 46.14 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.792e-06/0.01109, allocations: 4 kB / 317.9 MB, free: 46.14 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.824e-05/0.01114, allocations: 138.9 kB / 318.1 MB, free: 46 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01114, allocations: 0 / 318.1 MB, free: 46 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002392/0.01138, allocations: 36 kB / 318.1 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 8.416e-05/0.01146, allocations: 104.5 kB / 318.2 MB, free: 45.86 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001996/0.01166, allocations: 136.7 kB / 318.3 MB, free: 45.74 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.01166, allocations: 0 / 318.3 MB, free: 45.74 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.415e-05/0.01173, allocations: 62.23 kB / 318.4 MB, free: 45.68 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002208/0.01195, allocations: 10.28 kB / 318.4 MB, free: 45.67 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006865/0.01263, allocations: 454.9 kB / 318.8 MB, free: 45.21 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.561e-05/0.01271, allocations: 105.8 kB / 318.9 MB, free: 45.08 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.606e-05/0.01275, allocations: 17.14 kB / 319 MB, free: 45.07 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.822e-05/0.01278, allocations: 16.5 kB / 319 MB, free: 45.05 MB / 282.7 MB Notification: Performance of SimCode: time 4.01e-07/0.01279, allocations: 0 / 319 MB, free: 45.05 MB / 282.7 MB Notification: Performance of Templates: time 0.003702/0.01649, allocations: 0.9305 MB / 319.9 MB, free: 44.15 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: 4.310863019083627]