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.001428/0.001428, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002309/0.003738, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001267/0.001267, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001798/0.003064, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.077/1.077, allocations: 158.6 MB / 171.2 MB, free: 2.508 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1979/1.275, allocations: 49.5 MB / 220.7 MB, free: 1.352 MB / 218.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.03046/0.03046, allocations: 6.415 MB / 227.8 MB, free: 10.22 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005506/0.03596, allocations: 2.169 MB / 230 MB, free: 8.039 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.464e-06/2.464e-06, allocations: 0 / 231.2 MB, free: 6.848 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.961e-05/3.207e-05, allocations: 6.25 kB / 231.2 MB, free: 6.84 MB / 234.7 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem_Variation1): time 0.004574/0.004606, allocations: 2.493 MB / 233.7 MB, free: 4.328 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001263/0.005869, allocations: 0.6899 MB / 234.4 MB, free: 3.629 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001764/0.006045, allocations: 7.938 kB / 234.4 MB, free: 3.621 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001194/0.006165, allocations: 35.66 kB / 234.4 MB, free: 3.586 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001828/0.006347, allocations: 79.27 kB / 234.5 MB, free: 3.508 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002679/0.006615, allocations: 79.78 kB / 234.6 MB, free: 3.43 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003537/0.006969, allocations: 302.6 kB / 234.9 MB, free: 3.133 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001633/0.007132, allocations: 68.33 kB / 234.9 MB, free: 3.066 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002741/0.007406, allocations: 204.2 kB / 235.1 MB, free: 2.867 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001549/0.007561, allocations: 87.75 kB / 235.2 MB, free: 2.781 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.799e-05/0.007599, allocations: 24 kB / 235.2 MB, free: 2.758 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.23e-05/0.007632, allocations: 24 kB / 235.3 MB, free: 2.734 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.48e-05/0.007676, allocations: 43.81 kB / 235.3 MB, free: 2.691 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 7.254e-05/0.007749, allocations: 71.88 kB / 235.4 MB, free: 2.621 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002503/0.007999, allocations: 183.3 kB / 235.6 MB, free: 2.441 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.418e-05/0.008013, allocations: 0 / 235.6 MB, free: 2.441 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.008015, allocations: 4 kB / 235.6 MB, free: 2.438 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.248e-05/0.008028, allocations: 0 / 235.6 MB, free: 2.438 MB / 234.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.0009033/0.008931, allocations: 0.517 MB / 236.1 MB, free: 1.891 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.985e-05/0.008981, allocations: 8.031 kB / 236.1 MB, free: 1.883 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.401e-05/0.009065, allocations: 36.91 kB / 236.1 MB, free: 1.848 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002878/0.009352, allocations: 169.3 kB / 236.3 MB, free: 1.656 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.361e-05/0.009376, allocations: 24.86 kB / 236.3 MB, free: 1.633 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.74e-05/0.009433, allocations: 28.38 kB / 236.3 MB, free: 1.605 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002856/0.009719, allocations: 169.1 kB / 236.5 MB, free: 1.43 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.545e-05/0.009734, allocations: 7.938 kB / 236.5 MB, free: 1.422 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.873e-05/0.009753, allocations: 11.98 kB / 236.5 MB, free: 1.41 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.009762, allocations: 4 kB / 236.5 MB, free: 1.406 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.002e-05/0.009852, allocations: 63.45 kB / 236.6 MB, free: 1.344 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006432/0.01049, allocations: 410.2 kB / 237 MB, free: 0.9297 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002573/0.01075, allocations: 134.4 kB / 237.1 MB, free: 0.7891 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.845e-05/0.01081, allocations: 44.84 kB / 237.2 MB, free: 0.7422 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.611e-05/0.01083, allocations: 4 kB / 237.2 MB, free: 0.7383 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000217/0.01104, allocations: 117.2 kB / 237.3 MB, free: 0.6133 MB / 234.7 MB Notification: Performance of pre-optimization done (n=27): time 2.385e-06/0.01105, allocations: 0 / 237.3 MB, free: 0.6133 MB / 234.7 MB Notification: Performance of matching and sorting (n=32): time 0.001113/0.01216, allocations: 0.6981 MB / 238 MB, free: 15.86 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.945e-05/0.0122, allocations: 59.34 kB / 238 MB, free: 15.79 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/0.01231, allocations: 166.9 kB / 238.2 MB, free: 15.62 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.882e-05/0.01234, allocations: 33.7 kB / 238.2 MB, free: 15.58 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.234e-05/0.01241, allocations: 128.8 kB / 238.4 MB, free: 15.45 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.861e-05/0.01248, allocations: 119 kB / 238.5 MB, free: 15.33 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.521e-05/0.01254, allocations: 57.66 kB / 238.5 MB, free: 15.27 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.304e-05/0.01264, allocations: 330.8 kB / 238.9 MB, free: 14.94 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.77e-05/0.0127, allocations: 54.02 kB / 238.9 MB, free: 14.88 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.474e-05/0.01278, allocations: 105 kB / 239 MB, free: 14.76 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001861/0.01297, allocations: 219.2 kB / 239.2 MB, free: 14.52 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.01297, allocations: 4 kB / 239.2 MB, free: 14.52 MB / 250.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0001997/0.01317, allocations: 216.7 kB / 239.4 MB, free: 14.29 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.361e-05/0.01321, allocations: 33.69 kB / 239.5 MB, free: 14.25 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.01322, allocations: 4 kB / 239.5 MB, free: 14.25 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.01324, allocations: 4.062 kB / 239.5 MB, free: 14.24 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002329/0.01347, allocations: 91.83 kB / 239.6 MB, free: 14.15 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.01348, allocations: 4 kB / 239.6 MB, free: 14.15 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.232e-05/0.01356, allocations: 15.98 kB / 239.6 MB, free: 14.13 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.367e-05/0.01357, allocations: 8 kB / 239.6 MB, free: 14.12 MB / 250.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.0001828/0.01376, allocations: 163.8 kB / 239.8 MB, free: 13.95 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.585e-05/0.01378, allocations: 19.98 kB / 239.8 MB, free: 13.93 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.277e-05/0.01382, allocations: 26.66 kB / 239.8 MB, free: 13.91 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.207e-06/0.01383, allocations: 7.938 kB / 239.8 MB, free: 13.9 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.01383, allocations: 3.984 kB / 239.8 MB, free: 13.89 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.01384, allocations: 0 / 239.8 MB, free: 13.89 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005108/0.01435, allocations: 451.8 kB / 240.3 MB, free: 13.41 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.01435, allocations: 0 / 240.3 MB, free: 13.41 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001969/0.01455, allocations: 79.89 kB / 240.3 MB, free: 13.34 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.539e-05/0.01457, allocations: 15.86 kB / 240.3 MB, free: 13.32 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.093e-06/0.01458, allocations: 4 kB / 240.4 MB, free: 13.32 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.929e-05/0.0146, allocations: 11.97 kB / 240.4 MB, free: 13.3 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.347e-06/0.0146, allocations: 4 kB / 240.4 MB, free: 13.3 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.01461, allocations: 64 / 240.4 MB, free: 13.3 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002981/0.0149, allocations: 325.8 kB / 240.7 MB, free: 12.96 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.411e-05/0.01493, allocations: 15.92 kB / 240.7 MB, free: 12.95 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.619e-05/0.01501, allocations: 15.98 kB / 240.7 MB, free: 12.93 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.776e-05/0.01508, allocations: 23.95 kB / 240.7 MB, free: 12.91 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.024e-05/0.01509, allocations: 8 kB / 240.7 MB, free: 12.9 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.908e-05/0.01514, allocations: 46.06 kB / 240.8 MB, free: 12.85 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01514, allocations: 0 / 240.8 MB, free: 12.85 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002162/0.01536, allocations: 60 kB / 240.9 MB, free: 12.79 MB / 250.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.0001408/0.0155, allocations: 96.36 kB / 240.9 MB, free: 12.69 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.000251/0.01575, allocations: 221.8 kB / 241.2 MB, free: 12.45 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.102e-05/0.01576, allocations: 4 kB / 241.2 MB, free: 12.45 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001144/0.01587, allocations: 100.7 kB / 241.3 MB, free: 12.35 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005812/0.01646, allocations: 0.5125 MB / 241.8 MB, free: 11.73 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003171/0.01963, allocations: 0.6091 MB / 242.4 MB, free: 11.09 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.233e-05/0.01969, allocations: 92.67 kB / 242.5 MB, free: 10.98 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 8.973e-05/0.01978, allocations: 22.33 kB / 242.5 MB, free: 10.95 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001357/0.01991, allocations: 99.34 kB / 242.6 MB, free: 10.86 MB / 250.7 MB Notification: Performance of SimCode: time 8.22e-07/0.01992, allocations: 0 / 242.6 MB, free: 10.86 MB / 250.7 MB Notification: Performance of Templates: time 0.005656/0.02557, allocations: 3.269 MB / 245.9 MB, free: 7.578 MB / 250.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.8966716825962067]