Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaByExample_ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem.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.001429/0.001429, allocations: 86.05 kB / 19.87 MB, free: 4.617 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.001803/0.001803, allocations: 170 kB / 23.27 MB, free: 1.223 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.9422/0.9422, allocations: 158.6 MB / 185.2 MB, free: 2.777 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.02694/0.02694, allocations: 6.412 MB / 244 MB, free: 8.547 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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem") translateModel(ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.755e-06/2.755e-06, allocations: 0 / 311.2 MB, free: 51.8 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.839e-05/3.115e-05, allocations: 2.859 kB / 311.2 MB, free: 51.8 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem): time 0.004471/0.004503, allocations: 2.406 MB / 313.6 MB, free: 50.23 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001624/0.006127, allocations: 0.6323 MB / 314.2 MB, free: 49.79 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002183/0.006345, allocations: 8.062 kB / 314.2 MB, free: 49.79 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001712/0.006516, allocations: 30.16 kB / 314.2 MB, free: 49.77 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002607/0.006777, allocations: 80.94 kB / 314.3 MB, free: 49.71 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003283/0.007105, allocations: 74.52 kB / 314.4 MB, free: 49.66 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004785/0.007584, allocations: 300.5 kB / 314.7 MB, free: 49.51 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002273/0.007811, allocations: 64.33 kB / 314.7 MB, free: 49.49 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004337/0.008245, allocations: 166 kB / 314.9 MB, free: 49.42 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002533/0.008498, allocations: 96.03 kB / 315 MB, free: 49.39 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.826e-05/0.008577, allocations: 28.19 kB / 315 MB, free: 49.39 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.819e-05/0.008635, allocations: 23.38 kB / 315.1 MB, free: 49.39 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.828e-05/0.008693, allocations: 56.67 kB / 315.1 MB, free: 49.35 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001314/0.008824, allocations: 86.23 kB / 315.2 MB, free: 49.31 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003492/0.009174, allocations: 195.5 kB / 315.4 MB, free: 49.22 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.009178, allocations: 0 / 315.4 MB, free: 49.22 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.009179, allocations: 1.375 kB / 315.4 MB, free: 49.22 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.167e-06/0.009189, allocations: 0 / 315.4 MB, free: 49.22 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.000812/0.01, allocations: 0.6016 MB / 316 MB, free: 48.66 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.01004, allocations: 15.98 kB / 316 MB, free: 48.65 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.63e-05/0.01013, allocations: 46.02 kB / 316 MB, free: 48.61 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002387/0.01037, allocations: 184.9 kB / 316.2 MB, free: 48.41 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.244e-05/0.01039, allocations: 24.86 kB / 316.3 MB, free: 48.38 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.549e-05/0.01044, allocations: 26.95 kB / 316.3 MB, free: 48.36 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002986/0.01074, allocations: 165.3 kB / 316.4 MB, free: 48.19 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.014e-05/0.01076, allocations: 8.172 kB / 316.4 MB, free: 48.18 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.89e-05/0.01077, allocations: 12.38 kB / 316.5 MB, free: 48.17 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.408e-06/0.01078, allocations: 15.81 kB / 316.5 MB, free: 48.15 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001365/0.01092, allocations: 71.42 kB / 316.5 MB, free: 48.09 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008175/0.01174, allocations: 0.5639 MB / 317.1 MB, free: 47.49 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003281/0.01207, allocations: 151 kB / 317.3 MB, free: 47.33 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.448e-05/0.01215, allocations: 49.44 kB / 317.3 MB, free: 47.28 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.582e-05/0.01217, allocations: 12 kB / 317.3 MB, free: 47.27 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001732/0.01234, allocations: 101 kB / 317.4 MB, free: 47.16 MB / 282.7 MB Notification: Performance of pre-optimization done (n=25): time 2.495e-06/0.01234, allocations: 0 / 317.4 MB, free: 47.16 MB / 282.7 MB Notification: Performance of matching and sorting (n=29): time 0.001063/0.01341, allocations: 0.6495 MB / 318.1 MB, free: 46.45 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.49e-05/0.01344, allocations: 55.41 kB / 318.1 MB, free: 46.39 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001169/0.01356, allocations: 222.8 kB / 318.3 MB, free: 46.15 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.623e-05/0.01358, allocations: 29.7 kB / 318.4 MB, free: 46.12 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.133e-05/0.01366, allocations: 195.5 kB / 318.6 MB, free: 45.92 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.523e-05/0.01373, allocations: 107.1 kB / 318.7 MB, free: 45.81 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.302e-05/0.01381, allocations: 59.33 kB / 318.7 MB, free: 45.75 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.474e-05/0.0139, allocations: 0.5039 MB / 319.2 MB, free: 45.23 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.968e-05/0.01398, allocations: 53.69 kB / 319.3 MB, free: 45.17 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.428e-05/0.01406, allocations: 100.8 kB / 319.4 MB, free: 45.06 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002235/0.01429, allocations: 195.8 kB / 319.6 MB, free: 44.85 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.01429, allocations: 0 / 319.6 MB, free: 44.85 MB / 282.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002914/0.01458, allocations: 256.6 kB / 319.8 MB, free: 44.58 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.353e-05/0.01461, allocations: 33.7 kB / 319.8 MB, free: 44.54 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.01462, allocations: 4.031 kB / 319.9 MB, free: 44.54 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.01464, allocations: 4 kB / 319.9 MB, free: 44.54 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002321/0.01487, allocations: 67.89 kB / 319.9 MB, free: 44.47 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/0.01487, allocations: 0 / 319.9 MB, free: 44.47 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001237/0.015, allocations: 23.92 kB / 319.9 MB, free: 44.45 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.783e-05/0.01502, allocations: 4 kB / 319.9 MB, free: 44.44 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: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.trapezoid.count,$PRE.trapezoid.T_start,trapezoid.count,trapezoid.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 34 * 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.0001722/0.01519, allocations: 198.9 kB / 320.1 MB, free: 44.25 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.687e-05/0.01523, allocations: 27.91 kB / 320.2 MB, free: 44.22 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.992e-05/0.01528, allocations: 30.64 kB / 320.2 MB, free: 44.19 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.01528, allocations: 4 kB / 320.2 MB, free: 44.19 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.01528, allocations: 0 / 320.2 MB, free: 44.19 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.01529, allocations: 3.938 kB / 320.2 MB, free: 44.18 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006021/0.01589, allocations: 0.5328 MB / 320.7 MB, free: 43.61 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.01589, allocations: 0 / 320.7 MB, free: 43.61 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002395/0.01613, allocations: 63.91 kB / 320.8 MB, free: 43.54 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.181e-06/0.01614, allocations: 3.984 kB / 320.8 MB, free: 43.54 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.919e-05/0.01616, allocations: 11.94 kB / 320.8 MB, free: 43.53 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.01616, allocations: 0 / 320.8 MB, free: 43.53 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.01616, allocations: 0 / 320.8 MB, free: 43.53 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003688/0.01653, allocations: 400.5 kB / 321.2 MB, free: 43.11 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.701e-05/0.01656, allocations: 11.91 kB / 321.2 MB, free: 43.1 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.98e-05/0.01659, allocations: 16 kB / 321.2 MB, free: 43.08 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001567/0.01675, allocations: 15.98 kB / 321.3 MB, free: 43.07 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.418e-05/0.01682, allocations: 23.95 kB / 321.3 MB, free: 43.04 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.506e-05/0.01684, allocations: 8 kB / 321.3 MB, free: 43.04 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.198e-05/0.0169, allocations: 152.4 kB / 321.4 MB, free: 42.89 MB / 282.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.0169, allocations: 0 / 321.4 MB, free: 42.89 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003055/0.0172, allocations: 60 kB / 321.5 MB, free: 42.83 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: 3 ($whenCondition1,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 (29): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001204/0.01732, allocations: 117.3 kB / 321.6 MB, free: 42.71 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002589/0.01758, allocations: 218 kB / 321.8 MB, free: 42.47 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.01759, allocations: 0 / 321.8 MB, free: 42.47 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001123/0.0177, allocations: 75.52 kB / 321.9 MB, free: 42.39 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003994/0.0181, allocations: 53.78 kB / 321.9 MB, free: 42.34 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001647/0.01974, allocations: 0.6782 MB / 322.6 MB, free: 41.63 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.074e-05/0.0198, allocations: 92.17 kB / 322.7 MB, free: 41.52 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 9.788e-05/0.01989, allocations: 21.05 kB / 322.7 MB, free: 41.51 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001491/0.02004, allocations: 118.2 kB / 322.8 MB, free: 41.39 MB / 282.7 MB Notification: Performance of SimCode: time 7.91e-07/0.02004, allocations: 4 kB / 322.9 MB, free: 41.39 MB / 282.7 MB Notification: Performance of Templates: time 0.007043/0.02709, allocations: 3.145 MB / 326 MB, free: 38.34 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaByExample_ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem.makefile [Timeout 660] (rm -f ModelicaByExample_ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem.pipe ; mkfifo ModelicaByExample_ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem.pipe ; head -c 1048576 < ModelicaByExample_ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem.pipe >> ../files/ModelicaByExample_ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem.sim & ./ModelicaByExample_ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem -abortSlowSimulation -alarm=240 -lv LOG_STATS > ModelicaByExample_ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.699753763154149]