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.001258/0.001258, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001358/0.001358, allocations: 181 kB / 23.36 MB, free: 1.133 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.844/0.844, allocations: 158.6 MB / 185.2 MB, free: 2.766 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.02713/0.02713, allocations: 6.423 MB / 244 MB, free: 8.609 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.975e-06/2.975e-06, allocations: 3.984 kB / 262.1 MB, free: 6.484 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.935e-05/2.232e-05, allocations: 2.312 kB / 262.1 MB, free: 6.48 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem): time 0.002498/0.00252, allocations: 2.426 MB / 264.5 MB, free: 4.031 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008575/0.003378, allocations: 0.6354 MB / 265.2 MB, free: 3.387 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001/0.003478, allocations: 8 kB / 265.2 MB, free: 3.379 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000112/0.00359, allocations: 39.59 kB / 265.2 MB, free: 3.34 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001187/0.003709, allocations: 79.27 kB / 265.3 MB, free: 3.262 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001775/0.003886, allocations: 67.84 kB / 265.3 MB, free: 3.195 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002249/0.004111, allocations: 302.6 kB / 265.6 MB, free: 2.898 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.004225, allocations: 72.31 kB / 265.7 MB, free: 2.828 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001466/0.004372, allocations: 167.6 kB / 265.9 MB, free: 2.664 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.66e-05/0.004469, allocations: 99.69 kB / 266 MB, free: 2.566 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.683e-05/0.004495, allocations: 28 kB / 266 MB, free: 2.539 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.255e-05/0.004518, allocations: 20 kB / 266 MB, free: 2.52 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.692e-05/0.004555, allocations: 51.81 kB / 266.1 MB, free: 2.469 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.795e-05/0.004623, allocations: 95.75 kB / 266.2 MB, free: 2.375 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001823/0.004805, allocations: 199.2 kB / 266.4 MB, free: 2.18 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.543e-06/0.004807, allocations: 0 / 266.4 MB, free: 2.18 MB / 250.7 MB Notification: Performance of FrontEnd: time 4.5e-07/0.004807, allocations: 0 / 266.4 MB, free: 2.18 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.567e-06/0.004811, allocations: 0 / 266.4 MB, free: 2.18 MB / 250.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.0005488/0.005359, allocations: 481.8 kB / 266.8 MB, free: 1.68 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.15e-05/0.005391, allocations: 15.98 kB / 266.8 MB, free: 1.664 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.9e-05/0.00544, allocations: 36.91 kB / 266.9 MB, free: 1.629 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001675/0.005607, allocations: 162.1 kB / 267 MB, free: 1.445 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.005622, allocations: 16.88 kB / 267.1 MB, free: 1.43 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.288e-05/0.005655, allocations: 24.31 kB / 267.1 MB, free: 1.406 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001895/0.005844, allocations: 173.3 kB / 267.3 MB, free: 1.227 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.005856, allocations: 4.141 kB / 267.3 MB, free: 1.223 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.005869, allocations: 8.375 kB / 267.3 MB, free: 1.215 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.263e-06/0.005877, allocations: 11.94 kB / 267.3 MB, free: 1.203 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.479e-05/0.005961, allocations: 63.45 kB / 267.3 MB, free: 1.141 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000476/0.006437, allocations: 437.5 kB / 267.8 MB, free: 0.6914 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001927/0.00663, allocations: 130.4 kB / 267.9 MB, free: 0.5547 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.822e-05/0.006678, allocations: 48.83 kB / 267.9 MB, free: 0.5039 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.079e-05/0.006689, allocations: 4 kB / 267.9 MB, free: 0.5 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001132/0.006802, allocations: 107.3 kB / 268 MB, free: 392 kB / 250.7 MB Notification: Performance of pre-optimization done (n=25): time 1.292e-06/0.006804, allocations: 0 / 268 MB, free: 392 kB / 250.7 MB Notification: Performance of matching and sorting (n=29): time 0.0007172/0.007521, allocations: 0.629 MB / 268.7 MB, free: 15.7 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.115e-05/0.007552, allocations: 59.34 kB / 268.7 MB, free: 15.63 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.814e-05/0.00763, allocations: 162.9 kB / 268.9 MB, free: 15.46 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.703e-05/0.007647, allocations: 33.7 kB / 268.9 MB, free: 15.42 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.796e-05/0.007695, allocations: 128.8 kB / 269.1 MB, free: 15.29 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.926e-05/0.007744, allocations: 107.1 kB / 269.2 MB, free: 15.18 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.428e-05/0.007799, allocations: 53.67 kB / 269.2 MB, free: 15.12 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.157e-05/0.00787, allocations: 338.7 kB / 269.5 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.582e-05/0.007916, allocations: 53.69 kB / 269.6 MB, free: 14.73 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.444e-05/0.00797, allocations: 87.23 kB / 269.7 MB, free: 14.63 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001446/0.008115, allocations: 197.8 kB / 269.9 MB, free: 14.42 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.008117, allocations: 0 / 269.9 MB, free: 14.42 MB / 266.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0001492/0.008266, allocations: 198 kB / 270.1 MB, free: 14.21 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.323e-05/0.008289, allocations: 37.7 kB / 270.1 MB, free: 14.16 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.008293, allocations: 0 / 270.1 MB, free: 14.16 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.008304, allocations: 0 / 270.1 MB, free: 14.16 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001379/0.008442, allocations: 71.83 kB / 270.2 MB, free: 14.09 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.008446, allocations: 4 kB / 270.2 MB, free: 14.09 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.643e-05/0.008513, allocations: 15.98 kB / 270.2 MB, free: 14.07 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.243e-05/0.008525, allocations: 15.94 kB / 270.2 MB, free: 14.06 MB / 266.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.0001151/0.00864, allocations: 152.1 kB / 270.4 MB, free: 13.9 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.177e-05/0.008662, allocations: 27.97 kB / 270.4 MB, free: 13.88 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.86e-05/0.008691, allocations: 26.66 kB / 270.4 MB, free: 13.85 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.008693, allocations: 3.984 kB / 270.4 MB, free: 13.85 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.008695, allocations: 0 / 270.4 MB, free: 13.85 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.0087, allocations: 11.98 kB / 270.4 MB, free: 13.84 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003434/0.009043, allocations: 392.4 kB / 270.8 MB, free: 13.42 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.009045, allocations: 0 / 270.8 MB, free: 13.42 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001336/0.009178, allocations: 63.91 kB / 270.9 MB, free: 13.36 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.009181, allocations: 4 kB / 270.9 MB, free: 13.35 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-06/0.00919, allocations: 4 kB / 270.9 MB, free: 13.35 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.009195, allocations: 7.938 kB / 270.9 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.009196, allocations: 64 / 270.9 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002059/0.009401, allocations: 294.4 kB / 271.2 MB, free: 13.03 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.063e-05/0.009422, allocations: 23.86 kB / 271.2 MB, free: 13.01 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.855e-05/0.009441, allocations: 11.98 kB / 271.2 MB, free: 13 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.448e-05/0.009515, allocations: 15.94 kB / 271.2 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.366e-05/0.009559, allocations: 23.95 kB / 271.2 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.226e-06/0.009567, allocations: 7.984 kB / 271.3 MB, free: 12.95 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.804e-05/0.009595, allocations: 42.06 kB / 271.3 MB, free: 12.91 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009595, allocations: 0 / 271.3 MB, free: 12.91 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001569/0.009752, allocations: 60 kB / 271.4 MB, free: 12.85 MB / 266.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 6.891e-05/0.009821, allocations: 96.34 kB / 271.4 MB, free: 12.75 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001639/0.009985, allocations: 203 kB / 271.6 MB, free: 12.53 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.009988, allocations: 0 / 271.6 MB, free: 12.53 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.53e-05/0.01005, allocations: 76.75 kB / 271.7 MB, free: 12.45 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000191/0.01024, allocations: 51.95 kB / 271.8 MB, free: 12.4 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009591/0.0112, allocations: 0.6244 MB / 272.4 MB, free: 11.74 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.717e-05/0.01125, allocations: 88.31 kB / 272.5 MB, free: 11.63 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.396e-05/0.0113, allocations: 17.95 kB / 272.5 MB, free: 11.61 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001061/0.01141, allocations: 99.34 kB / 272.6 MB, free: 11.52 MB / 266.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01141, allocations: 3.938 kB / 272.6 MB, free: 11.51 MB / 266.7 MB Notification: Performance of Templates: time 0.004096/0.01551, allocations: 3.03 MB / 275.6 MB, free: 8.48 MB / 266.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=240 -lv LOG_STATS > ModelicaByExample_ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.53777729999274]