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.0009959/0.0009959, allocations: 93.06 kB / 19.65 MB, free: 284 kB / 13.93 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.001113/0.001113, allocations: 173 kB / 23.03 MB, free: 1.547 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.9585/0.9585, allocations: 158.6 MB / 184.9 MB, free: 2.922 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.02867/0.02867, allocations: 6.413 MB / 243.6 MB, free: 8.727 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 3.025e-06/3.025e-06, allocations: 0 / 310.7 MB, free: 51.98 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.289e-05/2.592e-05, allocations: 9.203 kB / 310.7 MB, free: 51.98 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem_Variation1): time 0.002818/0.002844, allocations: 2.437 MB / 313.2 MB, free: 50.4 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008338/0.003677, allocations: 0.6833 MB / 313.8 MB, free: 49.93 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.098e-05/0.003768, allocations: 7.25 kB / 313.8 MB, free: 49.93 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001149/0.003883, allocations: 38.95 kB / 313.9 MB, free: 49.9 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001124/0.003996, allocations: 81.69 kB / 314 MB, free: 49.84 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001762/0.004172, allocations: 67.97 kB / 314 MB, free: 49.81 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002508/0.004423, allocations: 310.1 kB / 314.3 MB, free: 49.65 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001622/0.004585, allocations: 68.44 kB / 314.4 MB, free: 49.62 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000175/0.00476, allocations: 172.9 kB / 314.6 MB, free: 49.55 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000123/0.004883, allocations: 95.05 kB / 314.7 MB, free: 49.52 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.624e-05/0.004919, allocations: 23.09 kB / 314.7 MB, free: 49.52 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.883e-05/0.004958, allocations: 28.34 kB / 314.7 MB, free: 49.52 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.654e-05/0.005004, allocations: 57.41 kB / 314.8 MB, free: 49.48 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.792e-05/0.005092, allocations: 87 kB / 314.9 MB, free: 49.45 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002441/0.005336, allocations: 204 kB / 315.1 MB, free: 49.34 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.005339, allocations: 0 / 315.1 MB, free: 49.34 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.00534, allocations: 0 / 315.1 MB, free: 49.34 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.005345, allocations: 4.406 kB / 315.1 MB, free: 49.34 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.0007036/0.006048, allocations: 0.5897 MB / 315.6 MB, free: 48.84 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.006091, allocations: 13.58 kB / 315.7 MB, free: 48.83 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.027e-05/0.006171, allocations: 49.5 kB / 315.7 MB, free: 48.81 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002143/0.006386, allocations: 197.1 kB / 315.9 MB, free: 48.62 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.171e-05/0.006407, allocations: 18.5 kB / 315.9 MB, free: 48.61 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.519e-05/0.006453, allocations: 24.88 kB / 315.9 MB, free: 48.6 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002793/0.006732, allocations: 178.3 kB / 316.1 MB, free: 48.46 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.617e-05/0.006748, allocations: 9 kB / 316.1 MB, free: 48.46 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.94e-05/0.006768, allocations: 12.36 kB / 316.1 MB, free: 48.45 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.211e-05/0.00678, allocations: 7.938 kB / 316.1 MB, free: 48.44 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001251/0.006905, allocations: 90.86 kB / 316.2 MB, free: 48.35 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005936/0.007498, allocations: 0.5779 MB / 316.8 MB, free: 47.74 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002649/0.007763, allocations: 151.1 kB / 317 MB, free: 47.58 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.445e-05/0.007838, allocations: 67.58 kB / 317 MB, free: 47.51 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.25e-05/0.00785, allocations: 4 kB / 317 MB, free: 47.5 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001574/0.008008, allocations: 129.2 kB / 317.2 MB, free: 47.37 MB / 282.7 MB Notification: Performance of pre-optimization done (n=27): time 1.513e-06/0.008009, allocations: 0 / 317.2 MB, free: 47.37 MB / 282.7 MB Notification: Performance of matching and sorting (n=32): time 0.0009478/0.008957, allocations: 0.7887 MB / 317.9 MB, free: 46.52 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.063e-05/0.008988, allocations: 55.41 kB / 318 MB, free: 46.45 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.085e-05/0.009078, allocations: 230.8 kB / 318.2 MB, free: 46.21 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.379e-05/0.009092, allocations: 29.7 kB / 318.3 MB, free: 46.18 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.913e-05/0.009151, allocations: 191.5 kB / 318.4 MB, free: 45.98 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.322e-05/0.009195, allocations: 107.1 kB / 318.5 MB, free: 45.88 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.642e-05/0.009251, allocations: 59.36 kB / 318.6 MB, free: 45.81 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.033e-05/0.009311, allocations: 0.5079 MB / 319.1 MB, free: 45.29 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.309e-05/0.009384, allocations: 66 kB / 319.2 MB, free: 45.21 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.482e-05/0.009469, allocations: 117.6 kB / 319.3 MB, free: 45.08 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002148/0.009684, allocations: 255.9 kB / 319.5 MB, free: 44.8 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.009685, allocations: 0 / 319.5 MB, free: 44.8 MB / 282.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.000266/0.009951, allocations: 284.3 kB / 319.8 MB, free: 44.51 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.894e-05/0.00998, allocations: 41.69 kB / 319.9 MB, free: 44.46 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.009986, allocations: 3.938 kB / 319.9 MB, free: 44.46 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.01, allocations: 1.312 kB / 319.9 MB, free: 44.46 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001711/0.01017, allocations: 67.91 kB / 319.9 MB, free: 44.39 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/0.01018, allocations: 7.938 kB / 319.9 MB, free: 44.38 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.437e-05/0.01027, allocations: 24.05 kB / 320 MB, free: 44.36 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.396e-05/0.01028, allocations: 8 kB / 320 MB, free: 44.35 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.0001321/0.01041, allocations: 195.8 kB / 320.2 MB, free: 44.16 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.596e-05/0.01044, allocations: 38.44 kB / 320.2 MB, free: 44.12 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.469e-05/0.01047, allocations: 26.66 kB / 320.2 MB, free: 44.1 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.01048, allocations: 11.92 kB / 320.2 MB, free: 44.09 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.768e-06/0.01048, allocations: 0 / 320.2 MB, free: 44.09 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.01049, allocations: 7.938 kB / 320.2 MB, free: 44.08 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004895/0.01098, allocations: 0.6255 MB / 320.9 MB, free: 43.4 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.01098, allocations: 3.938 kB / 320.9 MB, free: 43.4 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001559/0.01113, allocations: 67.91 kB / 320.9 MB, free: 43.33 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.01114, allocations: 4.062 kB / 320.9 MB, free: 43.33 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.759e-05/0.01115, allocations: 11.98 kB / 321 MB, free: 43.32 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.01116, allocations: 0 / 321 MB, free: 43.32 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.01116, allocations: 8 kB / 321 MB, free: 43.31 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004252/0.01159, allocations: 444.1 kB / 321.4 MB, free: 42.84 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.981e-05/0.01161, allocations: 23.84 kB / 321.4 MB, free: 42.82 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.35e-05/0.01163, allocations: 11.98 kB / 321.4 MB, free: 42.81 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.935e-05/0.01172, allocations: 12 kB / 321.4 MB, free: 42.8 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.303e-05/0.01179, allocations: 27.94 kB / 321.5 MB, free: 42.77 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.237e-05/0.0118, allocations: 8 kB / 321.5 MB, free: 42.76 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.615e-05/0.01185, allocations: 164.4 kB / 321.6 MB, free: 42.6 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01185, allocations: 0 / 321.6 MB, free: 42.6 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001825/0.01203, allocations: 68 kB / 321.7 MB, free: 42.54 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 7.319e-05/0.01211, allocations: 111.2 kB / 321.8 MB, free: 42.42 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000241/0.01235, allocations: 244.6 kB / 322.1 MB, free: 42.16 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.01235, allocations: 0 / 322.1 MB, free: 42.16 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 9.727e-05/0.01245, allocations: 91.52 kB / 322.1 MB, free: 42.06 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000285/0.01273, allocations: 68.48 kB / 322.2 MB, free: 42 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001221/0.01395, allocations: 0.6912 MB / 322.9 MB, free: 41.28 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.083e-05/0.01399, allocations: 88.69 kB / 323 MB, free: 41.17 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.891e-05/0.01405, allocations: 23.36 kB / 323 MB, free: 41.15 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.392e-05/0.01411, allocations: 24.5 kB / 323 MB, free: 41.12 MB / 282.7 MB Notification: Performance of SimCode: time 1.052e-06/0.01411, allocations: 0 / 323 MB, free: 41.12 MB / 282.7 MB Notification: Performance of Templates: time 0.00457/0.01868, allocations: 3.172 MB / 326.2 MB, free: 38.05 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.8370536495931447]