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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001298/0.001298, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 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.764/1.764, allocations: 207.6 MB / 231.4 MB, free: 3.41 MB / 174.1 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.04971/0.04971, allocations: 8.202 MB / 291.7 MB, free: 7.164 MB / 238.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaByExample requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002151/0.002151, allocations: 75.89 kB / 408.5 MB, free: 15.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.367/0.3692, allocations: 50.88 MB / 459.4 MB, free: 3.875 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.SpeedMeasurement.Examples.Plant): time 0.003082/0.3722, allocations: 1.918 MB / 461.3 MB, free: 2.375 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000302/0.3725, allocations: 146.8 kB / 461.5 MB, free: 2.25 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.685e-05/0.3726, allocations: 4.125 kB / 461.5 MB, free: 2.25 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 6.018e-05/0.3727, allocations: 22.48 kB / 461.5 MB, free: 2.23 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.802e-05/0.3728, allocations: 43.75 kB / 461.5 MB, free: 2.191 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000171/0.3729, allocations: 45.44 kB / 461.6 MB, free: 2.152 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001908/0.3731, allocations: 172 kB / 461.7 MB, free: 2.051 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001998/0.3733, allocations: 75.38 kB / 461.8 MB, free: 2 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.992e-05/0.3734, allocations: 63.3 kB / 461.9 MB, free: 1.965 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001242/0.3735, allocations: 72.31 kB / 462 MB, free: 1.914 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.673e-05/0.3736, allocations: 16.5 kB / 462 MB, free: 1.914 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.102e-05/0.3736, allocations: 17.88 kB / 462 MB, free: 1.914 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.503e-05/0.3736, allocations: 35.98 kB / 462 MB, free: 1.883 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.25e-05/0.3737, allocations: 91.14 kB / 462.1 MB, free: 1.82 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000213/0.3739, allocations: 180.8 kB / 462.3 MB, free: 1.691 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.3739, allocations: 0 / 462.3 MB, free: 1.691 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.3739, allocations: 0 / 462.3 MB, free: 1.691 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.073e-06/0.3739, allocations: 0 / 462.3 MB, free: 1.691 MB / 318.1 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.0006551/0.3746, allocations: 453.7 kB / 462.7 MB, free: 1.25 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.385e-05/0.3746, allocations: 8.25 kB / 462.7 MB, free: 1.25 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.69e-05/0.3747, allocations: 21.09 kB / 462.8 MB, free: 1.238 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001376/0.3748, allocations: 185.6 kB / 462.9 MB, free: 1.023 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.582e-05/0.3749, allocations: 15.25 kB / 463 MB, free: 1.016 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.251e-05/0.3749, allocations: 19.38 kB / 463 MB, free: 1.008 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003156/0.3752, allocations: 157.3 kB / 463.1 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.858e-05/0.3752, allocations: 192 / 463.1 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.251e-05/0.3753, allocations: 9.094 kB / 463.1 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.311e-05/0.3753, allocations: 5.344 kB / 463.1 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001938/0.3755, allocations: 105.5 kB / 463.2 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009319/0.3764, allocations: 0.6751 MB / 463.9 MB, free: 240 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004012/0.3768, allocations: 213.2 kB / 464.1 MB, free: 68 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000189/0.377, allocations: 81.91 kB / 464.2 MB, free: 24 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.456e-05/0.377, allocations: 1.156 kB / 464.2 MB, free: 24 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.423e-05/0.3771, allocations: 39.97 kB / 464.3 MB, free: 15.98 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.313e-06/0.3771, allocations: 0 / 464.3 MB, free: 15.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009857/0.3781, allocations: 490.3 kB / 464.7 MB, free: 15.58 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.839e-05/0.3781, allocations: 53.53 kB / 464.8 MB, free: 15.52 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00013/0.3782, allocations: 123.4 kB / 464.9 MB, free: 15.4 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.273e-05/0.3783, allocations: 26.89 kB / 464.9 MB, free: 15.37 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.774e-05/0.3784, allocations: 135.7 kB / 465.1 MB, free: 15.24 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.85e-05/0.3785, allocations: 57.77 kB / 465.1 MB, free: 15.19 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.074e-05/0.3785, allocations: 43.55 kB / 465.2 MB, free: 15.15 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001697/0.3787, allocations: 321 kB / 465.5 MB, free: 14.83 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.287e-05/0.3788, allocations: 43.17 kB / 465.5 MB, free: 14.81 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001222/0.3789, allocations: 89.41 kB / 465.6 MB, free: 14.73 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002166/0.3791, allocations: 146.9 kB / 465.7 MB, free: 14.63 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3791, allocations: 1.25 kB / 465.7 MB, free: 14.63 MB / 334.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002817/0.3794, allocations: 183.2 kB / 465.9 MB, free: 14.52 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.3794, allocations: 18 kB / 465.9 MB, free: 14.51 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.3794, allocations: 2 kB / 465.9 MB, free: 14.51 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.3794, allocations: 1.375 kB / 465.9 MB, free: 14.51 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001699/0.3796, allocations: 45.7 kB / 466 MB, free: 14.5 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.294e-05/0.3796, allocations: 6.891 kB / 466 MB, free: 14.5 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.747e-05/0.3797, allocations: 9.375 kB / 466 MB, free: 14.49 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.43e-05/0.3797, allocations: 9.844 kB / 466 MB, free: 14.49 MB / 334.1 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 0.0001244/0.3798, allocations: 125.9 kB / 466.1 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.255e-05/0.3798, allocations: 12.64 kB / 466.2 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.1e-05/0.3799, allocations: 14.06 kB / 466.2 MB, free: 14.34 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.3799, allocations: 2.312 kB / 466.2 MB, free: 14.34 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.3799, allocations: 0 / 466.2 MB, free: 14.34 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.3799, allocations: 3.938 kB / 466.2 MB, free: 14.34 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007341/0.3806, allocations: 490.9 kB / 466.7 MB, free: 13.91 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3806, allocations: 0 / 466.7 MB, free: 13.91 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001881/0.3808, allocations: 46.78 kB / 466.7 MB, free: 13.89 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.3808, allocations: 4 kB / 466.7 MB, free: 13.89 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.597e-05/0.3808, allocations: 6.25 kB / 466.7 MB, free: 13.88 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.3808, allocations: 0 / 466.7 MB, free: 13.88 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.3809, allocations: 1.031 kB / 466.7 MB, free: 13.88 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003755/0.3812, allocations: 274.7 kB / 467 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.295e-05/0.3813, allocations: 87.16 kB / 467.1 MB, free: 13.58 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.393e-05/0.3813, allocations: 2.547 kB / 467.1 MB, free: 13.58 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.229e-05/0.3814, allocations: 7.984 kB / 467.1 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.803e-05/0.3814, allocations: 8.281 kB / 467.1 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.064e-06/0.3814, allocations: 3.281 kB / 467.1 MB, free: 13.57 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.376e-05/0.3815, allocations: 93.11 kB / 467.2 MB, free: 13.48 MB / 334.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3815, allocations: 3.938 kB / 467.2 MB, free: 13.48 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002987/0.3818, allocations: 37.47 kB / 467.2 MB, free: 13.47 MB / 334.1 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.0001245/0.3819, allocations: 99.11 kB / 467.3 MB, free: 13.38 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00025/0.3822, allocations: 116.4 kB / 467.4 MB, free: 13.34 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3822, allocations: 8 kB / 467.4 MB, free: 13.33 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.147e-05/0.3823, allocations: 49.55 kB / 467.5 MB, free: 13.31 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002383/0.3825, allocations: 13.73 kB / 467.5 MB, free: 13.3 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001056/0.3836, allocations: 0.5195 MB / 468 MB, free: 12.89 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004184/0.384, allocations: 0.7191 MB / 468.7 MB, free: 12.18 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.358e-05/0.384, allocations: 11.67 kB / 468.7 MB, free: 12.17 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.143e-05/0.3841, allocations: 14.47 kB / 468.8 MB, free: 12.16 MB / 334.1 MB Notification: Performance of SimCode: time 9.62e-07/0.3841, allocations: 0 / 468.8 MB, free: 12.16 MB / 334.1 MB Notification: Performance of Templates: time 0.004321/0.3884, allocations: 1.094 MB / 469.9 MB, free: 11.61 MB / 334.1 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.954449494369328]