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.0006747/0.0006747, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000914/0.001589, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.000688/0.000688, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001344/0.002032, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.8135/0.8135, allocations: 158.6 MB / 171 MB, free: 2.59 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1249/0.9385, allocations: 49.49 MB / 220.5 MB, free: 1.457 MB / 218.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.02541/0.02541, allocations: 6.405 MB / 227.7 MB, free: 10.33 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003667/0.02908, allocations: 2.173 MB / 229.8 MB, free: 8.152 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 1.653e-06/1.653e-06, allocations: 0 / 231 MB, free: 6.996 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.49e-05/1.655e-05, allocations: 2.312 kB / 231 MB, free: 6.992 MB / 234.7 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem): time 0.00326/0.003276, allocations: 2.469 MB / 233.5 MB, free: 4.504 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001047/0.004323, allocations: 0.6549 MB / 234.1 MB, free: 3.84 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001143/0.004437, allocations: 7.938 kB / 234.1 MB, free: 3.832 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000101/0.004538, allocations: 31.66 kB / 234.2 MB, free: 3.801 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001597/0.004698, allocations: 79.33 kB / 234.2 MB, free: 3.723 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001616/0.004859, allocations: 71.78 kB / 234.3 MB, free: 3.652 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003288/0.005188, allocations: 302.6 kB / 234.6 MB, free: 3.355 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001574/0.005345, allocations: 68.27 kB / 234.7 MB, free: 3.289 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002552/0.005601, allocations: 192.4 kB / 234.9 MB, free: 3.102 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001416/0.005742, allocations: 87.7 kB / 234.9 MB, free: 3.016 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.398e-05/0.005786, allocations: 24 kB / 235 MB, free: 2.992 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.894e-05/0.005825, allocations: 24 kB / 235 MB, free: 2.969 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.288e-05/0.005868, allocations: 35.88 kB / 235 MB, free: 2.934 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 9.612e-05/0.005964, allocations: 71.88 kB / 235.1 MB, free: 2.863 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002496/0.006214, allocations: 179.3 kB / 235.3 MB, free: 2.688 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.418e-05/0.006228, allocations: 0 / 235.3 MB, free: 2.688 MB / 234.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.006229, allocations: 4 kB / 235.3 MB, free: 2.684 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.614e-05/0.006245, allocations: 0 / 235.3 MB, free: 2.684 MB / 234.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.0007354/0.00698, allocations: 0.5171 MB / 235.8 MB, free: 2.137 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.007014, allocations: 8.031 kB / 235.8 MB, free: 2.129 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.639e-05/0.007081, allocations: 36.91 kB / 235.8 MB, free: 2.094 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002162/0.007297, allocations: 166.1 kB / 236 MB, free: 1.906 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.942e-05/0.007316, allocations: 16.88 kB / 236 MB, free: 1.891 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.973e-05/0.007356, allocations: 24.38 kB / 236 MB, free: 1.867 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002617/0.007618, allocations: 177 kB / 236.2 MB, free: 1.684 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.701e-05/0.007635, allocations: 7.953 kB / 236.2 MB, free: 1.676 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.576e-05/0.007651, allocations: 4 kB / 236.2 MB, free: 1.672 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.007659, allocations: 8 kB / 236.2 MB, free: 1.664 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001186/0.007778, allocations: 71.33 kB / 236.3 MB, free: 1.594 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006657/0.008444, allocations: 445.3 kB / 236.7 MB, free: 1.137 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002598/0.008703, allocations: 122.5 kB / 236.9 MB, free: 1.008 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.977e-05/0.008773, allocations: 48.83 kB / 236.9 MB, free: 0.957 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.405e-05/0.008787, allocations: 4 kB / 236.9 MB, free: 0.9531 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001625/0.00895, allocations: 119.1 kB / 237 MB, free: 0.8242 MB / 234.7 MB Notification: Performance of pre-optimization done (n=25): time 2.114e-06/0.008952, allocations: 0 / 237 MB, free: 0.8242 MB / 234.7 MB Notification: Performance of matching and sorting (n=29): time 0.001011/0.009963, allocations: 0.6211 MB / 237.6 MB, free: 156 kB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.897e-05/0.01, allocations: 59.34 kB / 237.7 MB, free: 84 kB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001274/0.01013, allocations: 170.8 kB / 237.9 MB, free: 15.9 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.289e-05/0.01015, allocations: 33.69 kB / 237.9 MB, free: 15.86 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.982e-05/0.01022, allocations: 136.8 kB / 238 MB, free: 15.73 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.99e-05/0.01029, allocations: 99.11 kB / 238.1 MB, free: 15.63 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.758e-05/0.01037, allocations: 57.66 kB / 238.2 MB, free: 15.57 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001053/0.01047, allocations: 330.8 kB / 238.5 MB, free: 15.23 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.635e-05/0.01054, allocations: 57.69 kB / 238.6 MB, free: 15.17 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.727e-05/0.01063, allocations: 91.17 kB / 238.7 MB, free: 15.07 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002289/0.01086, allocations: 202.5 kB / 238.9 MB, free: 14.86 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.01086, allocations: 0 / 238.9 MB, free: 14.86 MB / 250.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002223/0.01108, allocations: 205.7 kB / 239.1 MB, free: 14.64 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.784e-05/0.01112, allocations: 29.7 kB / 239.1 MB, free: 14.6 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.01112, allocations: 0 / 239.1 MB, free: 14.6 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.01114, allocations: 4 kB / 239.1 MB, free: 14.6 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002513/0.01139, allocations: 87.86 kB / 239.2 MB, free: 14.51 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.677e-06/0.01139, allocations: 4 kB / 239.2 MB, free: 14.51 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001067/0.0115, allocations: 19.98 kB / 239.2 MB, free: 14.49 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.508e-05/0.01151, allocations: 4 kB / 239.2 MB, free: 14.48 MB / 250.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.0001578/0.01167, allocations: 159.6 kB / 239.4 MB, free: 14.32 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.486e-05/0.0117, allocations: 23.98 kB / 239.4 MB, free: 14.29 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.211e-05/0.01175, allocations: 26.66 kB / 239.4 MB, free: 14.27 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.01175, allocations: 3.938 kB / 239.4 MB, free: 14.26 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.01176, allocations: 7.984 kB / 239.4 MB, free: 14.25 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.01176, allocations: 0 / 239.4 MB, free: 14.25 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004812/0.01224, allocations: 400.6 kB / 239.8 MB, free: 13.83 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/0.01225, allocations: 7.938 kB / 239.8 MB, free: 13.82 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002552/0.0125, allocations: 75.95 kB / 239.9 MB, free: 13.75 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.202e-05/0.01252, allocations: 11.91 kB / 239.9 MB, free: 13.74 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.598e-06/0.01253, allocations: 4 kB / 239.9 MB, free: 13.73 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.504e-05/0.01254, allocations: 4 kB / 239.9 MB, free: 13.73 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.01255, allocations: 4 kB / 239.9 MB, free: 13.73 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.01255, allocations: 0 / 239.9 MB, free: 13.73 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002985/0.01285, allocations: 298.3 kB / 240.2 MB, free: 13.41 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.772e-05/0.01288, allocations: 11.98 kB / 240.2 MB, free: 13.4 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001166/0.01299, allocations: 16 kB / 240.2 MB, free: 13.39 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.613e-05/0.01305, allocations: 23.95 kB / 240.3 MB, free: 13.36 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.366e-05/0.01306, allocations: 11.98 kB / 240.3 MB, free: 13.35 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.776e-05/0.0131, allocations: 38.08 kB / 240.3 MB, free: 13.31 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.0131, allocations: 4 kB / 240.3 MB, free: 13.31 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002518/0.01335, allocations: 60 kB / 240.4 MB, free: 13.25 MB / 250.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 8.481e-05/0.01344, allocations: 88.34 kB / 240.5 MB, free: 13.16 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002308/0.01367, allocations: 210.5 kB / 240.7 MB, free: 12.93 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 9.508e-06/0.01368, allocations: 8.062 kB / 240.7 MB, free: 12.92 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 9.714e-05/0.01377, allocations: 72.69 kB / 240.7 MB, free: 12.85 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002987/0.01407, allocations: 83.83 kB / 240.8 MB, free: 12.77 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004437/0.01851, allocations: 0.6089 MB / 241.4 MB, free: 12.12 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.326e-05/0.01857, allocations: 84.52 kB / 241.5 MB, free: 12.02 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 9.314e-05/0.01867, allocations: 34.25 kB / 241.5 MB, free: 11.99 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001553/0.01882, allocations: 99.34 kB / 241.6 MB, free: 11.89 MB / 250.7 MB Notification: Performance of SimCode: time 9.02e-07/0.01882, allocations: 0 / 241.6 MB, free: 11.89 MB / 250.7 MB Notification: Performance of Templates: time 0.005977/0.0248, allocations: 3.207 MB / 244.9 MB, free: 8.676 MB / 250.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.4197641033679247]