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.0009928/0.0009928, allocations: 93.06 kB / 19.65 MB, free: 280 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.0009712/0.0009712, allocations: 169.3 kB / 23.02 MB, free: 1.551 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.9411/0.9411, allocations: 158.6 MB / 184.9 MB, free: 2.914 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.0287/0.0287, allocations: 6.402 MB / 243.6 MB, free: 8.723 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.324e-06/2.324e-06, allocations: 0 / 310.7 MB, free: 52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.271e-05/2.504e-05, allocations: 2.875 kB / 310.7 MB, free: 52 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem_Variation1): time 0.002689/0.002714, allocations: 2.449 MB / 313.2 MB, free: 50.41 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001012/0.003726, allocations: 0.6765 MB / 313.8 MB, free: 49.95 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001259/0.003852, allocations: 9.531 kB / 313.8 MB, free: 49.94 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001313/0.003983, allocations: 38.25 kB / 313.9 MB, free: 49.91 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001367/0.00412, allocations: 75.48 kB / 314 MB, free: 49.86 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002542/0.004374, allocations: 78.3 kB / 314 MB, free: 49.82 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002858/0.00466, allocations: 311.3 kB / 314.3 MB, free: 49.66 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000154/0.004814, allocations: 67.14 kB / 314.4 MB, free: 49.63 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002044/0.005018, allocations: 168.7 kB / 314.6 MB, free: 49.56 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001218/0.00514, allocations: 97.33 kB / 314.7 MB, free: 49.53 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.678e-05/0.005177, allocations: 26.28 kB / 314.7 MB, free: 49.53 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.296e-05/0.00521, allocations: 23.34 kB / 314.7 MB, free: 49.53 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.065e-05/0.00525, allocations: 57.09 kB / 314.8 MB, free: 49.49 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.299e-05/0.005333, allocations: 89.84 kB / 314.9 MB, free: 49.45 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002404/0.005574, allocations: 196.8 kB / 315 MB, free: 49.36 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.005577, allocations: 1.375 kB / 315 MB, free: 49.36 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.005578, allocations: 0 / 315 MB, free: 49.36 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.005583, allocations: 3.031 kB / 315 MB, free: 49.36 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.0006469/0.00623, allocations: 0.5939 MB / 315.6 MB, free: 48.85 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.244e-05/0.006262, allocations: 13.58 kB / 315.7 MB, free: 48.84 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.115e-05/0.006333, allocations: 44.97 kB / 315.7 MB, free: 48.82 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002293/0.006563, allocations: 203.1 kB / 315.9 MB, free: 48.64 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.829e-05/0.006581, allocations: 18.5 kB / 315.9 MB, free: 48.63 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.49e-05/0.006626, allocations: 26.44 kB / 315.9 MB, free: 48.61 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002464/0.006872, allocations: 177.3 kB / 316.1 MB, free: 48.43 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.006886, allocations: 192 / 316.1 MB, free: 48.43 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.671e-05/0.006903, allocations: 8.375 kB / 316.1 MB, free: 48.42 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.739e-06/0.006912, allocations: 11.88 kB / 316.1 MB, free: 48.41 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001269/0.007039, allocations: 101.3 kB / 316.2 MB, free: 48.31 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006179/0.007657, allocations: 0.5812 MB / 316.8 MB, free: 47.7 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003229/0.00798, allocations: 148.8 kB / 317 MB, free: 47.54 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001107/0.008091, allocations: 63.66 kB / 317 MB, free: 47.47 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.654e-05/0.008107, allocations: 4 kB / 317 MB, free: 47.47 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002023/0.00831, allocations: 129.1 kB / 317.2 MB, free: 47.33 MB / 282.7 MB Notification: Performance of pre-optimization done (n=27): time 2.325e-06/0.008312, allocations: 0 / 317.2 MB, free: 47.33 MB / 282.7 MB Notification: Performance of matching and sorting (n=32): time 0.001136/0.009448, allocations: 0.7828 MB / 317.9 MB, free: 46.49 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.57e-05/0.009474, allocations: 67.39 kB / 318 MB, free: 46.41 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.666e-05/0.00956, allocations: 218.8 kB / 318.2 MB, free: 46.18 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.39e-05/0.009574, allocations: 37.69 kB / 318.3 MB, free: 46.14 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.045e-05/0.009625, allocations: 191.5 kB / 318.4 MB, free: 45.95 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.052e-05/0.009665, allocations: 111.1 kB / 318.5 MB, free: 45.84 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.646e-05/0.009722, allocations: 59.36 kB / 318.6 MB, free: 45.77 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.485e-05/0.009767, allocations: 0.5001 MB / 319.1 MB, free: 45.26 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.802e-05/0.009845, allocations: 74 kB / 319.2 MB, free: 45.18 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.392e-05/0.009928, allocations: 113.7 kB / 319.3 MB, free: 45.05 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002228/0.01015, allocations: 255.8 kB / 319.5 MB, free: 44.77 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.01015, allocations: 0.5625 kB / 319.5 MB, free: 44.77 MB / 282.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002484/0.0104, allocations: 288.3 kB / 319.8 MB, free: 44.47 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.806e-05/0.01043, allocations: 29.7 kB / 319.8 MB, free: 44.43 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.962e-06/0.01044, allocations: 4 kB / 319.9 MB, free: 44.43 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.01045, allocations: 0 / 319.9 MB, free: 44.43 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001724/0.01063, allocations: 75.89 kB / 319.9 MB, free: 44.36 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.01064, allocations: 11.94 kB / 319.9 MB, free: 44.34 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.798e-05/0.01072, allocations: 20.05 kB / 320 MB, free: 44.32 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.445e-05/0.01074, allocations: 12 kB / 320 MB, free: 44.31 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.0001416/0.01088, allocations: 192.4 kB / 320.2 MB, free: 44.12 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.807e-05/0.01091, allocations: 35.8 kB / 320.2 MB, free: 44.09 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.966e-05/0.01095, allocations: 37.28 kB / 320.2 MB, free: 44.06 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.01095, allocations: 4 kB / 320.2 MB, free: 44.05 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.01096, allocations: 0 / 320.2 MB, free: 44.05 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.01096, allocations: 11.86 kB / 320.2 MB, free: 44.04 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005214/0.01148, allocations: 0.6294 MB / 320.9 MB, free: 43.36 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.01149, allocations: 3.938 kB / 320.9 MB, free: 43.36 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001548/0.01164, allocations: 59.97 kB / 320.9 MB, free: 43.3 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.277e-06/0.01165, allocations: 4.062 kB / 320.9 MB, free: 43.29 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/0.01166, allocations: 15.94 kB / 321 MB, free: 43.28 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.01166, allocations: 0 / 321 MB, free: 43.28 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.01166, allocations: 0 / 321 MB, free: 43.28 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003104/0.01197, allocations: 448.1 kB / 321.4 MB, free: 42.81 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.879e-05/0.01199, allocations: 19.84 kB / 321.4 MB, free: 42.79 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.286e-05/0.01202, allocations: 8 kB / 321.4 MB, free: 42.78 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.896e-05/0.0121, allocations: 15.98 kB / 321.4 MB, free: 42.77 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.088e-05/0.01217, allocations: 35.88 kB / 321.5 MB, free: 42.73 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.83e-05/0.01218, allocations: 8 kB / 321.5 MB, free: 42.72 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.419e-05/0.01223, allocations: 164.4 kB / 321.6 MB, free: 42.56 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01223, allocations: 0 / 321.6 MB, free: 42.56 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002037/0.01243, allocations: 64 kB / 321.7 MB, free: 42.5 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 8.1e-05/0.01251, allocations: 111.2 kB / 321.8 MB, free: 42.38 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002508/0.01276, allocations: 244.6 kB / 322 MB, free: 42.12 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.01277, allocations: 0 / 322 MB, free: 42.12 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 9.417e-05/0.01286, allocations: 95.52 kB / 322.1 MB, free: 42.02 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003053/0.01316, allocations: 65.81 kB / 322.2 MB, free: 41.96 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001234/0.0144, allocations: 0.6963 MB / 322.9 MB, free: 41.24 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.023e-05/0.01444, allocations: 92.69 kB / 323 MB, free: 41.13 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.426e-05/0.0145, allocations: 18.3 kB / 323 MB, free: 41.11 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.921e-05/0.01456, allocations: 24.5 kB / 323 MB, free: 41.09 MB / 282.7 MB Notification: Performance of SimCode: time 7.21e-07/0.01456, allocations: 0 / 323 MB, free: 41.09 MB / 282.7 MB Notification: Performance of Templates: time 0.004339/0.0189, allocations: 3 MB / 326 MB, free: 38.19 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: 3.056045107077807]