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.0009522/0.0009522, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.0009769/0.0009769, allocations: 173 kB / 23.5 MB, free: 1.055 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.8548/0.8548, allocations: 158.6 MB / 185.3 MB, free: 2.906 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.04313/0.04313, allocations: 6.409 MB / 244 MB, free: 8.785 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.705e-06/2.705e-06, allocations: 0 / 310.7 MB, free: 52.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.646e-05/2.917e-05, allocations: 4.984 kB / 310.7 MB, free: 52.27 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem): time 0.004176/0.004205, allocations: 2.418 MB / 313.2 MB, free: 50.7 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00143/0.005635, allocations: 0.6379 MB / 313.8 MB, free: 50.26 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001727/0.005807, allocations: 7 kB / 313.8 MB, free: 50.26 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001763/0.005984, allocations: 34.91 kB / 313.8 MB, free: 50.23 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001997/0.006183, allocations: 77.88 kB / 313.9 MB, free: 50.18 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002956/0.006479, allocations: 68 kB / 314 MB, free: 50.14 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004087/0.006888, allocations: 300.8 kB / 314.3 MB, free: 49.99 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002146/0.007102, allocations: 68.33 kB / 314.3 MB, free: 49.96 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003295/0.007432, allocations: 174.8 kB / 314.5 MB, free: 49.89 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001857/0.007618, allocations: 91.11 kB / 314.6 MB, free: 49.86 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.048e-05/0.007668, allocations: 26.38 kB / 314.6 MB, free: 49.86 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.49e-05/0.007713, allocations: 23.38 kB / 314.6 MB, free: 49.86 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.868e-05/0.007772, allocations: 56.38 kB / 314.7 MB, free: 49.82 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001235/0.007895, allocations: 90.69 kB / 314.8 MB, free: 49.78 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003542/0.008249, allocations: 193.9 kB / 315 MB, free: 49.69 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.008253, allocations: 1.375 kB / 315 MB, free: 49.69 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.113e-06/0.008254, allocations: 0 / 315 MB, free: 49.69 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.00826, allocations: 0 / 315 MB, free: 49.69 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.001009/0.009269, allocations: 0.5861 MB / 315.6 MB, free: 49.18 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.3e-05/0.009332, allocations: 13.58 kB / 315.6 MB, free: 49.18 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001314/0.009464, allocations: 49.11 kB / 315.6 MB, free: 49.16 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003157/0.00978, allocations: 202.8 kB / 315.8 MB, free: 48.97 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.363e-05/0.009803, allocations: 13.12 kB / 315.8 MB, free: 48.97 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.398e-05/0.009857, allocations: 28.83 kB / 315.9 MB, free: 48.96 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003904/0.01025, allocations: 182 kB / 316 MB, free: 48.84 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.059e-05/0.01027, allocations: 1.062 kB / 316 MB, free: 48.84 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.344e-05/0.01029, allocations: 10.34 kB / 316.1 MB, free: 48.83 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.481e-05/0.01031, allocations: 9.688 kB / 316.1 MB, free: 48.82 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002182/0.01052, allocations: 93.91 kB / 316.2 MB, free: 48.79 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009489/0.01147, allocations: 0.5991 MB / 316.8 MB, free: 48.28 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004241/0.0119, allocations: 154.5 kB / 316.9 MB, free: 48.14 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001259/0.01202, allocations: 68.53 kB / 317 MB, free: 48.07 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.674e-05/0.01204, allocations: 4 kB / 317 MB, free: 48.07 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002343/0.01227, allocations: 116.9 kB / 317.1 MB, free: 47.94 MB / 282.7 MB Notification: Performance of pre-optimization done (n=25): time 3.115e-06/0.01228, allocations: 0 / 317.1 MB, free: 47.94 MB / 282.7 MB Notification: Performance of matching and sorting (n=29): time 0.001311/0.01359, allocations: 0.7235 MB / 317.8 MB, free: 47.16 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.62e-05/0.01362, allocations: 55.41 kB / 317.9 MB, free: 47.1 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001303/0.01375, allocations: 226.7 kB / 318.1 MB, free: 46.86 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/0.01377, allocations: 37.69 kB / 318.1 MB, free: 46.82 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.42e-05/0.01385, allocations: 187.5 kB / 318.3 MB, free: 46.62 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.88e-05/0.01391, allocations: 99.14 kB / 318.4 MB, free: 46.53 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.984e-05/0.01399, allocations: 59.34 kB / 318.5 MB, free: 46.46 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.12e-05/0.01406, allocations: 0.4962 MB / 319 MB, free: 45.95 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001157/0.01417, allocations: 69.67 kB / 319 MB, free: 45.88 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001154/0.01429, allocations: 100.9 kB / 319.1 MB, free: 45.77 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003017/0.01459, allocations: 235.7 kB / 319.4 MB, free: 45.52 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.01459, allocations: 0 / 319.4 MB, free: 45.52 MB / 282.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003438/0.01494, allocations: 276.6 kB / 319.6 MB, free: 45.23 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.322e-05/0.01497, allocations: 33.73 kB / 319.7 MB, free: 45.19 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.01498, allocations: 4 kB / 319.7 MB, free: 45.19 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.01e-05/0.015, allocations: 4.938 kB / 319.7 MB, free: 45.18 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002476/0.01524, allocations: 67.91 kB / 319.7 MB, free: 45.12 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.056e-05/0.01526, allocations: 3.938 kB / 319.7 MB, free: 45.11 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001274/0.01538, allocations: 19.98 kB / 319.8 MB, free: 45.09 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.894e-05/0.0154, allocations: 7.359 kB / 319.8 MB, free: 45.09 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.0002052/0.01561, allocations: 206 kB / 320 MB, free: 44.89 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.019e-05/0.01565, allocations: 27.91 kB / 320 MB, free: 44.86 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.176e-05/0.0157, allocations: 26.64 kB / 320 MB, free: 44.84 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.0157, allocations: 4 kB / 320 MB, free: 44.83 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.01571, allocations: 0 / 320 MB, free: 44.83 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.01572, allocations: 3.938 kB / 320 MB, free: 44.83 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00066/0.01638, allocations: 0.5752 MB / 320.6 MB, free: 44.2 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.01638, allocations: 0 / 320.6 MB, free: 44.2 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00024/0.01662, allocations: 63.91 kB / 320.7 MB, free: 44.14 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.01662, allocations: 4 kB / 320.7 MB, free: 44.13 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.852e-05/0.01664, allocations: 4 kB / 320.7 MB, free: 44.13 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.01665, allocations: 7.938 kB / 320.7 MB, free: 44.12 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.01665, allocations: 0 / 320.7 MB, free: 44.12 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004278/0.01708, allocations: 416.7 kB / 321.1 MB, free: 43.69 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.79e-05/0.0171, allocations: 19.84 kB / 321.1 MB, free: 43.67 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.289e-05/0.01714, allocations: 8 kB / 321.1 MB, free: 43.66 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001446/0.01728, allocations: 15.98 kB / 321.1 MB, free: 43.64 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.184e-05/0.01736, allocations: 31.83 kB / 321.2 MB, free: 43.61 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.538e-05/0.01738, allocations: 8 kB / 321.2 MB, free: 43.61 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.529e-05/0.01744, allocations: 160.4 kB / 321.3 MB, free: 43.45 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01744, allocations: 0 / 321.3 MB, free: 43.45 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003239/0.01777, allocations: 60 kB / 321.4 MB, free: 43.39 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.0001083/0.01788, allocations: 107.2 kB / 321.5 MB, free: 43.28 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003254/0.0182, allocations: 233.9 kB / 321.7 MB, free: 43.03 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.0182, allocations: 0 / 321.7 MB, free: 43.03 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001293/0.01833, allocations: 87.52 kB / 321.8 MB, free: 42.94 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004434/0.01878, allocations: 58.5 kB / 321.9 MB, free: 42.89 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001766/0.02054, allocations: 0.6818 MB / 322.5 MB, free: 42.17 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.613e-05/0.0206, allocations: 88.17 kB / 322.6 MB, free: 42.07 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 9.297e-05/0.02069, allocations: 19.08 kB / 322.6 MB, free: 42.05 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.114e-05/0.02076, allocations: 32.5 kB / 322.7 MB, free: 42.02 MB / 282.7 MB Notification: Performance of SimCode: time 1.122e-06/0.02076, allocations: 0 / 322.7 MB, free: 42.02 MB / 282.7 MB Notification: Performance of Templates: time 0.006197/0.02696, allocations: 2.906 MB / 325.6 MB, free: 39.2 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.9675616559106857]