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.001308/0.001308, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001344/0.001344, allocations: 169 kB / 23.27 MB, free: 1.223 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.8947/0.8947, allocations: 158.6 MB / 185.2 MB, free: 2.805 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.02791/0.02791, allocations: 6.423 MB / 244 MB, free: 8.652 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 3.627e-06/3.627e-06, allocations: 0 / 311.1 MB, free: 51.86 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.355e-05/3.718e-05, allocations: 3.781 kB / 311.2 MB, free: 51.86 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem_Variation1): time 0.004684/0.004721, allocations: 2.436 MB / 313.6 MB, free: 50.27 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001477/0.006198, allocations: 0.6714 MB / 314.3 MB, free: 49.8 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000212/0.00641, allocations: 9.312 kB / 314.3 MB, free: 49.8 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001619/0.006572, allocations: 31.42 kB / 314.3 MB, free: 49.78 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002373/0.006809, allocations: 82.5 kB / 314.4 MB, free: 49.72 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000309/0.007118, allocations: 72.7 kB / 314.5 MB, free: 49.68 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004515/0.00757, allocations: 306.8 kB / 314.8 MB, free: 49.52 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001962/0.007766, allocations: 69.27 kB / 314.8 MB, free: 49.5 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003293/0.008095, allocations: 173.1 kB / 315 MB, free: 49.43 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001964/0.008292, allocations: 99.72 kB / 315.1 MB, free: 49.39 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.816e-05/0.00835, allocations: 25.88 kB / 315.1 MB, free: 49.39 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.72e-05/0.008407, allocations: 23.84 kB / 315.1 MB, free: 49.39 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.178e-05/0.008459, allocations: 53.39 kB / 315.2 MB, free: 49.36 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.649e-05/0.008555, allocations: 90.33 kB / 315.3 MB, free: 49.32 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003026/0.008858, allocations: 204.5 kB / 315.5 MB, free: 49.21 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.008862, allocations: 1.375 kB / 315.5 MB, free: 49.21 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.008863, allocations: 0 / 315.5 MB, free: 49.21 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.584e-06/0.008871, allocations: 2.969 kB / 315.5 MB, free: 49.21 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.0008062/0.009677, allocations: 0.5949 MB / 316.1 MB, free: 48.64 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.009718, allocations: 11.98 kB / 316.1 MB, free: 48.63 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.579e-05/0.009804, allocations: 48.75 kB / 316.1 MB, free: 48.58 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002384/0.01004, allocations: 194.2 kB / 316.3 MB, free: 48.37 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.028e-05/0.01006, allocations: 24.81 kB / 316.3 MB, free: 48.34 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.38e-05/0.01011, allocations: 24.38 kB / 316.4 MB, free: 48.32 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002857/0.01039, allocations: 161.3 kB / 316.5 MB, free: 48.15 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.759e-05/0.01041, allocations: 4.188 kB / 316.5 MB, free: 48.15 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.138e-05/0.01043, allocations: 15.92 kB / 316.5 MB, free: 48.14 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.01044, allocations: 7.938 kB / 316.6 MB, free: 48.13 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000138/0.01058, allocations: 72.05 kB / 316.6 MB, free: 48.06 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007885/0.01137, allocations: 0.5413 MB / 317.2 MB, free: 47.49 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002966/0.01166, allocations: 142.9 kB / 317.3 MB, free: 47.34 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.871e-05/0.01174, allocations: 55.66 kB / 317.4 MB, free: 47.28 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.557e-05/0.01176, allocations: 4 kB / 317.4 MB, free: 47.28 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000179/0.01194, allocations: 123.2 kB / 317.5 MB, free: 47.15 MB / 282.7 MB Notification: Performance of pre-optimization done (n=27): time 2.304e-06/0.01194, allocations: 0 / 317.5 MB, free: 47.15 MB / 282.7 MB Notification: Performance of matching and sorting (n=32): time 0.00109/0.01303, allocations: 0.6991 MB / 318.2 MB, free: 46.39 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.553e-05/0.01305, allocations: 63.34 kB / 318.2 MB, free: 46.32 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/0.01316, allocations: 230.8 kB / 318.5 MB, free: 46.07 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.909e-05/0.01318, allocations: 29.7 kB / 318.5 MB, free: 46.04 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.072e-05/0.01325, allocations: 191.5 kB / 318.7 MB, free: 45.84 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.978e-05/0.01331, allocations: 103.1 kB / 318.8 MB, free: 45.74 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.821e-05/0.01339, allocations: 71.27 kB / 318.9 MB, free: 45.66 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.2e-05/0.01346, allocations: 0.5117 MB / 319.4 MB, free: 45.14 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.56e-05/0.01353, allocations: 58 kB / 319.4 MB, free: 45.07 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.881e-05/0.01362, allocations: 101.6 kB / 319.5 MB, free: 44.96 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002276/0.01385, allocations: 235.8 kB / 319.8 MB, free: 44.7 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.01385, allocations: 0 / 319.8 MB, free: 44.7 MB / 282.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.000287/0.01414, allocations: 264.3 kB / 320 MB, free: 44.42 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.042e-05/0.01417, allocations: 33.7 kB / 320 MB, free: 44.38 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.01418, allocations: 0 / 320 MB, free: 44.38 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.01419, allocations: 0 / 320 MB, free: 44.38 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002366/0.01443, allocations: 79.89 kB / 320.1 MB, free: 44.3 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.01443, allocations: 0 / 320.1 MB, free: 44.3 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001267/0.01456, allocations: 23.98 kB / 320.1 MB, free: 44.28 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.804e-05/0.01458, allocations: 12 kB / 320.2 MB, free: 44.27 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.0001601/0.01474, allocations: 189.1 kB / 320.3 MB, free: 44.08 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.982e-05/0.01478, allocations: 31.86 kB / 320.4 MB, free: 44.05 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.87e-05/0.01483, allocations: 34.64 kB / 320.4 MB, free: 44.02 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.379e-06/0.01483, allocations: 4 kB / 320.4 MB, free: 44.02 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.01484, allocations: 4 kB / 320.4 MB, free: 44.02 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.01484, allocations: 0 / 320.4 MB, free: 44.02 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006355/0.01548, allocations: 0.587 MB / 321 MB, free: 43.38 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.01548, allocations: 0 / 321 MB, free: 43.38 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002382/0.01572, allocations: 67.91 kB / 321.1 MB, free: 43.32 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.01572, allocations: 0 / 321.1 MB, free: 43.32 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.219e-05/0.01574, allocations: 19.98 kB / 321.1 MB, free: 43.3 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.01575, allocations: 0 / 321.1 MB, free: 43.3 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.01575, allocations: 0 / 321.1 MB, free: 43.3 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003929/0.01614, allocations: 420.1 kB / 321.5 MB, free: 42.86 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.964e-05/0.01617, allocations: 19.86 kB / 321.5 MB, free: 42.84 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.085e-05/0.0162, allocations: 15.92 kB / 321.5 MB, free: 42.82 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001619/0.01636, allocations: 12 kB / 321.5 MB, free: 42.81 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.224e-05/0.01644, allocations: 27.94 kB / 321.6 MB, free: 42.78 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.605e-05/0.01645, allocations: 12 kB / 321.6 MB, free: 42.77 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.694e-05/0.01651, allocations: 156.4 kB / 321.7 MB, free: 42.62 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01651, allocations: 4 kB / 321.7 MB, free: 42.61 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003128/0.01682, allocations: 60 kB / 321.8 MB, free: 42.55 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 0.0001133/0.01693, allocations: 116.6 kB / 321.9 MB, free: 42.43 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002728/0.01721, allocations: 228.9 kB / 322.1 MB, free: 42.19 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.01721, allocations: 0 / 322.1 MB, free: 42.19 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001241/0.01733, allocations: 87.5 kB / 322.2 MB, free: 42.1 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004004/0.01773, allocations: 63.48 kB / 322.3 MB, free: 42.04 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001707/0.01944, allocations: 0.688 MB / 323 MB, free: 41.32 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.619e-05/0.0195, allocations: 88.69 kB / 323.1 MB, free: 41.21 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 9.894e-05/0.0196, allocations: 22.3 kB / 323.1 MB, free: 41.19 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001587/0.01976, allocations: 126.2 kB / 323.2 MB, free: 41.07 MB / 282.7 MB Notification: Performance of SimCode: time 9.22e-07/0.01976, allocations: 0 / 323.2 MB, free: 41.07 MB / 282.7 MB Notification: Performance of Templates: time 0.007028/0.02678, allocations: 3.271 MB / 326.5 MB, free: 37.91 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=240 -lv LOG_STATS > ModelicaByExample_ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem_Variation1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.7785759000107646]