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.00163/0.00163, allocations: 106.2 kB / 19.69 MB, free: 2.277 MB / 14.72 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.001809/0.001809, allocations: 213.9 kB / 23 MB, free: 4.605 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.407/1.407, allocations: 207.6 MB / 233.8 MB, free: 10.01 MB / 190.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.05667/0.05667, allocations: 8.201 MB / 294.2 MB, free: 13.66 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.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: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.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.002387/0.002387, allocations: 79.77 kB / 411.7 MB, free: 46.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06673/0.06911, allocations: 50.93 MB / 462.6 MB, free: 13 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.SpeedMeasurement.Examples.Plant): time 0.003425/0.07254, allocations: 1.91 MB / 464.5 MB, free: 11.08 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003447/0.07288, allocations: 155.5 kB / 464.7 MB, free: 10.93 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.82e-05/0.07295, allocations: 0 / 464.7 MB, free: 10.93 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 7.615e-05/0.07303, allocations: 19.8 kB / 464.7 MB, free: 10.91 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001327/0.07316, allocations: 43.61 kB / 464.8 MB, free: 10.86 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001505/0.07331, allocations: 35.95 kB / 464.8 MB, free: 10.83 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002188/0.07353, allocations: 179.2 kB / 465 MB, free: 10.65 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002041/0.07373, allocations: 69.86 kB / 465 MB, free: 10.58 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.951e-05/0.07381, allocations: 63.8 kB / 465.1 MB, free: 10.52 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001427/0.07395, allocations: 79.67 kB / 465.2 MB, free: 10.44 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.116e-05/0.074, allocations: 16 kB / 465.2 MB, free: 10.43 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.301e-05/0.07403, allocations: 16 kB / 465.2 MB, free: 10.41 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.818e-05/0.07407, allocations: 35.86 kB / 465.2 MB, free: 10.38 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.403e-05/0.07416, allocations: 83.66 kB / 465.3 MB, free: 10.29 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002503/0.07441, allocations: 183.3 kB / 465.5 MB, free: 10.11 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.241e-06/0.07442, allocations: 3.984 kB / 465.5 MB, free: 10.11 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.07442, allocations: 0 / 465.5 MB, free: 10.11 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.07442, allocations: 4 kB / 465.5 MB, free: 10.11 MB / 334.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.0006328/0.07506, allocations: 377.7 kB / 465.9 MB, free: 9.703 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.07509, allocations: 11.98 kB / 465.9 MB, free: 9.691 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.289e-05/0.07513, allocations: 16.84 kB / 465.9 MB, free: 9.676 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001318/0.07527, allocations: 134.3 kB / 466 MB, free: 9.52 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.062e-05/0.07529, allocations: 16.31 kB / 466 MB, free: 9.504 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.906e-05/0.07535, allocations: 28.25 kB / 466.1 MB, free: 9.477 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003117/0.07566, allocations: 154.2 kB / 466.2 MB, free: 9.32 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.07567, allocations: 192 / 466.2 MB, free: 9.32 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.864e-05/0.07569, allocations: 7.938 kB / 466.2 MB, free: 9.312 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.166e-05/0.0757, allocations: 4 kB / 466.2 MB, free: 9.309 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002025/0.0759, allocations: 107.9 kB / 466.3 MB, free: 9.203 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001082/0.07699, allocations: 0.6105 MB / 467 MB, free: 8.535 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004403/0.07743, allocations: 142.5 kB / 467.1 MB, free: 8.387 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002002/0.07763, allocations: 80.81 kB / 467.2 MB, free: 8.305 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.802e-05/0.07764, allocations: 7.922 kB / 467.2 MB, free: 8.297 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.683e-05/0.07767, allocations: 34.56 kB / 467.2 MB, free: 8.254 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.232e-06/0.07767, allocations: 4 kB / 467.2 MB, free: 8.25 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008561/0.07853, allocations: 405 kB / 467.6 MB, free: 7.824 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.306e-05/0.07857, allocations: 55.41 kB / 467.7 MB, free: 7.758 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/0.07868, allocations: 121.8 kB / 467.8 MB, free: 7.629 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.494e-05/0.0787, allocations: 33.7 kB / 467.8 MB, free: 7.59 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.375e-05/0.07879, allocations: 128.2 kB / 467.9 MB, free: 7.461 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.725e-05/0.07884, allocations: 59.53 kB / 468 MB, free: 7.402 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.761e-05/0.07891, allocations: 41.72 kB / 468 MB, free: 7.355 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001803/0.07909, allocations: 322.8 kB / 468.4 MB, free: 7.031 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.741e-05/0.07919, allocations: 43.98 kB / 468.4 MB, free: 6.988 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001216/0.07931, allocations: 89.06 kB / 468.5 MB, free: 6.883 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002163/0.07953, allocations: 152.9 kB / 468.6 MB, free: 6.715 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.07953, allocations: 0 / 468.6 MB, free: 6.715 MB / 334.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002783/0.07981, allocations: 176.9 kB / 468.8 MB, free: 6.539 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.07982, allocations: 8 kB / 468.8 MB, free: 6.531 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.07983, allocations: 0 / 468.8 MB, free: 6.531 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.983e-05/0.07986, allocations: 7.984 kB / 468.8 MB, free: 6.523 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002098/0.08007, allocations: 48.08 kB / 468.9 MB, free: 6.477 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.08007, allocations: 7.938 kB / 468.9 MB, free: 6.469 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.203e-05/0.08014, allocations: 7.938 kB / 468.9 MB, free: 6.461 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/0.08015, allocations: 8 kB / 468.9 MB, free: 6.453 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.0001172/0.08026, allocations: 129.8 kB / 469 MB, free: 6.316 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.381e-05/0.0803, allocations: 7.953 kB / 469 MB, free: 6.309 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.928e-05/0.08035, allocations: 16.77 kB / 469 MB, free: 6.285 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.08035, allocations: 4 kB / 469.1 MB, free: 6.281 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.08036, allocations: 4 kB / 469.1 MB, free: 6.277 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.08036, allocations: 3.938 kB / 469.1 MB, free: 6.273 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007249/0.08109, allocations: 461.4 kB / 469.5 MB, free: 5.773 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-06/0.08109, allocations: 0 / 469.5 MB, free: 5.773 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001967/0.08129, allocations: 39.92 kB / 469.5 MB, free: 5.734 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.08129, allocations: 4 kB / 469.6 MB, free: 5.73 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.0813, allocations: 3.938 kB / 469.6 MB, free: 5.727 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.0813, allocations: 0 / 469.6 MB, free: 5.727 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.0813, allocations: 0 / 469.6 MB, free: 5.727 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000363/0.08167, allocations: 276.1 kB / 469.8 MB, free: 5.441 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.098e-05/0.08169, allocations: 15.92 kB / 469.8 MB, free: 5.426 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.063e-05/0.08171, allocations: 4 kB / 469.8 MB, free: 5.422 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.323e-05/0.0818, allocations: 4 kB / 469.8 MB, free: 5.418 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.94e-05/0.08182, allocations: 11.98 kB / 469.9 MB, free: 5.406 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.965e-06/0.08183, allocations: 4 kB / 469.9 MB, free: 5.402 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.138e-05/0.08189, allocations: 91.7 kB / 470 MB, free: 5.312 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.08189, allocations: 4 kB / 470 MB, free: 5.309 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002901/0.08218, allocations: 36 kB / 470 MB, free: 5.273 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 9.286e-05/0.08227, allocations: 103.2 kB / 470.1 MB, free: 5.164 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002523/0.08253, allocations: 118.6 kB / 470.2 MB, free: 5.051 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.08253, allocations: 0 / 470.2 MB, free: 5.051 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.594e-05/0.08262, allocations: 47.92 kB / 470.3 MB, free: 5.004 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002338/0.08286, allocations: 8.641 kB / 470.3 MB, free: 4.996 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009859/0.08384, allocations: 0.5503 MB / 470.8 MB, free: 4.41 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003473/0.08419, allocations: 0.724 MB / 471.5 MB, free: 3.656 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.022e-05/0.08423, allocations: 15.44 kB / 471.6 MB, free: 3.645 MB / 334.1 MB Notification: Performance of SimCode: time 3.61e-07/0.08423, allocations: 0 / 471.6 MB, free: 3.645 MB / 334.1 MB Notification: Performance of Templates: time 0.003668/0.0879, allocations: 1.593 MB / 473.1 MB, free: 2.047 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.639052785933018] Failed to read output from testmodel.py, exit status != 0: 0.09557738713920116 0.11224686499999995 0.03445443499999994 Calling exit ...