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.0008596/0.0008596, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.0008805/0.0008805, allocations: 177 kB / 23.36 MB, free: 1.129 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.7858/0.7858, allocations: 158.6 MB / 185.2 MB, free: 2.77 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.03131/0.03131, allocations: 6.423 MB / 244 MB, free: 8.609 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.653e-06/1.653e-06, allocations: 0 / 262.1 MB, free: 6.465 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.267e-05/2.433e-05, allocations: 10.31 kB / 262.1 MB, free: 6.453 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.SpeedMeasurement.Examples.Plant): time 0.003278/0.003303, allocations: 1.922 MB / 264 MB, free: 4.516 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004726/0.003775, allocations: 155.4 kB / 264.2 MB, free: 4.363 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.764e-05/0.003853, allocations: 4 kB / 264.2 MB, free: 4.359 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 7.31e-05/0.003926, allocations: 23.8 kB / 264.2 MB, free: 4.336 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001347/0.004061, allocations: 47.56 kB / 264.3 MB, free: 4.289 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001899/0.004251, allocations: 39.94 kB / 264.3 MB, free: 4.25 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002078/0.004458, allocations: 179.1 kB / 264.5 MB, free: 4.074 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001673/0.004626, allocations: 58.66 kB / 264.5 MB, free: 4.016 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001481/0.004774, allocations: 103.8 kB / 264.6 MB, free: 3.914 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001226/0.004896, allocations: 55.81 kB / 264.7 MB, free: 3.859 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.555e-05/0.004932, allocations: 16 kB / 264.7 MB, free: 3.844 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.79e-05/0.00496, allocations: 19.94 kB / 264.7 MB, free: 3.824 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.882e-05/0.004999, allocations: 35.89 kB / 264.8 MB, free: 3.789 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.497e-05/0.005064, allocations: 59.84 kB / 264.8 MB, free: 3.73 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001815/0.005245, allocations: 119.6 kB / 264.9 MB, free: 3.613 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.005248, allocations: 0 / 264.9 MB, free: 3.613 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.005248, allocations: 0 / 264.9 MB, free: 3.613 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.005253, allocations: 4 kB / 264.9 MB, free: 3.609 MB / 250.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.0005867/0.005839, allocations: 352.3 kB / 265.3 MB, free: 3.238 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.005875, allocations: 11.98 kB / 265.3 MB, free: 3.227 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.52e-05/0.00593, allocations: 28.92 kB / 265.3 MB, free: 3.199 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.537e-05/0.006025, allocations: 117.6 kB / 265.4 MB, free: 3.059 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.819e-05/0.006044, allocations: 12.38 kB / 265.5 MB, free: 3.047 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.44e-05/0.006088, allocations: 32.31 kB / 265.5 MB, free: 3.016 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001665/0.006254, allocations: 110.2 kB / 265.6 MB, free: 2.902 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.006267, allocations: 192 / 265.6 MB, free: 2.902 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.563e-05/0.006283, allocations: 8.375 kB / 265.6 MB, free: 2.895 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.006291, allocations: 8.312 kB / 265.6 MB, free: 2.887 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.47e-05/0.006376, allocations: 47.86 kB / 265.7 MB, free: 2.84 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007716/0.007148, allocations: 475.5 kB / 266.1 MB, free: 2.34 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002709/0.007419, allocations: 106.5 kB / 266.2 MB, free: 2.227 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001241/0.007543, allocations: 60.77 kB / 266.3 MB, free: 2.164 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.199e-05/0.007555, allocations: 4 kB / 266.3 MB, free: 2.16 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/0.007578, allocations: 30.56 kB / 266.3 MB, free: 2.121 MB / 250.7 MB Notification: Performance of pre-optimization done (n=14): time 1.884e-06/0.00758, allocations: 0 / 266.3 MB, free: 2.121 MB / 250.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005958/0.008176, allocations: 325.1 kB / 266.6 MB, free: 1.77 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.167e-05/0.008208, allocations: 51.41 kB / 266.7 MB, free: 1.707 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.702e-05/0.008285, allocations: 130.6 kB / 266.8 MB, free: 1.566 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.486e-05/0.0083, allocations: 33.7 kB / 266.8 MB, free: 1.527 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.183e-05/0.008361, allocations: 132.2 kB / 267 MB, free: 1.395 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.205e-05/0.008403, allocations: 59.45 kB / 267 MB, free: 1.336 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.507e-05/0.008459, allocations: 41.7 kB / 267.1 MB, free: 1.289 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.806e-05/0.008547, allocations: 322.8 kB / 267.4 MB, free: 0.9648 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.238e-05/0.008579, allocations: 15.98 kB / 267.4 MB, free: 0.9492 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.044e-05/0.008639, allocations: 61.12 kB / 267.5 MB, free: 0.8711 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00011/0.008749, allocations: 96.97 kB / 267.6 MB, free: 0.7578 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.008751, allocations: 0 / 267.6 MB, free: 0.7578 MB / 250.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001645/0.008916, allocations: 125.4 kB / 267.7 MB, free: 0.6289 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.00893, allocations: 4 kB / 267.7 MB, free: 0.625 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.008935, allocations: 0 / 267.7 MB, free: 0.625 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.008951, allocations: 4 kB / 267.7 MB, free: 0.6211 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001491/0.0091, allocations: 43.97 kB / 267.7 MB, free: 0.5781 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/0.009108, allocations: 11.94 kB / 267.7 MB, free: 0.5664 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.148e-05/0.00916, allocations: 12.16 kB / 267.8 MB, free: 0.5547 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.009169, allocations: 4 kB / 267.8 MB, free: 0.5508 MB / 250.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 7.945e-05/0.009248, allocations: 125.7 kB / 267.9 MB, free: 428 kB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.351e-05/0.009282, allocations: 7.984 kB / 267.9 MB, free: 420 kB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.635e-05/0.009318, allocations: 20.72 kB / 267.9 MB, free: 396 kB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.009321, allocations: 0 / 267.9 MB, free: 396 kB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.009323, allocations: 0 / 267.9 MB, free: 396 kB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.009327, allocations: 0 / 267.9 MB, free: 396 kB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004067/0.009733, allocations: 302.6 kB / 268.2 MB, free: 68 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.009736, allocations: 7.938 kB / 268.2 MB, free: 60 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001524/0.009888, allocations: 35.97 kB / 268.3 MB, free: 24 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.009893, allocations: 4 kB / 268.3 MB, free: 20 kB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.948e-06/0.009903, allocations: 4 kB / 268.3 MB, free: 16 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.009905, allocations: 0 / 268.3 MB, free: 16 kB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.009907, allocations: 0 / 268.3 MB, free: 16 kB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002142/0.01012, allocations: 211.3 kB / 268.5 MB, free: 15.79 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.295e-05/0.01013, allocations: 7.953 kB / 268.5 MB, free: 15.79 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.77e-05/0.01015, allocations: 7.984 kB / 268.5 MB, free: 15.78 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.956e-05/0.01022, allocations: 4 kB / 268.5 MB, free: 15.77 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002761/0.0105, allocations: 11.98 kB / 268.5 MB, free: 15.76 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.706e-06/0.01051, allocations: 4 kB / 268.5 MB, free: 15.76 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.172e-05/0.01053, allocations: 16.84 kB / 268.5 MB, free: 15.74 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01053, allocations: 0 / 268.5 MB, free: 15.74 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002662/0.01079, allocations: 35.94 kB / 268.6 MB, free: 15.7 MB / 266.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 9.796e-05/0.01089, allocations: 84.36 kB / 268.6 MB, free: 15.61 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001318/0.01102, allocations: 80.69 kB / 268.7 MB, free: 15.53 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.177e-06/0.01103, allocations: 4.312 kB / 268.7 MB, free: 15.53 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.722e-05/0.01107, allocations: 45.14 kB / 268.8 MB, free: 15.48 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001737/0.01125, allocations: 8.516 kB / 268.8 MB, free: 15.47 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007821/0.01203, allocations: 384.7 kB / 269.1 MB, free: 15.07 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.276e-05/0.01208, allocations: 71.84 kB / 269.2 MB, free: 14.98 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.355e-05/0.01213, allocations: 9.141 kB / 269.2 MB, free: 14.96 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.333e-05/0.01219, allocations: 63.38 kB / 269.3 MB, free: 14.9 MB / 266.7 MB Notification: Performance of SimCode: time 8.51e-07/0.01219, allocations: 0 / 269.3 MB, free: 14.9 MB / 266.7 MB Notification: Performance of Templates: time 0.003602/0.01579, allocations: 1.011 MB / 270.3 MB, free: 13.89 MB / 266.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.4550495357252657]