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.001275/0.001275, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.001421/0.001421, allocations: 160.5 kB / 22.46 MB, free: 5.375 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.388/1.388, allocations: 158.6 MB / 184.2 MB, free: 6.398 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.04742/0.04742, allocations: 6.396 MB / 242.9 MB, free: 12.75 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: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 360.3 MB, free: 11.02 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.978e-05/3.155e-05, allocations: 2.281 kB / 360.3 MB, free: 11.02 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.SpeedMeasurement.Examples.PlantWithIntervalMeasure): time 0.0026/0.002631, allocations: 1.88 MB / 362.2 MB, free: 9.121 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009109/0.003542, allocations: 0.5541 MB / 362.8 MB, free: 8.559 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001279/0.00367, allocations: 7.938 kB / 362.8 MB, free: 8.551 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 7.808e-05/0.003748, allocations: 23.8 kB / 362.8 MB, free: 8.527 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001538/0.003902, allocations: 51.48 kB / 362.9 MB, free: 8.477 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002052/0.004107, allocations: 55.92 kB / 362.9 MB, free: 8.422 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000233/0.00434, allocations: 219 kB / 363.1 MB, free: 8.207 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001903/0.00453, allocations: 70.36 kB / 363.2 MB, free: 8.141 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002439/0.004774, allocations: 131.8 kB / 363.3 MB, free: 8.012 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00011/0.004884, allocations: 59.84 kB / 363.4 MB, free: 7.953 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.937e-05/0.004934, allocations: 20 kB / 363.4 MB, free: 7.934 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.257e-05/0.004966, allocations: 23.94 kB / 363.4 MB, free: 7.91 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.16e-05/0.005008, allocations: 51.89 kB / 363.5 MB, free: 7.859 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.429e-05/0.005092, allocations: 67.83 kB / 363.5 MB, free: 7.793 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002239/0.005316, allocations: 231.3 kB / 363.8 MB, free: 7.566 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.005318, allocations: 3.938 kB / 363.8 MB, free: 7.562 MB / 286.1 MB Notification: Performance of FrontEnd: time 6.41e-07/0.005319, allocations: 3.938 kB / 363.8 MB, free: 7.559 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.22e-05/0.005331, allocations: 7.938 kB / 363.8 MB, free: 7.551 MB / 286.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.0006967/0.006028, allocations: 413.5 kB / 364.2 MB, free: 7.121 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.006068, allocations: 11.98 kB / 364.2 MB, free: 7.109 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.222e-05/0.00613, allocations: 24.84 kB / 364.2 MB, free: 7.086 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001059/0.006236, allocations: 121.6 kB / 364.3 MB, free: 6.941 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.942e-05/0.006256, allocations: 20.88 kB / 364.4 MB, free: 6.922 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.938e-05/0.006305, allocations: 24.36 kB / 364.4 MB, free: 6.898 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002851/0.00659, allocations: 184.7 kB / 364.6 MB, free: 6.711 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.829e-05/0.006608, allocations: 12.17 kB / 364.6 MB, free: 6.699 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.185e-05/0.00663, allocations: 8.375 kB / 364.6 MB, free: 6.691 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.006638, allocations: 7.938 kB / 364.6 MB, free: 6.684 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001763/0.006814, allocations: 121.9 kB / 364.7 MB, free: 6.566 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000915/0.007729, allocations: 0.5872 MB / 365.3 MB, free: 5.941 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003425/0.008072, allocations: 170.5 kB / 365.5 MB, free: 5.766 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001918/0.008263, allocations: 95.19 kB / 365.6 MB, free: 5.672 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.249e-05/0.008276, allocations: 4 kB / 365.6 MB, free: 5.668 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002179/0.008494, allocations: 123.3 kB / 365.7 MB, free: 5.535 MB / 286.1 MB Notification: Performance of pre-optimization done (n=21): time 1.684e-06/0.008496, allocations: 0 / 365.7 MB, free: 5.535 MB / 286.1 MB Notification: Performance of matching and sorting (n=24): time 0.0009169/0.009412, allocations: 0.5819 MB / 366.3 MB, free: 4.922 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.744e-05/0.00944, allocations: 59.41 kB / 366.3 MB, free: 4.852 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.385e-05/0.009514, allocations: 125.8 kB / 366.4 MB, free: 4.719 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.553e-05/0.009529, allocations: 29.7 kB / 366.5 MB, free: 4.684 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.926e-05/0.009579, allocations: 136.3 kB / 366.6 MB, free: 4.547 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.007e-05/0.009619, allocations: 83.33 kB / 366.7 MB, free: 4.465 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.847e-05/0.009677, allocations: 53.7 kB / 366.7 MB, free: 4.406 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 4.796e-05/0.009725, allocations: 326.8 kB / 367.1 MB, free: 4.078 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.874e-05/0.009814, allocations: 59.97 kB / 367.1 MB, free: 4.02 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001123/0.009926, allocations: 135.4 kB / 367.3 MB, free: 3.855 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002157/0.01014, allocations: 215.7 kB / 367.5 MB, free: 3.621 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.01014, allocations: 4 kB / 367.5 MB, free: 3.617 MB / 286.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0002876/0.01043, allocations: 259.7 kB / 367.7 MB, free: 3.359 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.01045, allocations: 11.94 kB / 367.7 MB, free: 3.348 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.01045, allocations: 0 / 367.7 MB, free: 3.348 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.01047, allocations: 4 kB / 367.7 MB, free: 3.344 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001922/0.01066, allocations: 63.84 kB / 367.8 MB, free: 3.281 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.01067, allocations: 4.078 kB / 367.8 MB, free: 3.277 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.983e-05/0.01076, allocations: 12 kB / 367.8 MB, free: 3.266 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.429e-05/0.01077, allocations: 11.98 kB / 367.8 MB, free: 3.254 MB / 286.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.000136/0.01091, allocations: 149.9 kB / 368 MB, free: 3.098 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.168e-05/0.01093, allocations: 11.95 kB / 368 MB, free: 3.086 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.213e-05/0.01097, allocations: 20.92 kB / 368 MB, free: 3.066 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.01098, allocations: 4 kB / 368 MB, free: 3.062 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.01098, allocations: 0 / 368 MB, free: 3.062 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.01099, allocations: 0 / 368 MB, free: 3.062 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006044/0.01159, allocations: 0.5385 MB / 368.5 MB, free: 2.48 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.01159, allocations: 8.062 kB / 368.6 MB, free: 2.473 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001817/0.01178, allocations: 39.92 kB / 368.6 MB, free: 2.434 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.01178, allocations: 0 / 368.6 MB, free: 2.434 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.01e-05/0.01181, allocations: 11.98 kB / 368.6 MB, free: 2.422 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.01181, allocations: 4 kB / 368.6 MB, free: 2.418 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.01181, allocations: 4 kB / 368.6 MB, free: 2.414 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003679/0.01218, allocations: 388.8 kB / 369 MB, free: 2.012 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.78e-05/0.0122, allocations: 15.98 kB / 369 MB, free: 1.996 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.698e-05/0.01223, allocations: 4 kB / 369 MB, free: 1.992 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.01233, allocations: 8 kB / 369 MB, free: 1.984 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.112e-05/0.01238, allocations: 23.91 kB / 369 MB, free: 1.961 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.088e-05/0.0124, allocations: 8.094 kB / 369 MB, free: 1.953 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.929e-05/0.01244, allocations: 103 kB / 369.2 MB, free: 1.855 MB / 286.1 MB Notification: Performance of sort global known variables: time 7e-08/0.01244, allocations: 0 / 369.2 MB, free: 1.855 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002834/0.01272, allocations: 48 kB / 369.2 MB, free: 1.809 MB / 286.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 8.948e-05/0.01281, allocations: 118.8 kB / 369.3 MB, free: 1.684 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002435/0.01306, allocations: 159.8 kB / 369.5 MB, free: 1.527 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.01306, allocations: 0.5 kB / 369.5 MB, free: 1.527 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 9.96e-05/0.01316, allocations: 81.42 kB / 369.5 MB, free: 1.449 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002446/0.0134, allocations: 19.92 kB / 369.6 MB, free: 1.43 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007108/0.01411, allocations: 0.4963 MB / 370.1 MB, free: 0.9023 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.983e-05/0.01418, allocations: 116.5 kB / 370.2 MB, free: 0.7695 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 4.711e-05/0.01423, allocations: 21.64 kB / 370.2 MB, free: 0.75 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.898e-05/0.01428, allocations: 20.5 kB / 370.2 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of SimCode: time 3.71e-07/0.01428, allocations: 3.938 kB / 370.2 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of Templates: time 0.004537/0.01882, allocations: 1.481 MB / 371.7 MB, free: 15.28 MB / 302.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: 4.263735093176365] Failed to read output from testmodel.py, exit status != 0: 0.02637414261698723 0.042014845 0.033702884 Calling exit ...