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.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.001544/0.001544, allocations: 120.3 kB / 17.13 MB, free: 5.918 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.001619/0.001619, allocations: 193.2 kB / 20.08 MB, free: 2.988 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: 4.07 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.05103/0.05103, allocations: 8.215 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.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.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.002188/0.002188, allocations: 75.91 kB / 406.4 MB, free: 0.9258 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2313/0.2335, allocations: 50.88 MB / 457.3 MB, free: 3.934 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.SpeedMeasurement.Examples.PlantWithIntervalMeasure): time 0.002511/0.236, allocations: 1.976 MB / 459.3 MB, free: 2.387 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006849/0.2367, allocations: 0.57 MB / 459.8 MB, free: 1.926 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.405e-05/0.2368, allocations: 6.906 kB / 459.8 MB, free: 1.922 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 6.318e-05/0.2368, allocations: 32.5 kB / 459.9 MB, free: 1.895 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001118/0.237, allocations: 47.52 kB / 459.9 MB, free: 1.852 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001533/0.2371, allocations: 50.5 kB / 460 MB, free: 1.809 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001678/0.2373, allocations: 206.5 kB / 460.2 MB, free: 1.688 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001548/0.2374, allocations: 76.66 kB / 460.2 MB, free: 1.637 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001399/0.2376, allocations: 89.59 kB / 460.3 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001078/0.2377, allocations: 88.34 kB / 460.4 MB, free: 1.52 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.275e-05/0.2377, allocations: 20.81 kB / 460.4 MB, free: 1.52 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.492e-05/0.2377, allocations: 25.34 kB / 460.5 MB, free: 1.516 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.59e-05/0.2378, allocations: 45.62 kB / 460.5 MB, free: 1.477 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.179e-05/0.2379, allocations: 102 kB / 460.6 MB, free: 1.406 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001877/0.2381, allocations: 223.9 kB / 460.8 MB, free: 1.242 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.2381, allocations: 1.469 kB / 460.8 MB, free: 1.242 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2381, allocations: 0 / 460.8 MB, free: 1.242 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.2381, allocations: 0 / 460.8 MB, free: 1.242 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0005834/0.2386, allocations: 493.5 kB / 461.3 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.151e-05/0.2387, allocations: 10.09 kB / 461.3 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.692e-05/0.2387, allocations: 17.62 kB / 461.3 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.406e-05/0.2388, allocations: 190.2 kB / 461.5 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.978e-05/0.2388, allocations: 16.66 kB / 461.5 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.287e-05/0.2389, allocations: 22.88 kB / 461.5 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002861/0.2392, allocations: 197.7 kB / 461.7 MB, free: 420 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.2392, allocations: 0 / 461.7 MB, free: 420 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.19e-05/0.2392, allocations: 13.33 kB / 461.8 MB, free: 408 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.2392, allocations: 9.5 kB / 461.8 MB, free: 404 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001941/0.2394, allocations: 115.5 kB / 461.9 MB, free: 352 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001033/0.2404, allocations: 0.7169 MB / 462.6 MB, free: 15.71 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004115/0.2408, allocations: 247.6 kB / 462.8 MB, free: 15.53 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000221/0.2411, allocations: 106.3 kB / 462.9 MB, free: 15.47 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.535e-05/0.2411, allocations: 1.375 kB / 462.9 MB, free: 15.47 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000235/0.2413, allocations: 118.1 kB / 463.1 MB, free: 15.38 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.513e-06/0.2413, allocations: 1.375 kB / 463.1 MB, free: 15.38 MB / 334.1 MB Notification: Performance of matching and sorting (n=24): time 0.001152/0.2425, allocations: 0.6545 MB / 463.7 MB, free: 14.91 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.907e-05/0.2425, allocations: 62.16 kB / 463.8 MB, free: 14.84 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/0.2426, allocations: 132.5 kB / 463.9 MB, free: 14.71 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.417e-05/0.2427, allocations: 36.52 kB / 463.9 MB, free: 14.68 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.347e-05/0.2427, allocations: 131.9 kB / 464.1 MB, free: 14.55 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.612e-05/0.2428, allocations: 85.66 kB / 464.2 MB, free: 14.48 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.218e-05/0.2429, allocations: 65.61 kB / 464.2 MB, free: 14.43 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.2431, allocations: 329.6 kB / 464.5 MB, free: 14.1 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001087/0.2432, allocations: 60.45 kB / 464.6 MB, free: 14.07 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001807/0.2434, allocations: 127.4 kB / 464.7 MB, free: 13.96 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003013/0.2437, allocations: 209.2 kB / 464.9 MB, free: 13.8 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.2437, allocations: 1.312 kB / 464.9 MB, free: 13.8 MB / 334.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0003938/0.244, allocations: 258.1 kB / 465.2 MB, free: 13.67 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.2441, allocations: 5.406 kB / 465.2 MB, free: 13.67 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.2441, allocations: 2.188 kB / 465.2 MB, free: 13.67 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/0.2441, allocations: 8.422 kB / 465.2 MB, free: 13.66 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002196/0.2443, allocations: 62.06 kB / 465.3 MB, free: 13.65 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.2443, allocations: 7.531 kB / 465.3 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001021/0.2444, allocations: 20.58 kB / 465.3 MB, free: 13.63 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.537e-05/0.2444, allocations: 13.5 kB / 465.3 MB, free: 13.62 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.0001699/0.2446, allocations: 145.5 kB / 465.4 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.723e-05/0.2446, allocations: 14.66 kB / 465.5 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.853e-05/0.2447, allocations: 17.97 kB / 465.5 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-06/0.2447, allocations: 2.344 kB / 465.5 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.2447, allocations: 1.25 kB / 465.5 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.2447, allocations: 3.938 kB / 465.5 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008745/0.2456, allocations: 0.6225 MB / 466.1 MB, free: 12.94 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.2456, allocations: 1.469 kB / 466.1 MB, free: 12.94 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002023/0.2458, allocations: 40.88 kB / 466.1 MB, free: 12.93 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/0.2458, allocations: 4.75 kB / 466.1 MB, free: 12.93 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.773e-05/0.2458, allocations: 6.625 kB / 466.2 MB, free: 12.92 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.2458, allocations: 2.688 kB / 466.2 MB, free: 12.92 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2458, allocations: 3.938 kB / 466.2 MB, free: 12.92 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004977/0.2463, allocations: 385.1 kB / 466.5 MB, free: 12.66 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.873e-05/0.2464, allocations: 93.16 kB / 466.6 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.607e-05/0.2464, allocations: 3.375 kB / 466.6 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001105/0.2465, allocations: 10.34 kB / 466.6 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.211e-05/0.2466, allocations: 19.7 kB / 466.7 MB, free: 12.53 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.085e-05/0.2466, allocations: 10.88 kB / 466.7 MB, free: 12.53 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.722e-05/0.2466, allocations: 99.08 kB / 466.8 MB, free: 12.44 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2466, allocations: 3.938 kB / 466.8 MB, free: 12.44 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003106/0.247, allocations: 52 kB / 466.8 MB, free: 12.43 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.0001296/0.2471, allocations: 107 kB / 466.9 MB, free: 12.33 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003048/0.2474, allocations: 174.2 kB / 467.1 MB, free: 12.26 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.2474, allocations: 0.5 kB / 467.1 MB, free: 12.26 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001287/0.2475, allocations: 79.45 kB / 467.2 MB, free: 12.23 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002607/0.2478, allocations: 15.92 kB / 467.2 MB, free: 12.21 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00112/0.2489, allocations: 0.6183 MB / 467.8 MB, free: 11.71 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003857/0.2493, allocations: 0.7264 MB / 468.5 MB, free: 11 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.301e-05/0.2493, allocations: 22.88 kB / 468.6 MB, free: 10.98 MB / 334.1 MB Notification: Performance of SimCode: time 3.2e-07/0.2493, allocations: 0 / 468.6 MB, free: 10.98 MB / 334.1 MB Notification: Performance of Templates: time 0.004001/0.2533, allocations: 2.118 MB / 470.7 MB, free: 9.871 MB / 334.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.922184024006128] Failed to read output from testmodel.py, exit status != 0: 0.26098791998811066 0.27402736099999997 0.033147413 Calling exit ...