Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaByExample_ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem_Variation1.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.001358/0.001358, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001282/0.001282, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 18.57 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 0.9285/0.9285, allocations: 158.6 MB / 185.2 MB, free: 2.773 MB / 170.7 MB " [Timeout remaining time 179] 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.02995/0.02995, allocations: 6.423 MB / 244 MB, free: 8.613 MB / 234.7 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.Architectures.SensorComparison.Examples.FlatSystem_Variation1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem_Variation1") translateModel(ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem_Variation1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem_Variation1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 262.1 MB, free: 6.445 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.531e-05/1.688e-05, allocations: 6.25 kB / 262.1 MB, free: 6.438 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem_Variation1): time 0.002733/0.00275, allocations: 2.485 MB / 264.6 MB, free: 3.93 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001051/0.0038, allocations: 0.686 MB / 265.3 MB, free: 3.234 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001153/0.003916, allocations: 11.94 kB / 265.3 MB, free: 3.223 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001268/0.004043, allocations: 35.59 kB / 265.4 MB, free: 3.188 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001326/0.004175, allocations: 75.34 kB / 265.4 MB, free: 3.113 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000215/0.00439, allocations: 71.77 kB / 265.5 MB, free: 3.043 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002651/0.004655, allocations: 314.5 kB / 265.8 MB, free: 2.734 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001382/0.004793, allocations: 68.31 kB / 265.9 MB, free: 2.668 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001705/0.004964, allocations: 171.6 kB / 266 MB, free: 2.5 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001242/0.005088, allocations: 99.73 kB / 266.1 MB, free: 2.402 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.123e-05/0.005119, allocations: 24 kB / 266.2 MB, free: 2.379 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.325e-05/0.005143, allocations: 24 kB / 266.2 MB, free: 2.355 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.069e-05/0.005183, allocations: 55.77 kB / 266.2 MB, free: 2.301 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.381e-05/0.005257, allocations: 91.8 kB / 266.3 MB, free: 2.211 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001969/0.005454, allocations: 195.3 kB / 266.5 MB, free: 2.02 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.683e-06/0.005456, allocations: 0 / 266.5 MB, free: 2.02 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.005457, allocations: 0 / 266.5 MB, free: 2.02 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.376e-06/0.00546, allocations: 7.938 kB / 266.5 MB, free: 2.012 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0005148/0.005975, allocations: 485.8 kB / 267 MB, free: 1.508 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.943e-05/0.006004, allocations: 15.98 kB / 267 MB, free: 1.492 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.964e-05/0.006054, allocations: 36.91 kB / 267.1 MB, free: 1.457 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001691/0.006223, allocations: 157.5 kB / 267.2 MB, free: 1.277 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.006238, allocations: 16.88 kB / 267.2 MB, free: 1.262 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.555e-05/0.006273, allocations: 24.33 kB / 267.2 MB, free: 1.238 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001939/0.006467, allocations: 177.2 kB / 267.4 MB, free: 1.055 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.006478, allocations: 4.188 kB / 267.4 MB, free: 1.051 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.006491, allocations: 4.375 kB / 267.4 MB, free: 1.047 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.006501, allocations: 15.94 kB / 267.4 MB, free: 1.031 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.646e-05/0.006587, allocations: 63.45 kB / 267.5 MB, free: 0.9688 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000518/0.007105, allocations: 414.2 kB / 267.9 MB, free: 0.5469 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001952/0.0073, allocations: 126.4 kB / 268 MB, free: 424 kB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.262e-05/0.007353, allocations: 56.75 kB / 268.1 MB, free: 364 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.302e-05/0.007366, allocations: 4 kB / 268.1 MB, free: 360 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000125/0.007491, allocations: 109.2 kB / 268.2 MB, free: 240 kB / 250.7 MB Notification: Performance of pre-optimization done (n=27): time 1.392e-06/0.007492, allocations: 4 kB / 268.2 MB, free: 236 kB / 250.7 MB Notification: Performance of matching and sorting (n=32): time 0.0009186/0.008411, allocations: 0.6787 MB / 268.9 MB, free: 15.5 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.916e-05/0.00844, allocations: 55.41 kB / 268.9 MB, free: 15.43 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.004e-05/0.00853, allocations: 178.7 kB / 269.1 MB, free: 15.25 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.62e-05/0.008546, allocations: 29.7 kB / 269.1 MB, free: 15.21 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.304e-05/0.008609, allocations: 132.8 kB / 269.3 MB, free: 15.07 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.866e-05/0.008668, allocations: 115 kB / 269.4 MB, free: 14.96 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.866e-05/0.008737, allocations: 53.67 kB / 269.4 MB, free: 14.9 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001089/0.008845, allocations: 338.7 kB / 269.8 MB, free: 14.56 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.843e-05/0.008904, allocations: 54.02 kB / 269.8 MB, free: 14.5 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.768e-05/0.008972, allocations: 97.16 kB / 269.9 MB, free: 14.39 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001695/0.009141, allocations: 227.2 kB / 270.1 MB, free: 14.15 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.009143, allocations: 4 kB / 270.1 MB, free: 14.14 MB / 266.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0001706/0.009314, allocations: 208.7 kB / 270.3 MB, free: 13.92 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.356e-05/0.009338, allocations: 33.7 kB / 270.4 MB, free: 13.88 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.009342, allocations: 0 / 270.4 MB, free: 13.88 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.678e-06/0.009352, allocations: 4 kB / 270.4 MB, free: 13.88 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002097/0.009562, allocations: 83.89 kB / 270.5 MB, free: 13.8 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.016e-06/0.009565, allocations: 4.062 kB / 270.5 MB, free: 13.79 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.813e-05/0.009643, allocations: 23.92 kB / 270.5 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.312e-05/0.009656, allocations: 8 kB / 270.5 MB, free: 13.76 MB / 266.7 MB Warning: Assuming fixed start value for the following 4 variables: springDamper.phi_rel:VARIABLE(start = 0.0 unit = \"rad\" fixed = true nominal = if springDamper.phi_nominal >= 2.220446049250313e-16 then springDamper.phi_nominal else 1.0 stateSelect=StateSelect.prefer ) \"Relative rotation angle (= flange_b.phi - flange_a.phi)\" type: Real springDamper.w_rel:VARIABLE(start = 0.0 unit = \"rad/s\" fixed = true stateSelect=StateSelect.prefer ) \"Relative angular velocity (= der(phi_rel))\" type: Real damper.phi_rel:VARIABLE(start = 0.0 unit = \"rad\" fixed = true nominal = if damper.phi_nominal >= 2.220446049250313e-16 then damper.phi_nominal else 1.0 stateSelect=StateSelect.prefer ) \"Relative rotation angle (= flange_b.phi - flange_a.phi)\" type: Real damper.w_rel:VARIABLE(start = 0.0 unit = \"rad/s\" fixed = true stateSelect=StateSelect.prefer ) \"Relative angular velocity (= der(phi_rel))\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$PRE.trapezoid.count,$PRE.trapezoid.T_start,$PRE.speedSensor.w,trapezoid.count,trapezoid.T_start,speedSensor.w,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 1 * 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.0001255/0.009781, allocations: 159.9 kB / 270.7 MB, free: 13.6 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.331e-05/0.009805, allocations: 23.98 kB / 270.7 MB, free: 13.57 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.237e-05/0.009837, allocations: 30.64 kB / 270.7 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.009839, allocations: 0 / 270.7 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.009841, allocations: 4 kB / 270.7 MB, free: 13.54 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.009846, allocations: 3.938 kB / 270.7 MB, free: 13.54 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004232/0.01027, allocations: 447.8 kB / 271.2 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.01027, allocations: 3.938 kB / 271.2 MB, free: 13.06 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001733/0.01045, allocations: 83.83 kB / 271.2 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.01045, allocations: 4 kB / 271.2 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/0.01046, allocations: 8 kB / 271.2 MB, free: 12.97 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.01046, allocations: 0 / 271.2 MB, free: 12.97 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.01046, allocations: 0 / 271.2 MB, free: 12.97 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002552/0.01072, allocations: 322 kB / 271.6 MB, free: 12.63 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.947e-05/0.01074, allocations: 23.8 kB / 271.6 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.991e-05/0.01076, allocations: 4 kB / 271.6 MB, free: 12.6 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.148e-05/0.01084, allocations: 19.98 kB / 271.6 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.155e-05/0.01089, allocations: 27.95 kB / 271.6 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.038e-05/0.0109, allocations: 12 kB / 271.6 MB, free: 12.54 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.13e-05/0.01093, allocations: 42.06 kB / 271.7 MB, free: 12.5 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01093, allocations: 0 / 271.7 MB, free: 12.5 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001665/0.0111, allocations: 64 kB / 271.8 MB, free: 12.44 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (springDamper.phi_rel,springDamper.w_rel,damper.phi_rel,damper.w_rel) * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,speedSensor.w,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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 7.498e-05/0.01117, allocations: 96.34 kB / 271.8 MB, free: 12.34 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001953/0.01137, allocations: 214.1 kB / 272.1 MB, free: 12.11 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.01137, allocations: 0 / 272.1 MB, free: 12.11 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.283e-05/0.01146, allocations: 88.81 kB / 272.1 MB, free: 12.02 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002077/0.01166, allocations: 51.88 kB / 272.2 MB, free: 11.96 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00109/0.01275, allocations: 0.6206 MB / 272.8 MB, free: 11.31 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.652e-05/0.01281, allocations: 92.67 kB / 272.9 MB, free: 11.2 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.279e-05/0.01288, allocations: 22.3 kB / 272.9 MB, free: 11.17 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001232/0.01301, allocations: 99.34 kB / 273 MB, free: 11.07 MB / 266.7 MB Notification: Performance of SimCode: time 7.62e-07/0.01301, allocations: 0 / 273 MB, free: 11.07 MB / 266.7 MB Notification: Performance of Templates: time 0.004916/0.01792, allocations: 3.234 MB / 276.3 MB, free: 7.844 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaByExample_ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem_Variation1.makefile [Timeout 660] (rm -f ModelicaByExample_ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem_Variation1.pipe ; mkfifo ModelicaByExample_ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem_Variation1.pipe ; head -c 1048576 < ModelicaByExample_ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem_Variation1.pipe >> ../files/ModelicaByExample_ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem_Variation1.sim & ./ModelicaByExample_ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem_Variation1 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ModelicaByExample_ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem_Variation1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.553236408624798]