Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaByExample_ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem_Variation1.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.001338/0.001338, allocations: 84.73 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.001511/0.001511, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.363/1.363, allocations: 158.6 MB / 184.6 MB, free: 2.543 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.04935/0.04935, allocations: 6.41 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_Variation1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem_Variation1") translateModel(ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem_Variation1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem_Variation1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 310 MB, free: 52.02 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.597e-05/2.81e-05, allocations: 4.516 kB / 310 MB, free: 52.02 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem_Variation1): time 0.003082/0.00311, allocations: 2.303 MB / 312.3 MB, free: 50.49 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001043/0.004154, allocations: 0.6605 MB / 313 MB, free: 50.04 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001212/0.004275, allocations: 4.25 kB / 313 MB, free: 50.04 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001533/0.004428, allocations: 35.28 kB / 313 MB, free: 50.01 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000155/0.004583, allocations: 81.05 kB / 313.1 MB, free: 49.95 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002517/0.004835, allocations: 75.41 kB / 313.2 MB, free: 49.91 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000317/0.005152, allocations: 310.6 kB / 313.5 MB, free: 49.75 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001671/0.005319, allocations: 63.77 kB / 313.5 MB, free: 49.73 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002215/0.00554, allocations: 177.2 kB / 313.7 MB, free: 49.66 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001596/0.0057, allocations: 89.58 kB / 313.8 MB, free: 49.63 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.339e-05/0.005743, allocations: 23.94 kB / 313.8 MB, free: 49.63 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.268e-05/0.005786, allocations: 26.25 kB / 313.8 MB, free: 49.63 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.097e-05/0.005837, allocations: 60.59 kB / 313.9 MB, free: 49.59 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001082/0.005945, allocations: 89.84 kB / 314 MB, free: 49.55 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003139/0.006259, allocations: 288 kB / 314.3 MB, free: 49.43 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.006262, allocations: 3.344 kB / 314.3 MB, free: 49.43 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.006263, allocations: 0 / 314.3 MB, free: 49.43 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.006269, allocations: 0 / 314.3 MB, free: 49.43 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.0009126/0.007181, allocations: 0.5107 MB / 314.8 MB, free: 49.02 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.007219, allocations: 14.77 kB / 314.8 MB, free: 49.02 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.886e-05/0.007318, allocations: 46.06 kB / 314.8 MB, free: 49 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002972/0.007615, allocations: 194.1 kB / 315 MB, free: 48.83 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.39e-05/0.007639, allocations: 17.12 kB / 315 MB, free: 48.82 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.652e-05/0.007695, allocations: 26.05 kB / 315.1 MB, free: 48.81 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004997/0.008195, allocations: 225.5 kB / 315.3 MB, free: 48.71 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.88e-05/0.008214, allocations: 1.922 kB / 315.3 MB, free: 48.71 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.436e-05/0.008238, allocations: 14.81 kB / 315.3 MB, free: 48.7 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.056e-05/0.008249, allocations: 9.656 kB / 315.3 MB, free: 48.7 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005645/0.008813, allocations: 193.3 kB / 315.5 MB, free: 48.66 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008658/0.009679, allocations: 0.5435 MB / 316 MB, free: 48.15 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006295/0.01031, allocations: 228.7 kB / 316.3 MB, free: 47.92 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002574/0.01057, allocations: 116.7 kB / 316.4 MB, free: 47.8 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.057e-05/0.01059, allocations: 8 kB / 316.4 MB, free: 47.79 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003498/0.01094, allocations: 165.1 kB / 316.5 MB, free: 47.62 MB / 282.7 MB Notification: Performance of pre-optimization done (n=27): time 1.282e-06/0.01094, allocations: 3.938 kB / 316.5 MB, free: 47.62 MB / 282.7 MB Notification: Performance of matching and sorting (n=32): time 0.00217/0.01311, allocations: 1.049 MB / 317.6 MB, free: 46.52 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.727e-05/0.01313, allocations: 63.39 kB / 317.7 MB, free: 46.45 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001077/0.01324, allocations: 171.2 kB / 317.8 MB, free: 46.27 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.068e-05/0.01326, allocations: 33.7 kB / 317.9 MB, free: 46.23 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.189e-05/0.01332, allocations: 140.8 kB / 318 MB, free: 46.09 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.24e-05/0.01338, allocations: 115 kB / 318.1 MB, free: 45.97 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.135e-05/0.01346, allocations: 61.69 kB / 318.2 MB, free: 45.91 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.024e-05/0.01351, allocations: 326.8 kB / 318.5 MB, free: 45.58 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002661/0.01377, allocations: 126 kB / 318.6 MB, free: 45.45 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002615/0.01404, allocations: 169.1 kB / 318.8 MB, free: 45.27 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001154/0.01519, allocations: 0.5474 MB / 319.3 MB, free: 44.69 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.01519, allocations: 0 / 319.3 MB, free: 44.69 MB / 282.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006535/0.01585, allocations: 412 kB / 319.7 MB, free: 44.27 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.2e-05/0.01588, allocations: 33.7 kB / 319.8 MB, free: 44.23 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.186e-06/0.01589, allocations: 8.828 kB / 319.8 MB, free: 44.23 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.492e-05/0.01591, allocations: 4 kB / 319.8 MB, free: 44.22 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002773/0.01619, allocations: 71.89 kB / 319.8 MB, free: 44.15 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.0162, allocations: 3.938 kB / 319.8 MB, free: 44.15 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002159/0.01641, allocations: 27.97 kB / 319.9 MB, free: 44.12 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.97e-05/0.01643, allocations: 8 kB / 319.9 MB, free: 44.11 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: 3 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$PRE.trapezoid.count,$PRE.trapezoid.T_start,$PRE.speedSensor.w,trapezoid.count,trapezoid.T_start,speedSensor.w,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 38 * 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.000177/0.01661, allocations: 166.5 kB / 320 MB, free: 43.95 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.092e-05/0.01665, allocations: 35.84 kB / 320.1 MB, free: 43.91 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.765e-05/0.01671, allocations: 26.66 kB / 320.1 MB, free: 43.89 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.01671, allocations: 4 kB / 320.1 MB, free: 43.89 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/0.01672, allocations: 5.875 kB / 320.1 MB, free: 43.88 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.01672, allocations: 7.922 kB / 320.1 MB, free: 43.88 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009744/0.0177, allocations: 0.6637 MB / 320.8 MB, free: 43.16 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.0177, allocations: 7.938 kB / 320.8 MB, free: 43.16 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002892/0.01799, allocations: 71.95 kB / 320.9 MB, free: 43.09 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.01799, allocations: 4 kB / 320.9 MB, free: 43.08 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.844e-05/0.01801, allocations: 11.98 kB / 320.9 MB, free: 43.07 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.01801, allocations: 0 / 320.9 MB, free: 43.07 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.01802, allocations: 3.938 kB / 320.9 MB, free: 43.07 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000864/0.01888, allocations: 0.5446 MB / 321.4 MB, free: 42.5 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.404e-05/0.0189, allocations: 19.8 kB / 321.4 MB, free: 42.48 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.376e-05/0.01894, allocations: 8 kB / 321.5 MB, free: 42.47 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002112/0.01915, allocations: 24.02 kB / 321.5 MB, free: 42.45 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.741e-05/0.01923, allocations: 31.95 kB / 321.5 MB, free: 42.41 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.658e-05/0.01924, allocations: 8.859 kB / 321.5 MB, free: 42.41 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.821e-05/0.01931, allocations: 124.5 kB / 321.6 MB, free: 42.29 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01931, allocations: 0 / 321.6 MB, free: 42.29 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002873/0.0196, allocations: 64 kB / 321.7 MB, free: 42.22 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: 5 ($whenCondition2,$whenCondition1,speedSensor.w,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 (32): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.343e-05/0.01969, allocations: 119.3 kB / 321.8 MB, free: 42.1 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006008/0.02029, allocations: 336.9 kB / 322.1 MB, free: 41.75 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.02029, allocations: 0 / 322.1 MB, free: 41.75 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002794/0.02057, allocations: 140 kB / 322.3 MB, free: 41.62 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000419/0.02099, allocations: 65.47 kB / 322.3 MB, free: 41.56 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002149/0.02314, allocations: 0.7751 MB / 323.1 MB, free: 40.76 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.484e-05/0.02324, allocations: 146.6 kB / 323.3 MB, free: 40.59 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 9.494e-05/0.02333, allocations: 24.72 kB / 323.3 MB, free: 40.57 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.824e-05/0.0234, allocations: 24.5 kB / 323.3 MB, free: 40.55 MB / 282.7 MB Notification: Performance of SimCode: time 5.31e-07/0.0234, allocations: 0 / 323.3 MB, free: 40.55 MB / 282.7 MB Notification: Performance of Templates: time 0.00556/0.02896, allocations: 3.011 MB / 326.3 MB, free: 37.64 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaByExample_ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem_Variation1.makefile [Timeout 660] (rm -f ModelicaByExample_ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem_Variation1.pipe ; mkfifo ModelicaByExample_ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem_Variation1.pipe ; head -c 1048576 < ModelicaByExample_ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem_Variation1.pipe >> ../files/ModelicaByExample_ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem_Variation1.sim & ./ModelicaByExample_ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem_Variation1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaByExample_ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem_Variation1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.383806132944301]