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.001002/0.001002, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001148/0.001148, allocations: 173 kB / 23.36 MB, free: 1.133 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.916/0.916, allocations: 158.6 MB / 185.2 MB, free: 2.742 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.0293/0.0293, allocations: 6.416 MB / 244 MB, free: 8.613 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.332e-06/1.332e-06, allocations: 0 / 262.2 MB, free: 6.406 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.123e-05/2.256e-05, allocations: 2.312 kB / 262.2 MB, free: 6.402 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.SpeedMeasurement.Examples.Plant): time 0.002603/0.002626, allocations: 1.969 MB / 264.1 MB, free: 4.418 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003326/0.002958, allocations: 151.4 kB / 264.3 MB, free: 4.27 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.001e-05/0.003018, allocations: 4 kB / 264.3 MB, free: 4.266 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 6.098e-05/0.003079, allocations: 27.73 kB / 264.3 MB, free: 4.238 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 9.094e-05/0.00317, allocations: 47.55 kB / 264.4 MB, free: 4.191 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001396/0.00331, allocations: 39.94 kB / 264.4 MB, free: 4.152 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001347/0.003444, allocations: 175.2 kB / 264.6 MB, free: 3.98 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.003573, allocations: 66.42 kB / 264.6 MB, free: 3.914 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.299e-05/0.003666, allocations: 103.8 kB / 264.7 MB, free: 3.812 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.771e-05/0.003754, allocations: 47.88 kB / 264.8 MB, free: 3.766 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.411e-05/0.003778, allocations: 20 kB / 264.8 MB, free: 3.746 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.882e-05/0.003797, allocations: 16 kB / 264.8 MB, free: 3.73 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.032e-05/0.003827, allocations: 43.83 kB / 264.9 MB, free: 3.688 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.3e-05/0.00387, allocations: 59.91 kB / 264.9 MB, free: 3.629 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001363/0.004006, allocations: 111.6 kB / 265 MB, free: 3.52 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.004009, allocations: 0 / 265 MB, free: 3.52 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.00401, allocations: 0 / 265 MB, free: 3.52 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.636e-06/0.004013, allocations: 0 / 265 MB, free: 3.52 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.00033/0.004343, allocations: 360.2 kB / 265.4 MB, free: 3.141 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.903e-05/0.004372, allocations: 15.98 kB / 265.4 MB, free: 3.125 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.737e-05/0.00441, allocations: 24.92 kB / 265.4 MB, free: 3.102 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.945e-05/0.004489, allocations: 129.5 kB / 265.5 MB, free: 2.949 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.004504, allocations: 12.38 kB / 265.6 MB, free: 2.938 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.512e-05/0.004529, allocations: 20.33 kB / 265.6 MB, free: 2.918 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001158/0.004645, allocations: 110.2 kB / 265.7 MB, free: 2.805 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.004655, allocations: 192 / 265.7 MB, free: 2.805 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.004668, allocations: 12.38 kB / 265.7 MB, free: 2.793 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-06/0.004674, allocations: 4.375 kB / 265.7 MB, free: 2.789 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.85e-05/0.004733, allocations: 47.86 kB / 265.7 MB, free: 2.742 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005402/0.005273, allocations: 475.5 kB / 266.2 MB, free: 2.242 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002165/0.00549, allocations: 102.5 kB / 266.3 MB, free: 2.133 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.281e-05/0.005572, allocations: 60.81 kB / 266.4 MB, free: 2.07 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.217e-05/0.005585, allocations: 7.938 kB / 266.4 MB, free: 2.062 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.994e-05/0.005604, allocations: 30.56 kB / 266.4 MB, free: 2.023 MB / 250.7 MB Notification: Performance of pre-optimization done (n=14): time 1.202e-06/0.005606, allocations: 0 / 266.4 MB, free: 2.023 MB / 250.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004815/0.006087, allocations: 321.1 kB / 266.7 MB, free: 1.676 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.719e-05/0.006114, allocations: 55.41 kB / 266.8 MB, free: 1.609 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.329e-05/0.006178, allocations: 130.6 kB / 266.9 MB, free: 1.469 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.928e-06/0.006188, allocations: 25.7 kB / 266.9 MB, free: 1.438 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.822e-05/0.006236, allocations: 128.2 kB / 267.1 MB, free: 1.309 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.84e-05/0.006264, allocations: 63.45 kB / 267.1 MB, free: 1.246 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.974e-05/0.006304, allocations: 37.7 kB / 267.2 MB, free: 1.203 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.048e-05/0.006374, allocations: 326.8 kB / 267.5 MB, free: 0.875 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.104e-05/0.006395, allocations: 15.98 kB / 267.5 MB, free: 0.8594 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.493e-05/0.00644, allocations: 69.06 kB / 267.6 MB, free: 0.7734 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.833e-05/0.006519, allocations: 101 kB / 267.7 MB, free: 0.6562 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.00652, allocations: 0 / 267.7 MB, free: 0.6562 MB / 250.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001103/0.00663, allocations: 117.4 kB / 267.8 MB, free: 0.5352 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/0.006642, allocations: 8 kB / 267.8 MB, free: 0.5273 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.006646, allocations: 3.984 kB / 267.8 MB, free: 0.5234 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.006658, allocations: 4 kB / 267.8 MB, free: 0.5195 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001467/0.006805, allocations: 64.06 kB / 267.8 MB, free: 468 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.066e-06/0.006808, allocations: 0 / 267.8 MB, free: 468 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.127e-05/0.006839, allocations: 8 kB / 267.9 MB, free: 460 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.291e-06/0.006846, allocations: 4 kB / 267.9 MB, free: 456 kB / 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 5.962e-05/0.006905, allocations: 125.7 kB / 268 MB, free: 320 kB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.1e-05/0.006926, allocations: 11.98 kB / 268 MB, free: 308 kB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.509e-05/0.006951, allocations: 16.78 kB / 268 MB, free: 288 kB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.006953, allocations: 0 / 268 MB, free: 288 kB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-06/0.006955, allocations: 0 / 268 MB, free: 288 kB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.006961, allocations: 11.98 kB / 268 MB, free: 276 kB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002869/0.007247, allocations: 298.6 kB / 268.3 MB, free: 15.95 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.007249, allocations: 0 / 268.3 MB, free: 15.95 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001226/0.007371, allocations: 55.75 kB / 268.4 MB, free: 15.9 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.007373, allocations: 0 / 268.4 MB, free: 15.9 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.635e-06/0.00738, allocations: 4 kB / 268.4 MB, free: 15.89 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.007382, allocations: 0 / 268.4 MB, free: 15.89 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.237e-06/0.007385, allocations: 7.938 kB / 268.4 MB, free: 15.89 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001412/0.007526, allocations: 199.4 kB / 268.6 MB, free: 15.68 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.227e-06/0.007535, allocations: 11.94 kB / 268.6 MB, free: 15.66 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.371e-05/0.007549, allocations: 11.98 kB / 268.6 MB, free: 15.65 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.386e-05/0.007583, allocations: 0 / 268.6 MB, free: 15.65 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.611e-05/0.007599, allocations: 11.92 kB / 268.6 MB, free: 15.64 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.007604, allocations: 4 kB / 268.6 MB, free: 15.64 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.445e-05/0.007618, allocations: 16.84 kB / 268.6 MB, free: 15.62 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007618, allocations: 0 / 268.6 MB, free: 15.62 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001546/0.007773, allocations: 36 kB / 268.7 MB, free: 15.58 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 7.378e-05/0.007847, allocations: 88.78 kB / 268.8 MB, free: 15.49 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.725e-05/0.007944, allocations: 80.62 kB / 268.8 MB, free: 15.41 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.007948, allocations: 4 kB / 268.8 MB, free: 15.4 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.818e-05/0.007976, allocations: 36.78 kB / 268.9 MB, free: 15.36 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000118/0.008094, allocations: 12.45 kB / 268.9 MB, free: 15.35 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006239/0.008718, allocations: 392.9 kB / 269.3 MB, free: 14.94 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.605e-05/0.008764, allocations: 71.78 kB / 269.3 MB, free: 14.85 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.865e-05/0.008803, allocations: 13.14 kB / 269.3 MB, free: 14.83 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.353e-05/0.008856, allocations: 67.36 kB / 269.4 MB, free: 14.77 MB / 266.7 MB Notification: Performance of SimCode: time 6.51e-07/0.008857, allocations: 4 kB / 269.4 MB, free: 14.76 MB / 266.7 MB Notification: Performance of Templates: time 0.002636/0.01149, allocations: 1.085 MB / 270.5 MB, free: 13.68 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ModelicaByExample_ModelicaByExample.Components.SpeedMeasurement.Examples.Plant.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.5060376008041203]