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.0009905/0.0009905, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.001215/0.001215, allocations: 173.4 kB / 24.06 MB, free: 452 kB / 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.864/0.864, allocations: 158.6 MB / 186 MB, free: 2.805 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.02688/0.02688, allocations: 6.411 MB / 244.7 MB, free: 8.551 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.523e-06/1.523e-06, allocations: 0 / 311.9 MB, free: 51.8 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.279e-05/1.432e-05, allocations: 2.859 kB / 311.9 MB, free: 51.79 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem_Variation1): time 0.00233/0.002344, allocations: 2.423 MB / 314.4 MB, free: 50.21 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009124/0.003257, allocations: 0.6802 MB / 315 MB, free: 49.74 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001174/0.003374, allocations: 8.969 kB / 315.1 MB, free: 49.74 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001203/0.003494, allocations: 34.02 kB / 315.1 MB, free: 49.71 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001275/0.003622, allocations: 81.88 kB / 315.2 MB, free: 49.66 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002068/0.003829, allocations: 78.11 kB / 315.2 MB, free: 49.61 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002559/0.004085, allocations: 304.6 kB / 315.5 MB, free: 49.46 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000136/0.00422, allocations: 69.89 kB / 315.6 MB, free: 49.43 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001745/0.004395, allocations: 167.5 kB / 315.8 MB, free: 49.36 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000119/0.004514, allocations: 100.2 kB / 315.9 MB, free: 49.33 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.386e-05/0.004548, allocations: 23.38 kB / 315.9 MB, free: 49.33 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.805e-05/0.004576, allocations: 26.03 kB / 315.9 MB, free: 49.33 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.36e-05/0.00462, allocations: 54.19 kB / 316 MB, free: 49.29 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.322e-05/0.004703, allocations: 89.98 kB / 316.1 MB, free: 49.25 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002395/0.004942, allocations: 198.2 kB / 316.3 MB, free: 49.16 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.004944, allocations: 1.031 kB / 316.3 MB, free: 49.16 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.004945, allocations: 0 / 316.3 MB, free: 49.16 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.104e-06/0.004952, allocations: 0 / 316.3 MB, free: 49.16 MB / 282.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.0005564/0.005508, allocations: 0.6013 MB / 316.9 MB, free: 48.56 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.161e-05/0.00554, allocations: 11.98 kB / 316.9 MB, free: 48.55 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.573e-05/0.005596, allocations: 52.69 kB / 316.9 MB, free: 48.5 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001627/0.005759, allocations: 194.2 kB / 317.1 MB, free: 48.29 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.005772, allocations: 20.88 kB / 317.1 MB, free: 48.27 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.103e-05/0.005803, allocations: 28.38 kB / 317.2 MB, free: 48.24 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001922/0.005995, allocations: 169.3 kB / 317.3 MB, free: 48.06 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.006007, allocations: 192 / 317.3 MB, free: 48.06 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.483e-05/0.006021, allocations: 8.375 kB / 317.3 MB, free: 48.05 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.006028, allocations: 15.88 kB / 317.3 MB, free: 48.04 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.857e-05/0.006107, allocations: 67.42 kB / 317.4 MB, free: 47.98 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005053/0.006612, allocations: 0.5398 MB / 318 MB, free: 47.41 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001876/0.006799, allocations: 151 kB / 318.1 MB, free: 47.25 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.233e-05/0.006852, allocations: 51.59 kB / 318.2 MB, free: 47.2 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.119e-05/0.006863, allocations: 8 kB / 318.2 MB, free: 47.19 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001155/0.006978, allocations: 119.5 kB / 318.3 MB, free: 47.06 MB / 282.7 MB Notification: Performance of pre-optimization done (n=27): time 1.703e-06/0.00698, allocations: 0 / 318.3 MB, free: 47.06 MB / 282.7 MB Notification: Performance of matching and sorting (n=32): time 0.0006775/0.007658, allocations: 0.7037 MB / 319 MB, free: 46.3 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.133e-05/0.007679, allocations: 55.41 kB / 319 MB, free: 46.23 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.673e-05/0.007746, allocations: 230.8 kB / 319.3 MB, free: 45.99 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.316e-05/0.007759, allocations: 33.7 kB / 319.3 MB, free: 45.95 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.781e-05/0.007807, allocations: 187.5 kB / 319.5 MB, free: 45.76 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.311e-05/0.00785, allocations: 103.1 kB / 319.6 MB, free: 45.66 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.201e-05/0.007902, allocations: 71.28 kB / 319.6 MB, free: 45.58 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.465e-05/0.007946, allocations: 0.5078 MB / 320.2 MB, free: 45.06 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.653e-05/0.007993, allocations: 58 kB / 320.2 MB, free: 45 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.539e-05/0.008048, allocations: 105.6 kB / 320.3 MB, free: 44.88 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001432/0.008192, allocations: 223.9 kB / 320.5 MB, free: 44.63 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.008193, allocations: 4 kB / 320.5 MB, free: 44.62 MB / 282.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0001781/0.008371, allocations: 264.3 kB / 320.8 MB, free: 44.35 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.008388, allocations: 37.64 kB / 320.8 MB, free: 44.3 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.008392, allocations: 0 / 320.8 MB, free: 44.3 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.666e-06/0.008401, allocations: 4 kB / 320.8 MB, free: 44.3 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001491/0.00855, allocations: 75.89 kB / 320.9 MB, free: 44.23 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.616e-06/0.008554, allocations: 0 / 320.9 MB, free: 44.23 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.979e-05/0.008634, allocations: 27.86 kB / 320.9 MB, free: 44.2 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.271e-05/0.008646, allocations: 4.062 kB / 320.9 MB, free: 44.2 MB / 282.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.0001205/0.008767, allocations: 196.6 kB / 321.1 MB, free: 44 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.309e-05/0.0088, allocations: 31.86 kB / 321.2 MB, free: 43.96 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.185e-05/0.008832, allocations: 29.28 kB / 321.2 MB, free: 43.95 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.008834, allocations: 8 kB / 321.2 MB, free: 43.94 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.015e-06/0.008837, allocations: 0 / 321.2 MB, free: 43.94 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.008842, allocations: 7.984 kB / 321.2 MB, free: 43.93 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003957/0.009238, allocations: 0.5831 MB / 321.8 MB, free: 43.3 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.009239, allocations: 4 kB / 321.8 MB, free: 43.3 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001368/0.009376, allocations: 63.89 kB / 321.9 MB, free: 43.23 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.009378, allocations: 0 / 321.9 MB, free: 43.23 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.00939, allocations: 11.94 kB / 321.9 MB, free: 43.22 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.009392, allocations: 8.062 kB / 321.9 MB, free: 43.21 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.009393, allocations: 0 / 321.9 MB, free: 43.21 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002331/0.009626, allocations: 420.1 kB / 322.3 MB, free: 42.77 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.671e-05/0.009643, allocations: 23.84 kB / 322.3 MB, free: 42.75 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.025e-05/0.009663, allocations: 11.94 kB / 322.3 MB, free: 42.74 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.521e-05/0.009748, allocations: 15.98 kB / 322.3 MB, free: 42.72 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.758e-05/0.009796, allocations: 27.95 kB / 322.4 MB, free: 42.7 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.098e-05/0.009807, allocations: 4 kB / 322.4 MB, free: 42.69 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.418e-05/0.009841, allocations: 164.4 kB / 322.5 MB, free: 42.53 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009841, allocations: 0 / 322.5 MB, free: 42.53 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001857/0.01003, allocations: 68 kB / 322.6 MB, free: 42.46 MB / 282.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 5.983e-05/0.01009, allocations: 104.6 kB / 322.7 MB, free: 42.36 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001764/0.01026, allocations: 232.9 kB / 322.9 MB, free: 42.11 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.01026, allocations: 0 / 322.9 MB, free: 42.11 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.926e-05/0.01033, allocations: 83.5 kB / 323 MB, free: 42.02 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002467/0.01058, allocations: 57.83 kB / 323.1 MB, free: 41.97 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001068/0.01165, allocations: 0.6975 MB / 323.8 MB, free: 41.24 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.011e-05/0.01169, allocations: 84.7 kB / 323.8 MB, free: 41.14 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.11e-05/0.01176, allocations: 26.28 kB / 323.9 MB, free: 41.11 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001099/0.01187, allocations: 118.2 kB / 324 MB, free: 40.99 MB / 282.7 MB Notification: Performance of SimCode: time 8.22e-07/0.01187, allocations: 0 / 324 MB, free: 40.99 MB / 282.7 MB Notification: Performance of Templates: time 0.004418/0.01629, allocations: 3.36 MB / 327.3 MB, free: 37.74 MB / 282.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 -lv LOG_STATS > ModelicaByExample_ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem_Variation1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.7751805698499084]