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.001139/0.001139, allocations: 80.94 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.001269/0.001269, allocations: 173 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.9375/0.9375, allocations: 158.6 MB / 185.3 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.04684/0.04684, allocations: 6.419 MB / 244 MB, free: 8.617 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 1.533e-06/1.533e-06, allocations: 0 / 262.1 MB, free: 6.434 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.296e-05/1.45e-05, allocations: 2.312 kB / 262.1 MB, free: 6.43 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem): time 0.00263/0.002645, allocations: 2.473 MB / 264.6 MB, free: 3.934 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009322/0.003577, allocations: 0.6432 MB / 265.3 MB, free: 3.281 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001061/0.003683, allocations: 4 kB / 265.3 MB, free: 3.277 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001102/0.003793, allocations: 35.53 kB / 265.3 MB, free: 3.242 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001231/0.003917, allocations: 83.33 kB / 265.4 MB, free: 3.16 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001931/0.00411, allocations: 67.84 kB / 265.4 MB, free: 3.094 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000268/0.004378, allocations: 302.6 kB / 265.7 MB, free: 2.797 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001395/0.004517, allocations: 68.31 kB / 265.8 MB, free: 2.73 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001858/0.004703, allocations: 175.5 kB / 266 MB, free: 2.559 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001146/0.004818, allocations: 91.73 kB / 266.1 MB, free: 2.469 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.422e-05/0.004852, allocations: 24 kB / 266.1 MB, free: 2.445 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.81e-05/0.00488, allocations: 24 kB / 266.1 MB, free: 2.422 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.045e-05/0.00492, allocations: 51.77 kB / 266.2 MB, free: 2.371 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.709e-05/0.004997, allocations: 91.8 kB / 266.3 MB, free: 2.281 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002014/0.005199, allocations: 191.3 kB / 266.4 MB, free: 2.094 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.005201, allocations: 7.938 kB / 266.5 MB, free: 2.086 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.31e-07/0.005202, allocations: 0 / 266.5 MB, free: 2.086 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.397e-06/0.005205, allocations: 0 / 266.5 MB, free: 2.086 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.0005346/0.00574, allocations: 481.9 kB / 266.9 MB, free: 1.586 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.14e-05/0.005771, allocations: 11.98 kB / 266.9 MB, free: 1.574 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.777e-05/0.005819, allocations: 32.91 kB / 267 MB, free: 1.543 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000188/0.006007, allocations: 170.1 kB / 267.1 MB, free: 1.352 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/0.006021, allocations: 12.88 kB / 267.1 MB, free: 1.34 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.253e-05/0.006054, allocations: 32.31 kB / 267.2 MB, free: 1.309 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002027/0.006257, allocations: 165.3 kB / 267.3 MB, free: 1.137 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.628e-05/0.006273, allocations: 8.141 kB / 267.3 MB, free: 1.129 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.006286, allocations: 8.375 kB / 267.4 MB, free: 1.121 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.786e-06/0.006295, allocations: 7.938 kB / 267.4 MB, free: 1.113 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.463e-05/0.00638, allocations: 63.45 kB / 267.4 MB, free: 1.051 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005273/0.006907, allocations: 437.5 kB / 267.9 MB, free: 0.6016 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000212/0.007119, allocations: 138.3 kB / 268 MB, free: 468 kB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.203e-05/0.007171, allocations: 48.83 kB / 268 MB, free: 416 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.253e-05/0.007184, allocations: 4 kB / 268 MB, free: 412 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001296/0.007313, allocations: 103.3 kB / 268.1 MB, free: 296 kB / 250.7 MB Notification: Performance of pre-optimization done (n=25): time 1.343e-06/0.007315, allocations: 0 / 268.1 MB, free: 296 kB / 250.7 MB Notification: Performance of matching and sorting (n=29): time 0.0008384/0.008153, allocations: 0.629 MB / 268.8 MB, free: 15.61 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.492e-05/0.008188, allocations: 63.34 kB / 268.8 MB, free: 15.54 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.38e-05/0.008282, allocations: 162.8 kB / 269 MB, free: 15.36 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.715e-05/0.008299, allocations: 33.7 kB / 269 MB, free: 15.32 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.753e-05/0.008357, allocations: 136.7 kB / 269.2 MB, free: 15.18 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.078e-05/0.008407, allocations: 99.09 kB / 269.3 MB, free: 15.09 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.341e-05/0.008461, allocations: 53.67 kB / 269.3 MB, free: 15.03 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.307e-05/0.008554, allocations: 334.7 kB / 269.6 MB, free: 14.69 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.051e-05/0.008604, allocations: 61.69 kB / 269.7 MB, free: 14.62 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.114e-05/0.008665, allocations: 87.23 kB / 269.8 MB, free: 14.53 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001728/0.008838, allocations: 197.8 kB / 270 MB, free: 14.32 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-06/0.008839, allocations: 0 / 270 MB, free: 14.32 MB / 266.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0001608/0.009, allocations: 198 kB / 270.2 MB, free: 14.11 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.583e-05/0.009026, allocations: 37.69 kB / 270.2 MB, free: 14.06 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-06/0.00903, allocations: 0 / 270.2 MB, free: 14.06 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.009042, allocations: 4 kB / 270.2 MB, free: 14.06 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002186/0.009261, allocations: 79.92 kB / 270.3 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.009266, allocations: 4 kB / 270.3 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.355e-05/0.009339, allocations: 19.92 kB / 270.3 MB, free: 13.96 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/0.009351, allocations: 8 kB / 270.3 MB, free: 13.95 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.000131/0.009482, allocations: 148.1 kB / 270.5 MB, free: 13.8 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.313e-05/0.009505, allocations: 27.97 kB / 270.5 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.924e-05/0.009534, allocations: 22.66 kB / 270.5 MB, free: 13.75 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.726e-06/0.009537, allocations: 4 kB / 270.5 MB, free: 13.75 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.009539, allocations: 0 / 270.5 MB, free: 13.75 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.072e-06/0.009545, allocations: 7.922 kB / 270.5 MB, free: 13.74 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003671/0.009912, allocations: 392.5 kB / 270.9 MB, free: 13.32 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.009915, allocations: 4.062 kB / 270.9 MB, free: 13.32 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001716/0.01009, allocations: 79.83 kB / 271 MB, free: 13.24 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.01009, allocations: 3.938 kB / 271 MB, free: 13.24 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/0.0101, allocations: 8 kB / 271 MB, free: 13.23 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.0101, allocations: 0 / 271 MB, free: 13.23 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.0101, allocations: 0 / 271 MB, free: 13.23 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002882/0.01039, allocations: 290.4 kB / 271.3 MB, free: 12.93 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.958e-05/0.01041, allocations: 27.8 kB / 271.3 MB, free: 12.9 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.318e-05/0.01044, allocations: 12 kB / 271.3 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.886e-05/0.01051, allocations: 12.03 kB / 271.3 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.318e-05/0.01057, allocations: 31.94 kB / 271.4 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.985e-06/0.01058, allocations: 4 kB / 271.4 MB, free: 12.84 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.099e-05/0.01061, allocations: 46 kB / 271.4 MB, free: 12.79 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01061, allocations: 4 kB / 271.4 MB, free: 12.79 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000171/0.01078, allocations: 60 kB / 271.5 MB, free: 12.73 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 7.113e-05/0.01085, allocations: 88.34 kB / 271.6 MB, free: 12.64 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001838/0.01103, allocations: 207 kB / 271.8 MB, free: 12.41 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.01104, allocations: 7.938 kB / 271.8 MB, free: 12.41 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.237e-05/0.01111, allocations: 76.75 kB / 271.8 MB, free: 12.33 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000209/0.01132, allocations: 51.89 kB / 271.9 MB, free: 12.28 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001035/0.01235, allocations: 0.6089 MB / 272.5 MB, free: 11.63 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.646e-05/0.01241, allocations: 88.11 kB / 272.6 MB, free: 11.53 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.288e-05/0.01248, allocations: 26.27 kB / 272.6 MB, free: 11.5 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001214/0.0126, allocations: 107.3 kB / 272.7 MB, free: 11.39 MB / 266.7 MB Notification: Performance of SimCode: time 7.32e-07/0.0126, allocations: 0 / 272.7 MB, free: 11.39 MB / 266.7 MB Notification: Performance of Templates: time 0.004697/0.0173, allocations: 3.107 MB / 275.8 MB, free: 8.285 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ModelicaByExample_ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.538084547035396]