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.001278/0.001278, allocations: 118.2 kB / 17.13 MB, free: 5.781 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.001299/0.001299, allocations: 191.7 kB / 20.08 MB, free: 2.871 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.425/1.425, allocations: 207.6 MB / 230.5 MB, free: 3.926 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.0871/0.0871, allocations: 8.195 MB / 290.5 MB, free: 8.125 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.003265/0.003265, allocations: 72.45 kB / 406.4 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3348/0.338, allocations: 50.89 MB / 457.3 MB, free: 3.922 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.SpeedMeasurement.Examples.Plant): time 0.002614/0.3407, allocations: 1.895 MB / 459.2 MB, free: 2.438 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002715/0.3409, allocations: 149.8 kB / 459.3 MB, free: 2.312 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.946e-05/0.341, allocations: 3.344 kB / 459.3 MB, free: 2.312 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 6.238e-05/0.3411, allocations: 19.02 kB / 459.3 MB, free: 2.297 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.085e-05/0.3411, allocations: 47.45 kB / 459.4 MB, free: 2.254 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001875/0.3413, allocations: 40.92 kB / 459.4 MB, free: 2.219 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001531/0.3415, allocations: 166.8 kB / 459.6 MB, free: 2.121 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001571/0.3416, allocations: 75.38 kB / 459.7 MB, free: 2.07 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.071e-05/0.3417, allocations: 70.47 kB / 459.7 MB, free: 2.027 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000104/0.3418, allocations: 77.78 kB / 459.8 MB, free: 1.973 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.819e-05/0.3418, allocations: 17.47 kB / 459.8 MB, free: 1.973 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.064e-05/0.3419, allocations: 16.44 kB / 459.8 MB, free: 1.973 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.933e-05/0.3419, allocations: 31.48 kB / 459.9 MB, free: 1.945 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.713e-05/0.342, allocations: 84.22 kB / 459.9 MB, free: 1.891 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002062/0.3422, allocations: 186.8 kB / 460.1 MB, free: 1.754 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.3422, allocations: 1.344 kB / 460.1 MB, free: 1.754 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.3422, allocations: 0 / 460.1 MB, free: 1.754 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.3422, allocations: 3.938 kB / 460.1 MB, free: 1.75 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.0004571/0.3426, allocations: 462.1 kB / 460.6 MB, free: 1.301 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.3427, allocations: 9.281 kB / 460.6 MB, free: 1.301 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.076e-05/0.3427, allocations: 16.06 kB / 460.6 MB, free: 1.293 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.561e-05/0.3428, allocations: 185.4 kB / 460.8 MB, free: 1.078 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.899e-05/0.3428, allocations: 11.41 kB / 460.8 MB, free: 1.074 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.962e-05/0.3429, allocations: 23.08 kB / 460.8 MB, free: 1.062 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002455/0.3431, allocations: 156.4 kB / 461 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.3431, allocations: 1.406 kB / 461 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.719e-05/0.3432, allocations: 12.81 kB / 461 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.3432, allocations: 4.906 kB / 461 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001621/0.3433, allocations: 102.7 kB / 461.1 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008204/0.3441, allocations: 0.6782 MB / 461.8 MB, free: 292 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003623/0.3445, allocations: 213.7 kB / 462 MB, free: 120 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001985/0.3447, allocations: 81.12 kB / 462.1 MB, free: 76 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.527e-05/0.3447, allocations: 1.094 kB / 462.1 MB, free: 76 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.172e-05/0.3447, allocations: 40.64 kB / 462.1 MB, free: 28 kB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.142e-06/0.3447, allocations: 0 / 462.1 MB, free: 28 kB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008628/0.3456, allocations: 472.8 kB / 462.6 MB, free: 15.64 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.191e-05/0.3456, allocations: 57.66 kB / 462.6 MB, free: 15.58 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.3457, allocations: 124.5 kB / 462.7 MB, free: 15.46 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.269e-05/0.3458, allocations: 29.7 kB / 462.8 MB, free: 15.43 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.69e-05/0.3458, allocations: 136.8 kB / 462.9 MB, free: 15.3 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.999e-05/0.3459, allocations: 57.98 kB / 463 MB, free: 15.25 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.763e-05/0.346, allocations: 43.36 kB / 463 MB, free: 15.21 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.00014/0.3461, allocations: 321.6 kB / 463.3 MB, free: 14.89 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.466e-05/0.3462, allocations: 38.17 kB / 463.4 MB, free: 14.88 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001191/0.3463, allocations: 97.53 kB / 463.5 MB, free: 14.79 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002186/0.3465, allocations: 146.5 kB / 463.6 MB, free: 14.68 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.3465, allocations: 1.188 kB / 463.6 MB, free: 14.68 MB / 334.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002592/0.3468, allocations: 175.4 kB / 463.8 MB, free: 14.59 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.3468, allocations: 9.438 kB / 463.8 MB, free: 14.58 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.3468, allocations: 1.453 kB / 463.8 MB, free: 14.58 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.3468, allocations: 2.75 kB / 463.8 MB, free: 14.58 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001901/0.347, allocations: 53.03 kB / 463.8 MB, free: 14.57 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.347, allocations: 6.891 kB / 463.8 MB, free: 14.56 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.226e-05/0.3471, allocations: 14.69 kB / 463.9 MB, free: 14.55 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.097e-05/0.3471, allocations: 5.5 kB / 463.9 MB, free: 14.55 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.0001421/0.3472, allocations: 128.7 kB / 464 MB, free: 14.42 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.249e-05/0.3473, allocations: 9.453 kB / 464 MB, free: 14.42 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.413e-05/0.3473, allocations: 14.22 kB / 464 MB, free: 14.41 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/0.3473, allocations: 5.359 kB / 464 MB, free: 14.4 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.3473, allocations: 1.375 kB / 464 MB, free: 14.4 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.91e-06/0.3473, allocations: 3.938 kB / 464 MB, free: 14.4 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006752/0.348, allocations: 497.8 kB / 464.5 MB, free: 13.96 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.616e-06/0.348, allocations: 5.109 kB / 464.5 MB, free: 13.96 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002126/0.3482, allocations: 41.86 kB / 464.5 MB, free: 13.95 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.3482, allocations: 0 / 464.5 MB, free: 13.95 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.419e-05/0.3482, allocations: 10.41 kB / 464.6 MB, free: 13.94 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.3482, allocations: 0 / 464.6 MB, free: 13.94 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.3482, allocations: 1.344 kB / 464.6 MB, free: 13.94 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003538/0.3486, allocations: 278.4 kB / 464.8 MB, free: 13.73 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.158e-05/0.3486, allocations: 87.28 kB / 464.9 MB, free: 13.63 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.842e-05/0.3487, allocations: 1.25 kB / 464.9 MB, free: 13.63 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.145e-05/0.3487, allocations: 5.219 kB / 464.9 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.342e-05/0.3488, allocations: 8.766 kB / 464.9 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.193e-05/0.3488, allocations: 7.438 kB / 464.9 MB, free: 13.62 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.588e-05/0.3489, allocations: 99.25 kB / 465 MB, free: 13.53 MB / 334.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3489, allocations: 0 / 465 MB, free: 13.53 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002793/0.3491, allocations: 34.59 kB / 465.1 MB, free: 13.52 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.0001102/0.3493, allocations: 107.2 kB / 465.2 MB, free: 13.43 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002315/0.3495, allocations: 108 kB / 465.3 MB, free: 13.38 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3495, allocations: 3.938 kB / 465.3 MB, free: 13.38 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.385e-05/0.3496, allocations: 49.11 kB / 465.3 MB, free: 13.36 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002478/0.3498, allocations: 9.734 kB / 465.3 MB, free: 13.36 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000973/0.3508, allocations: 0.553 MB / 465.9 MB, free: 12.91 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003702/0.3512, allocations: 0.7177 MB / 466.6 MB, free: 12.19 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.938e-05/0.3512, allocations: 20.25 kB / 466.6 MB, free: 12.18 MB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3512, allocations: 0 / 466.6 MB, free: 12.18 MB / 334.1 MB Notification: Performance of Templates: time 0.003462/0.3547, allocations: 1.591 MB / 468.2 MB, free: 11.35 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: 6.654857138870284] Failed to read output from testmodel.py, exit status != 0: 0.3640939840115607 0.377233497 0.032011793000000004 Calling exit ...