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] "[:1:22-1:33:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 13743895347 into a real Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0002941/0.0002941, allocations: 0 / 0, free: 0 / 0 " [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.0002272/0.0002272, allocations: 0 / 0, free: 0 / 0 " [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.0516/0.0516, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] 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.0386/0.0386, allocations: 0 / 0, free: 0 / 0 " [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: simulate(ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem_Variation1,startTime=0,stopTime=4,tolerance=1e-06,numberOfIntervals=2500,outputFormat="empty",variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem_Variation1",simflags="-abortSlowSimulation -alarm=240 -lv LOG_STATS") simulate(ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem_Variation1,startTime=0,stopTime=4,tolerance=1e-06,numberOfIntervals=2500,outputFormat="empty",variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem_Variation1",simflags="-abortSlowSimulation -alarm=240 -lv LOG_STATS") [Timeout 900] "Notification: Performance of FrontEnd - loaded program: time 7.81e-07/7.81e-07, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 1.012e-05/1.09e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem_Variation1): time 0.001868/0.001879, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.0007473/0.002626, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 7.648e-05/0.002703, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.0001041/0.002807, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.0001219/0.002929, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.0001392/0.003068, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.0001623/0.00323, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 8.466e-05/0.003315, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.000141/0.003456, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 8.649e-05/0.003542, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 2.53e-05/0.003568, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 1.959e-05/0.003587, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 3.896e-05/0.003626, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 5.378e-05/0.00368, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.0001451/0.003825, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 2.179e-05/0.003847, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 7.71e-07/0.003848, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 5.29e-06/0.003853, allocations: 0 / 0, free: 0 / 0 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.0005392/0.004392, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.004435, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 6.062e-05/0.004496, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001579/0.004654, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.558e-05/0.004679, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 3.577e-05/0.004715, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002001/0.004915, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.004927, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.059e-05/0.004948, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.096e-06/0.004951, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 8.064e-05/0.005032, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004395/0.005471, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.0001731/0.005644, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 4.179e-05/0.005686, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 8.386e-06/0.005694, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.987e-05/0.005794, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=27): time 2.094e-06/0.005796, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=32): time 0.0008411/0.006637, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 2.123e-05/0.006659, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.453e-05/0.006703, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 2.484e-05/0.006728, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 2.965e-05/0.006758, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 3.973e-05/0.006797, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 5.009e-05/0.006848, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 1.77e-05/0.006865, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 3.782e-05/0.006903, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 4.921e-05/0.006952, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.0001236/0.007076, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.007078, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=40) (initialization): time 0.0001393/0.007217, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.007232, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.985e-06/0.007235, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.00725, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001489/0.007399, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.007404, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.198e-05/0.007465, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.695e-05/0.007482, allocations: 0 / 0, free: 0 / 0 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 9.555e-05/0.007578, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 1.913e-05/0.007597, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.885e-05/0.007626, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.007628, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.007633, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.007636, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003181/0.007954, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.007956, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001285/0.008085, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 2.756e-06/0.008088, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.67e-05/0.008104, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.008107, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.008108, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002032/0.008311, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 2.227e-05/0.008334, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.312e-05/0.008377, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.051e-05/0.008447, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 6.102e-05/0.008508, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.628e-06/0.008518, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 2.562e-05/0.008544, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 2.294e-06/0.008546, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.0001784/0.008724, allocations: 0 / 0, free: 0 / 0 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.83e-05/0.008813, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.0001781/0.008991, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.008994, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 5.774e-05/0.009052, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003093/0.009361, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008171/0.01018, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 3.985e-05/0.01022, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 6.337e-05/0.01028, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001069/0.01039, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 1.241e-05/0.0104, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.001129/0.01153, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 900] [Calling sys.exit(0), Time elapsed: 0.5898978598415852]