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.002246/0.002246, allocations: 85.48 kB / 19.44 MB, free: 344 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.002703/0.002703, allocations: 173.6 kB / 22.76 MB, free: 1.664 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 1.304/1.304, allocations: 158.6 MB / 184.6 MB, free: 2.895 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.06025/0.06025, allocations: 6.416 MB / 243.3 MB, free: 8.777 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.735e-06/2.735e-06, allocations: 1.094 kB / 310 MB, free: 52.24 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.488e-05/2.761e-05, allocations: 4.062 kB / 310 MB, free: 52.24 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem): time 0.003388/0.003416, allocations: 2.397 MB / 312.4 MB, free: 50.65 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009771/0.004393, allocations: 0.6175 MB / 313 MB, free: 50.23 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001156/0.004509, allocations: 8.719 kB / 313 MB, free: 50.22 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001371/0.004646, allocations: 34.41 kB / 313 MB, free: 50.2 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001581/0.004804, allocations: 81.69 kB / 313.1 MB, free: 50.14 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000219/0.005023, allocations: 68.75 kB / 313.2 MB, free: 50.1 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003063/0.005329, allocations: 304.9 kB / 313.5 MB, free: 49.95 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001729/0.005502, allocations: 64 kB / 313.6 MB, free: 49.93 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002401/0.005742, allocations: 171.5 kB / 313.7 MB, free: 49.86 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001751/0.005917, allocations: 94.38 kB / 313.8 MB, free: 49.82 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.26e-05/0.00597, allocations: 24.16 kB / 313.8 MB, free: 49.82 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.121e-05/0.006021, allocations: 27.34 kB / 313.9 MB, free: 49.82 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.978e-05/0.006071, allocations: 52.16 kB / 313.9 MB, free: 49.79 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001119/0.006183, allocations: 96.52 kB / 314 MB, free: 49.74 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003396/0.006522, allocations: 274.9 kB / 314.3 MB, free: 49.64 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.006525, allocations: 0 / 314.3 MB, free: 49.64 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.006526, allocations: 0 / 314.3 MB, free: 49.64 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.131e-06/0.006532, allocations: 1.406 kB / 314.3 MB, free: 49.64 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.0008478/0.00738, allocations: 0.6082 MB / 314.9 MB, free: 49.12 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.007418, allocations: 13.39 kB / 314.9 MB, free: 49.12 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.708e-05/0.007515, allocations: 54.89 kB / 315 MB, free: 49.09 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002655/0.00778, allocations: 185.9 kB / 315.1 MB, free: 48.92 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.205e-05/0.007802, allocations: 18.5 kB / 315.2 MB, free: 48.91 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.614e-05/0.007848, allocations: 24.06 kB / 315.2 MB, free: 48.91 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004125/0.008261, allocations: 205.5 kB / 315.4 MB, free: 48.82 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.021e-05/0.008281, allocations: 2.359 kB / 315.4 MB, free: 48.82 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.18e-05/0.008303, allocations: 17.69 kB / 315.4 MB, free: 48.8 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.008311, allocations: 11.55 kB / 315.4 MB, free: 48.8 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004144/0.008726, allocations: 166.2 kB / 315.6 MB, free: 48.76 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008433/0.009569, allocations: 0.6647 MB / 316.2 MB, free: 48.09 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005097/0.01008, allocations: 216 kB / 316.4 MB, free: 47.87 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001912/0.01027, allocations: 108.5 kB / 316.6 MB, free: 47.76 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.929e-05/0.01029, allocations: 4 kB / 316.6 MB, free: 47.76 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002726/0.01056, allocations: 156.7 kB / 316.7 MB, free: 47.59 MB / 282.7 MB Notification: Performance of pre-optimization done (n=25): time 1.583e-06/0.01056, allocations: 0 / 316.7 MB, free: 47.59 MB / 282.7 MB Notification: Performance of matching and sorting (n=29): time 0.001694/0.01226, allocations: 0.9176 MB / 317.6 MB, free: 46.62 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.855e-05/0.0123, allocations: 59.39 kB / 317.7 MB, free: 46.55 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001509/0.01245, allocations: 246.8 kB / 317.9 MB, free: 46.29 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.143e-05/0.01247, allocations: 29.7 kB / 318 MB, free: 46.26 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.6e-05/0.01255, allocations: 195.5 kB / 318.1 MB, free: 46.06 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.991e-05/0.01261, allocations: 103.1 kB / 318.2 MB, free: 45.96 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.298e-05/0.0127, allocations: 67.34 kB / 318.3 MB, free: 45.88 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.01281, allocations: 0.5079 MB / 318.8 MB, free: 45.36 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002075/0.01302, allocations: 113.6 kB / 318.9 MB, free: 45.25 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002173/0.01323, allocations: 148.9 kB / 319.1 MB, free: 45.09 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005541/0.01379, allocations: 348.3 kB / 319.4 MB, free: 44.73 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.01379, allocations: 0 / 319.4 MB, free: 44.73 MB / 282.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004973/0.01429, allocations: 352.6 kB / 319.8 MB, free: 44.37 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.025e-05/0.01432, allocations: 41.73 kB / 319.8 MB, free: 44.32 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.01432, allocations: 3.938 kB / 319.8 MB, free: 44.32 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.01434, allocations: 4 kB / 319.8 MB, free: 44.31 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002535/0.01459, allocations: 68.77 kB / 319.9 MB, free: 44.25 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.0146, allocations: 7.531 kB / 319.9 MB, free: 44.24 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001549/0.01476, allocations: 15.98 kB / 319.9 MB, free: 44.23 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.08e-05/0.01478, allocations: 12 kB / 319.9 MB, free: 44.21 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.0001707/0.01495, allocations: 218.3 kB / 320.1 MB, free: 44 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.486e-05/0.01498, allocations: 27.89 kB / 320.2 MB, free: 43.97 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.804e-05/0.01504, allocations: 26.66 kB / 320.2 MB, free: 43.95 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.01504, allocations: 4 kB / 320.2 MB, free: 43.95 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.01505, allocations: 0 / 320.2 MB, free: 43.95 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.01505, allocations: 3.938 kB / 320.2 MB, free: 43.94 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007863/0.01584, allocations: 0.6781 MB / 320.9 MB, free: 43.21 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.01584, allocations: 0 / 320.9 MB, free: 43.21 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002531/0.0161, allocations: 67.84 kB / 320.9 MB, free: 43.14 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.0161, allocations: 4 kB / 320.9 MB, free: 43.14 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.735e-05/0.01612, allocations: 3.984 kB / 320.9 MB, free: 43.14 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.01612, allocations: 4 kB / 320.9 MB, free: 43.13 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.01612, allocations: 0 / 320.9 MB, free: 43.13 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006562/0.01678, allocations: 0.5366 MB / 321.5 MB, free: 42.57 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.58e-05/0.0168, allocations: 15.84 kB / 321.5 MB, free: 42.55 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.292e-05/0.01684, allocations: 8 kB / 321.5 MB, free: 42.55 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001677/0.017, allocations: 15.98 kB / 321.5 MB, free: 42.53 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.195e-05/0.01709, allocations: 27.95 kB / 321.5 MB, free: 42.5 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.547e-05/0.0171, allocations: 11.98 kB / 321.6 MB, free: 42.49 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.717e-05/0.01717, allocations: 168.4 kB / 321.7 MB, free: 42.33 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01717, allocations: 4 kB / 321.7 MB, free: 42.32 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002747/0.01744, allocations: 60 kB / 321.8 MB, free: 42.27 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 9.26e-05/0.01754, allocations: 109.3 kB / 321.9 MB, free: 42.15 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004704/0.01801, allocations: 317.9 kB / 322.2 MB, free: 41.82 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.01801, allocations: 0 / 322.2 MB, free: 41.82 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002091/0.01822, allocations: 127.5 kB / 322.3 MB, free: 41.69 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000407/0.01862, allocations: 59.05 kB / 322.4 MB, free: 41.64 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001568/0.02019, allocations: 0.7072 MB / 323.1 MB, free: 40.9 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.064e-05/0.02027, allocations: 142.1 kB / 323.2 MB, free: 40.74 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.492e-05/0.02036, allocations: 21.88 kB / 323.3 MB, free: 40.72 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.434e-05/0.02042, allocations: 28.5 kB / 323.3 MB, free: 40.69 MB / 282.7 MB Notification: Performance of SimCode: time 4.41e-07/0.02042, allocations: 0 / 323.3 MB, free: 40.69 MB / 282.7 MB Notification: Performance of Templates: time 0.005857/0.02628, allocations: 2.891 MB / 326.2 MB, free: 37.88 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: 4.354650140041485]