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.001564/0.001564, allocations: 88.72 kB / 19.44 MB, free: 356 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.001507/0.001507, allocations: 161.7 kB / 22.76 MB, free: 1.68 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.416/1.416, allocations: 158.6 MB / 184.6 MB, free: 2.508 MB / 170.7 MB " [Timeout remaining time 178] 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.06123/0.06123, allocations: 6.419 MB / 243.3 MB, free: 8.754 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.465e-06/2.465e-06, allocations: 0 / 310 MB, free: 52.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.825e-05/3.072e-05, allocations: 3.188 kB / 310 MB, free: 52.25 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem): time 0.003683/0.003714, allocations: 2.3 MB / 312.3 MB, free: 50.72 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001176/0.00489, allocations: 0.6058 MB / 312.9 MB, free: 50.3 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001405/0.00503, allocations: 8.562 kB / 312.9 MB, free: 50.3 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001682/0.005198, allocations: 31.08 kB / 312.9 MB, free: 50.28 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001857/0.005384, allocations: 89.22 kB / 313 MB, free: 50.21 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002561/0.00564, allocations: 60.78 kB / 313.1 MB, free: 50.18 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003596/0.006, allocations: 309.2 kB / 313.4 MB, free: 50.03 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001942/0.006194, allocations: 63.45 kB / 313.4 MB, free: 50 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00027/0.006464, allocations: 173.9 kB / 313.6 MB, free: 49.93 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001638/0.006628, allocations: 96.42 kB / 313.7 MB, free: 49.9 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.495e-05/0.006683, allocations: 22.94 kB / 313.7 MB, free: 49.9 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.123e-05/0.006734, allocations: 23.22 kB / 313.8 MB, free: 49.9 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.488e-05/0.006789, allocations: 47.19 kB / 313.8 MB, free: 49.87 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001239/0.006913, allocations: 94.22 kB / 313.9 MB, free: 49.82 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003897/0.007303, allocations: 277.1 kB / 314.2 MB, free: 49.72 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.007306, allocations: 1.375 kB / 314.2 MB, free: 49.72 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.007308, allocations: 3.344 kB / 314.2 MB, free: 49.72 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.007313, allocations: 0 / 314.2 MB, free: 49.72 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.0009855/0.008299, allocations: 0.5068 MB / 314.7 MB, free: 49.31 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/0.008349, allocations: 14.28 kB / 314.7 MB, free: 49.3 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001062/0.008456, allocations: 48.12 kB / 314.7 MB, free: 49.28 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003516/0.008807, allocations: 185.7 kB / 314.9 MB, free: 49.11 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.744e-05/0.008835, allocations: 19.3 kB / 314.9 MB, free: 49.11 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.148e-05/0.008906, allocations: 28.86 kB / 315 MB, free: 49.09 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005982/0.009504, allocations: 229.7 kB / 315.2 MB, free: 48.99 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.064e-05/0.009525, allocations: 2.781 kB / 315.2 MB, free: 48.99 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.095e-05/0.009556, allocations: 5.75 kB / 315.2 MB, free: 48.99 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.288e-06/0.009565, allocations: 9.438 kB / 315.2 MB, free: 48.98 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006037/0.01017, allocations: 197.6 kB / 315.4 MB, free: 48.91 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008896/0.01106, allocations: 0.5741 MB / 316 MB, free: 48.35 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007633/0.01182, allocations: 230.5 kB / 316.2 MB, free: 48.12 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003079/0.01213, allocations: 120.5 kB / 316.3 MB, free: 48 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.116e-05/0.01215, allocations: 4 kB / 316.3 MB, free: 48 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003925/0.01254, allocations: 155.3 kB / 316.5 MB, free: 47.84 MB / 282.7 MB Notification: Performance of pre-optimization done (n=25): time 1.362e-06/0.01254, allocations: 0 / 316.5 MB, free: 47.84 MB / 282.7 MB Notification: Performance of matching and sorting (n=29): time 0.002411/0.01496, allocations: 0.9763 MB / 317.4 MB, free: 46.81 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.732e-05/0.01498, allocations: 55.41 kB / 317.5 MB, free: 46.75 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/0.0151, allocations: 179.1 kB / 317.7 MB, free: 46.56 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.01512, allocations: 29.7 kB / 317.7 MB, free: 46.53 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.598e-05/0.0152, allocations: 144.8 kB / 317.8 MB, free: 46.38 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.206e-05/0.01526, allocations: 103.1 kB / 317.9 MB, free: 46.28 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.646e-05/0.01533, allocations: 49.69 kB / 318 MB, free: 46.22 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.84e-05/0.01537, allocations: 334.8 kB / 318.3 MB, free: 45.89 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003173/0.01569, allocations: 121.6 kB / 318.4 MB, free: 45.76 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003139/0.01601, allocations: 147.2 kB / 318.6 MB, free: 45.61 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001337/0.01734, allocations: 0.5081 MB / 319.1 MB, free: 45.08 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.01734, allocations: 0 / 319.1 MB, free: 45.08 MB / 282.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007261/0.01807, allocations: 382.2 kB / 319.5 MB, free: 44.69 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.699e-05/0.01811, allocations: 33.7 kB / 319.5 MB, free: 44.65 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.01811, allocations: 0 / 319.5 MB, free: 44.65 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.127e-05/0.01814, allocations: 0 / 319.5 MB, free: 44.65 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003024/0.01844, allocations: 73.08 kB / 319.6 MB, free: 44.58 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.221e-05/0.01845, allocations: 11.92 kB / 319.6 MB, free: 44.57 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003158/0.01877, allocations: 23.98 kB / 319.6 MB, free: 44.54 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.947e-05/0.0188, allocations: 12.03 kB / 319.6 MB, free: 44.53 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.0002188/0.01901, allocations: 169.3 kB / 319.8 MB, free: 44.37 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.943e-05/0.01906, allocations: 27.91 kB / 319.8 MB, free: 44.34 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.408e-05/0.01912, allocations: 30.64 kB / 319.8 MB, free: 44.31 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.01912, allocations: 8 kB / 319.8 MB, free: 44.3 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.01913, allocations: 2.25 kB / 319.8 MB, free: 44.3 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.01913, allocations: 3.938 kB / 319.9 MB, free: 44.3 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001323/0.02046, allocations: 0.6069 MB / 320.5 MB, free: 43.65 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.02046, allocations: 0 / 320.5 MB, free: 43.65 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004336/0.02089, allocations: 79.89 kB / 320.5 MB, free: 43.57 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/0.0209, allocations: 0 / 320.5 MB, free: 43.57 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.787e-05/0.02092, allocations: 11.98 kB / 320.6 MB, free: 43.56 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.02093, allocations: 0 / 320.6 MB, free: 43.56 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.02093, allocations: 0 / 320.6 MB, free: 43.56 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001161/0.02209, allocations: 0.5099 MB / 321.1 MB, free: 43.03 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.664e-05/0.02213, allocations: 19.84 kB / 321.1 MB, free: 43.01 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.715e-05/0.02217, allocations: 8.031 kB / 321.1 MB, free: 43 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003495/0.02252, allocations: 19.98 kB / 321.1 MB, free: 42.98 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/0.02263, allocations: 27.95 kB / 321.1 MB, free: 42.95 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.323e-05/0.02266, allocations: 8 kB / 321.1 MB, free: 42.95 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.928e-05/0.02276, allocations: 124.5 kB / 321.3 MB, free: 42.82 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.02276, allocations: 0 / 321.3 MB, free: 42.82 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005369/0.02329, allocations: 64 kB / 321.3 MB, free: 42.76 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.0001253/0.02342, allocations: 109.1 kB / 321.4 MB, free: 42.65 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0009313/0.02435, allocations: 314.2 kB / 321.7 MB, free: 42.32 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.02435, allocations: 0 / 321.7 MB, free: 42.32 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004444/0.0248, allocations: 136.5 kB / 321.9 MB, free: 42.19 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000547/0.02534, allocations: 52.38 kB / 321.9 MB, free: 42.14 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002798/0.02814, allocations: 0.7739 MB / 322.7 MB, free: 41.34 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001308/0.02827, allocations: 142.2 kB / 322.8 MB, free: 41.18 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001324/0.0284, allocations: 19.88 kB / 322.9 MB, free: 41.17 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.876e-05/0.0285, allocations: 24.5 kB / 322.9 MB, free: 41.14 MB / 282.7 MB Notification: Performance of SimCode: time 7.52e-07/0.0285, allocations: 3.938 kB / 322.9 MB, free: 41.14 MB / 282.7 MB Notification: Performance of Templates: time 0.005965/0.03447, allocations: 2.904 MB / 325.8 MB, free: 38.32 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=480 -lv LOG_STATS > ModelicaByExample_ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.544773563975468]