Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaByExample_ModelicaByExample.Components.SpeedMeasurement.Examples.PlantWithIntervalMeasure.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.001373/0.001373, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001534/0.001534, allocations: 221 kB / 23.01 MB, free: 4.609 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.39/1.39, allocations: 207.6 MB / 233.8 MB, free: 9.98 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.05729/0.05729, allocations: 8.195 MB / 294.2 MB, free: 13.64 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.PlantWithIntervalMeasure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Components.SpeedMeasurement.Examples.PlantWithIntervalMeasure") translateModel(ModelicaByExample.Components.SpeedMeasurement.Examples.PlantWithIntervalMeasure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Components.SpeedMeasurement.Examples.PlantWithIntervalMeasure") [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.003523/0.003523, allocations: 65.38 kB / 411.7 MB, free: 46.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08301/0.08653, allocations: 50.94 MB / 462.6 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.SpeedMeasurement.Examples.PlantWithIntervalMeasure): time 0.003515/0.09004, allocations: 1.973 MB / 464.6 MB, free: 10.97 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001101/0.09115, allocations: 0.5859 MB / 465.2 MB, free: 10.38 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.318e-05/0.09123, allocations: 4 kB / 465.2 MB, free: 10.38 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.215e-05/0.09131, allocations: 27.72 kB / 465.2 MB, free: 10.35 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001325/0.09144, allocations: 43.61 kB / 465.3 MB, free: 10.3 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002167/0.09166, allocations: 55.88 kB / 465.3 MB, free: 10.25 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002365/0.0919, allocations: 211.2 kB / 465.5 MB, free: 10.04 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000199/0.0921, allocations: 78.3 kB / 465.6 MB, free: 9.969 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001809/0.09228, allocations: 95.75 kB / 465.7 MB, free: 9.875 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001744/0.09245, allocations: 87.62 kB / 465.8 MB, free: 9.789 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.492e-05/0.09249, allocations: 20 kB / 465.8 MB, free: 9.77 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.414e-05/0.09252, allocations: 20 kB / 465.8 MB, free: 9.75 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.715e-05/0.09258, allocations: 55.77 kB / 465.9 MB, free: 9.695 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001076/0.09268, allocations: 95.59 kB / 466 MB, free: 9.602 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002854/0.09297, allocations: 223.1 kB / 466.2 MB, free: 9.383 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.09297, allocations: 4 kB / 466.2 MB, free: 9.379 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.09298, allocations: 4 kB / 466.2 MB, free: 9.375 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.9e-06/0.09298, allocations: 0 / 466.2 MB, free: 9.375 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0007763/0.09376, allocations: 410 kB / 466.6 MB, free: 8.945 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.09379, allocations: 15.97 kB / 466.6 MB, free: 8.93 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.542e-05/0.09385, allocations: 20.84 kB / 466.6 MB, free: 8.91 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001264/0.09397, allocations: 126.3 kB / 466.8 MB, free: 8.762 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.094e-05/0.09399, allocations: 12.81 kB / 466.8 MB, free: 8.75 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.806e-05/0.09404, allocations: 28.38 kB / 466.8 MB, free: 8.723 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003761/0.09442, allocations: 199.5 kB / 467 MB, free: 8.52 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/0.09443, allocations: 0 / 467 MB, free: 8.52 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.234e-05/0.09448, allocations: 8 kB / 467 MB, free: 8.512 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.09449, allocations: 4 kB / 467 MB, free: 8.508 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002244/0.09472, allocations: 125.6 kB / 467.1 MB, free: 8.387 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001238/0.09596, allocations: 0.6603 MB / 467.8 MB, free: 7.676 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004039/0.09636, allocations: 174.3 kB / 468 MB, free: 7.5 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002261/0.09659, allocations: 96.8 kB / 468.1 MB, free: 7.402 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.693e-05/0.0966, allocations: 4 kB / 468.1 MB, free: 7.398 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002858/0.09689, allocations: 127.6 kB / 468.2 MB, free: 7.262 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.533e-06/0.09689, allocations: 0 / 468.2 MB, free: 7.262 MB / 334.1 MB Notification: Performance of matching and sorting (n=24): time 0.001177/0.09807, allocations: 0.563 MB / 468.7 MB, free: 6.664 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.04e-05/0.09813, allocations: 63.34 kB / 468.8 MB, free: 6.59 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/0.09824, allocations: 121.8 kB / 468.9 MB, free: 6.461 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.871e-05/0.09827, allocations: 33.7 kB / 469 MB, free: 6.422 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.143e-05/0.09836, allocations: 144.3 kB / 469.1 MB, free: 6.273 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.088e-05/0.09843, allocations: 83.33 kB / 469.2 MB, free: 6.191 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001102/0.09854, allocations: 57.45 kB / 469.2 MB, free: 6.129 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.09868, allocations: 330.8 kB / 469.6 MB, free: 5.797 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001323/0.09881, allocations: 59.97 kB / 469.6 MB, free: 5.738 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001739/0.09899, allocations: 139.6 kB / 469.8 MB, free: 5.57 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003029/0.09929, allocations: 209 kB / 470 MB, free: 5.34 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.09929, allocations: 0 / 470 MB, free: 5.34 MB / 334.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004457/0.09974, allocations: 251.7 kB / 470.2 MB, free: 5.09 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.09975, allocations: 4 kB / 470.2 MB, free: 5.086 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.09976, allocations: 4 kB / 470.2 MB, free: 5.082 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.09978, allocations: 12.23 kB / 470.2 MB, free: 5.07 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002289/0.1, allocations: 55.92 kB / 470.3 MB, free: 5.016 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.1, allocations: 4.078 kB / 470.3 MB, free: 5.012 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001027/0.1001, allocations: 23.88 kB / 470.3 MB, free: 4.988 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.919e-05/0.1001, allocations: 11.98 kB / 470.3 MB, free: 4.977 MB / 334.1 MB Warning: Assuming fixed start value for the following 1 variables: intervalMeasure.w:DISCRETE(flow=false fixed = true ) \"Sensed speed\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 10 (intervalMeasure.last_time,$PRE.intervalMeasure.last_time,$PRE.intervalMeasure.w,intervalMeasure.w,intervalMeasure.prev_phi,$PRE.intervalMeasure.prev_phi,intervalMeasure.next_phi,$PRE.intervalMeasure.next_phi,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 38 * 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.0002036/0.1003, allocations: 145.7 kB / 470.5 MB, free: 4.824 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.433e-05/0.1004, allocations: 7.953 kB / 470.5 MB, free: 4.816 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.949e-05/0.1004, allocations: 20.94 kB / 470.5 MB, free: 4.793 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.1004, allocations: 4 kB / 470.5 MB, free: 4.789 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.287e-06/0.1004, allocations: 7.984 kB / 470.5 MB, free: 4.781 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.1004, allocations: 7.938 kB / 470.5 MB, free: 4.773 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009488/0.1014, allocations: 0.586 MB / 471.1 MB, free: 4.133 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.1014, allocations: 7.938 kB / 471.1 MB, free: 4.125 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002165/0.1016, allocations: 47.97 kB / 471.2 MB, free: 4.078 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.04e-06/0.1016, allocations: 3.938 kB / 471.2 MB, free: 4.074 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.821e-05/0.1016, allocations: 8 kB / 471.2 MB, free: 4.066 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.1016, allocations: 0 / 471.2 MB, free: 4.066 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.1016, allocations: 4 kB / 471.2 MB, free: 4.062 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005502/0.1022, allocations: 385.1 kB / 471.5 MB, free: 3.664 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.979e-05/0.1022, allocations: 19.89 kB / 471.6 MB, free: 3.645 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.848e-05/0.1022, allocations: 4 kB / 471.6 MB, free: 3.641 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001141/0.1024, allocations: 8.031 kB / 471.6 MB, free: 3.633 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.906e-05/0.1024, allocations: 23.91 kB / 471.6 MB, free: 3.609 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.036e-05/0.1024, allocations: 4 kB / 471.6 MB, free: 3.605 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.77e-05/0.1025, allocations: 99.27 kB / 471.7 MB, free: 3.508 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1025, allocations: 0 / 471.7 MB, free: 3.508 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003163/0.1028, allocations: 48 kB / 471.7 MB, free: 3.461 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (inertia2.flange_a.phi,inertia2.w,inertia1.flange_a.phi,inertia1.w) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,intervalMeasure.w,intervalMeasure.next_phi,intervalMeasure.prev_phi,intervalMeasure.last_time) * Number of discrete states: 3 (intervalMeasure.prev_phi,intervalMeasure.next_phi,intervalMeasure.last_time) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0001573/0.103, allocations: 112.8 kB / 471.9 MB, free: 3.344 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003521/0.1033, allocations: 171.7 kB / 472 MB, free: 3.176 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1033, allocations: 0 / 472 MB, free: 3.176 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001372/0.1035, allocations: 83.84 kB / 472.1 MB, free: 3.094 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002652/0.1037, allocations: 12 kB / 472.1 MB, free: 3.082 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001139/0.1049, allocations: 0.6196 MB / 472.7 MB, free: 2.422 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003636/0.1052, allocations: 0.7284 MB / 473.5 MB, free: 1.668 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.1e-05/0.1053, allocations: 27.42 kB / 473.5 MB, free: 1.641 MB / 334.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1053, allocations: 0 / 473.5 MB, free: 1.641 MB / 334.1 MB Notification: Performance of Templates: time 0.004398/0.1097, allocations: 2.111 MB / 475.6 MB, free: 15.54 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaByExample_ModelicaByExample.Components.SpeedMeasurement.Examples.PlantWithIntervalMeasure.makefile [Timeout 660] (rm -f ModelicaByExample_ModelicaByExample.Components.SpeedMeasurement.Examples.PlantWithIntervalMeasure.pipe ; mkfifo ModelicaByExample_ModelicaByExample.Components.SpeedMeasurement.Examples.PlantWithIntervalMeasure.pipe ; head -c 1048576 < ModelicaByExample_ModelicaByExample.Components.SpeedMeasurement.Examples.PlantWithIntervalMeasure.pipe >> ../files/ModelicaByExample_ModelicaByExample.Components.SpeedMeasurement.Examples.PlantWithIntervalMeasure.sim & ./ModelicaByExample_ModelicaByExample.Components.SpeedMeasurement.Examples.PlantWithIntervalMeasure -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaByExample_ModelicaByExample.Components.SpeedMeasurement.Examples.PlantWithIntervalMeasure.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.689306465908885] Failed to read output from testmodel.py, exit status != 0: 0.11923711001873016 0.134269932 0.038018279 Calling exit ...