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.0009002/0.0009002, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001747/0.001747, allocations: 177 kB / 23.36 MB, free: 1.125 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.8603/0.8603, allocations: 158.6 MB / 185.2 MB, free: 2.711 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.0275/0.0275, allocations: 6.42 MB / 244 MB, free: 8.602 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.534e-06/2.534e-06, allocations: 0 / 262.1 MB, free: 6.477 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.476e-05/2.729e-05, allocations: 6.25 kB / 262.1 MB, free: 6.469 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem_Variation1): time 0.002861/0.002889, allocations: 2.438 MB / 264.5 MB, free: 4.008 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001076/0.003965, allocations: 0.6821 MB / 265.2 MB, free: 3.316 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001137/0.004079, allocations: 11.94 kB / 265.2 MB, free: 3.305 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001361/0.004215, allocations: 31.66 kB / 265.3 MB, free: 3.273 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001439/0.004359, allocations: 79.22 kB / 265.3 MB, free: 3.195 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002229/0.004582, allocations: 79.77 kB / 265.4 MB, free: 3.117 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000255/0.004837, allocations: 310.5 kB / 265.7 MB, free: 2.812 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001292/0.004966, allocations: 68.31 kB / 265.8 MB, free: 2.746 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001765/0.005142, allocations: 171.6 kB / 266 MB, free: 2.578 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001373/0.00528, allocations: 95.75 kB / 266 MB, free: 2.484 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.569e-05/0.005335, allocations: 28 kB / 266.1 MB, free: 2.457 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.388e-05/0.005379, allocations: 24 kB / 266.1 MB, free: 2.434 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.278e-05/0.005442, allocations: 59.75 kB / 266.2 MB, free: 2.375 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001035/0.005546, allocations: 87.81 kB / 266.2 MB, free: 2.289 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002171/0.005763, allocations: 203.2 kB / 266.4 MB, free: 2.09 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.005766, allocations: 3.984 kB / 266.4 MB, free: 2.086 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.005767, allocations: 0 / 266.4 MB, free: 2.086 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.617e-06/0.005771, allocations: 0 / 266.4 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.000582/0.006353, allocations: 485.8 kB / 266.9 MB, free: 1.582 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.909e-05/0.006382, allocations: 11.98 kB / 266.9 MB, free: 1.57 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.908e-05/0.006431, allocations: 32.91 kB / 267 MB, free: 1.539 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000177/0.006608, allocations: 165.4 kB / 267.1 MB, free: 1.352 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/0.006624, allocations: 16.88 kB / 267.1 MB, free: 1.336 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.768e-05/0.006661, allocations: 32.31 kB / 267.2 MB, free: 1.305 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001991/0.006861, allocations: 165.3 kB / 267.3 MB, free: 1.133 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.006873, allocations: 4.172 kB / 267.3 MB, free: 1.129 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.499e-05/0.006888, allocations: 12.38 kB / 267.3 MB, free: 1.117 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.006895, allocations: 11.94 kB / 267.4 MB, free: 1.105 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.942e-05/0.006974, allocations: 59.45 kB / 267.4 MB, free: 1.047 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005277/0.007502, allocations: 418.2 kB / 267.8 MB, free: 0.6211 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002005/0.007703, allocations: 126.5 kB / 267.9 MB, free: 500 kB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.198e-05/0.007755, allocations: 52.78 kB / 268 MB, free: 444 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.117e-05/0.007766, allocations: 7.938 kB / 268 MB, free: 436 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001244/0.00789, allocations: 109.2 kB / 268.1 MB, free: 316 kB / 250.7 MB Notification: Performance of pre-optimization done (n=27): time 1.553e-06/0.007892, allocations: 7.938 kB / 268.1 MB, free: 308 kB / 250.7 MB Notification: Performance of matching and sorting (n=32): time 0.0008465/0.008738, allocations: 0.6786 MB / 268.8 MB, free: 15.57 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.277e-05/0.008771, allocations: 55.41 kB / 268.9 MB, free: 15.5 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.765e-05/0.008859, allocations: 170.8 kB / 269 MB, free: 15.32 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.008876, allocations: 33.7 kB / 269.1 MB, free: 15.29 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.374e-05/0.00893, allocations: 128.8 kB / 269.2 MB, free: 15.15 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.327e-05/0.008983, allocations: 119 kB / 269.3 MB, free: 15.04 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.647e-05/0.00904, allocations: 57.66 kB / 269.4 MB, free: 14.97 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.053e-05/0.00912, allocations: 330.7 kB / 269.7 MB, free: 14.64 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.393e-05/0.009174, allocations: 54.02 kB / 269.7 MB, free: 14.58 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.4e-05/0.009238, allocations: 97.14 kB / 269.8 MB, free: 14.47 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001667/0.009405, allocations: 227.2 kB / 270 MB, free: 14.23 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.009406, allocations: 0 / 270 MB, free: 14.23 MB / 266.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0001754/0.009582, allocations: 212.7 kB / 270.3 MB, free: 14 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.76e-05/0.009609, allocations: 29.7 kB / 270.3 MB, free: 13.96 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.009615, allocations: 4 kB / 270.3 MB, free: 13.96 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.009626, allocations: 0 / 270.3 MB, free: 13.96 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001536/0.00978, allocations: 79.89 kB / 270.4 MB, free: 13.88 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.009785, allocations: 4 kB / 270.4 MB, free: 13.88 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.403e-05/0.009859, allocations: 20.05 kB / 270.4 MB, free: 13.86 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.415e-05/0.009873, allocations: 15.94 kB / 270.4 MB, free: 13.84 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: 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.0001358/0.01001, allocations: 151.9 kB / 270.6 MB, free: 13.69 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.453e-05/0.01003, allocations: 19.98 kB / 270.6 MB, free: 13.67 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.775e-05/0.01007, allocations: 38.58 kB / 270.6 MB, free: 13.63 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.01007, allocations: 4 kB / 270.6 MB, free: 13.63 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.01008, allocations: 0 / 270.6 MB, free: 13.63 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.01008, allocations: 0 / 270.6 MB, free: 13.63 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004211/0.0105, allocations: 447.8 kB / 271.1 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.0105, allocations: 0 / 271.1 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001508/0.01065, allocations: 63.95 kB / 271.1 MB, free: 13.09 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.01066, allocations: 64 / 271.1 MB, free: 13.09 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.01067, allocations: 19.88 kB / 271.1 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.01067, allocations: 3.938 kB / 271.1 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.01067, allocations: 0 / 271.1 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002439/0.01092, allocations: 318.1 kB / 271.4 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.012e-05/0.01094, allocations: 23.86 kB / 271.5 MB, free: 12.71 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.191e-05/0.01096, allocations: 11.94 kB / 271.5 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.421e-05/0.01104, allocations: 15.98 kB / 271.5 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.011e-05/0.01109, allocations: 27.89 kB / 271.5 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.617e-06/0.0111, allocations: 4 kB / 271.5 MB, free: 12.65 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.251e-05/0.01114, allocations: 50.06 kB / 271.6 MB, free: 12.6 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01114, allocations: 0 / 271.6 MB, free: 12.6 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001706/0.01131, allocations: 64 kB / 271.6 MB, free: 12.54 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: 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.942e-05/0.0114, allocations: 88.41 kB / 271.7 MB, free: 12.45 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001922/0.01159, allocations: 218.1 kB / 271.9 MB, free: 12.21 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.01159, allocations: 4 kB / 271.9 MB, free: 12.21 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.689e-05/0.01167, allocations: 80.67 kB / 272 MB, free: 12.12 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002212/0.01189, allocations: 56.2 kB / 272.1 MB, free: 12.07 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001084/0.01297, allocations: 0.6243 MB / 272.7 MB, free: 11.41 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.123e-05/0.01303, allocations: 88.67 kB / 272.8 MB, free: 11.3 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.707e-05/0.01309, allocations: 22.3 kB / 272.8 MB, free: 11.27 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001211/0.01321, allocations: 107.3 kB / 272.9 MB, free: 11.17 MB / 266.7 MB Notification: Performance of SimCode: time 7.02e-07/0.01321, allocations: 0 / 272.9 MB, free: 11.17 MB / 266.7 MB Notification: Performance of Templates: time 0.004803/0.01802, allocations: 3.157 MB / 276.1 MB, free: 8.012 MB / 266.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.5353716290555894]