Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Systems.EngineThrottleControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica_Synchronous.Examples.Systems.EngineThrottleControl,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Systems_EngineThrottleControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Systems.EngineThrottleControl,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Systems_EngineThrottleControl",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009961/0.0009961, allocations: 174.3 kB / 16.11 MB, free: 5.691 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.131/1.131, allocations: 205 MB / 221.9 MB, free: 9.16 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006485/0.0006485, allocations: 84.19 kB / 269.9 MB, free: 8.684 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.0604/0.0604, allocations: 12.58 MB / 330.4 MB, free: 12.08 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000343/0.000343, allocations: 15.98 kB / 391.2 MB, free: 66.36 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0634/0.06376, allocations: 49.97 MB / 441.1 MB, free: 16.32 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Systems.EngineThrottleControl): time 0.002439/0.06623, allocations: 2.902 MB / 444 MB, free: 13.4 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007881/0.06703, allocations: 0.7007 MB / 444.7 MB, free: 12.7 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001717/0.06721, allocations: 15.94 kB / 444.7 MB, free: 12.68 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001542/0.06738, allocations: 39.56 kB / 444.8 MB, free: 12.64 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001226/0.06751, allocations: 51.62 kB / 444.8 MB, free: 12.59 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004667/0.06798, allocations: 279.7 kB / 445.1 MB, free: 12.32 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003329/0.06832, allocations: 0.613 MB / 445.7 MB, free: 11.7 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003588/0.06869, allocations: 382.2 kB / 446.1 MB, free: 11.32 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001013/0.06879, allocations: 159.2 kB / 446.3 MB, free: 11.16 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001541/0.06895, allocations: 206.8 kB / 446.5 MB, free: 10.96 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.358e-05/0.06901, allocations: 20 kB / 446.5 MB, free: 10.94 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.952e-05/0.06905, allocations: 16 kB / 446.5 MB, free: 10.93 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.052e-05/0.06911, allocations: 83.61 kB / 446.6 MB, free: 10.84 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001187/0.06923, allocations: 226.5 kB / 446.8 MB, free: 10.62 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003853/0.06962, allocations: 0.7668 MB / 447.6 MB, free: 9.852 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.06963, allocations: 0 / 447.6 MB, free: 9.852 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.06964, allocations: 0 / 447.6 MB, free: 9.852 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.06965, allocations: 0 / 447.6 MB, free: 9.852 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 148 * Number of variables: 148 Notification: Performance of Generate backend data structure: time 0.0009427/0.0706, allocations: 0.7718 MB / 448.3 MB, free: 9.016 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.094e-05/0.07064, allocations: 12.03 kB / 448.3 MB, free: 9.004 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.172e-05/0.07073, allocations: 106.6 kB / 448.4 MB, free: 8.891 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.957e-05/0.07081, allocations: 64.19 kB / 448.5 MB, free: 8.828 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003425/0.07116, allocations: 402.3 kB / 448.9 MB, free: 8.395 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.773e-05/0.07123, allocations: 105.3 kB / 449 MB, free: 8.281 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.302e-05/0.0713, allocations: 64.31 kB / 449.1 MB, free: 8.219 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001315/0.07262, allocations: 1.034 MB / 450.1 MB, free: 7.145 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.952e-05/0.07266, allocations: 3.938 kB / 450.1 MB, free: 7.141 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.418e-05/0.07271, allocations: 20 kB / 450.1 MB, free: 7.121 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.07272, allocations: 16 kB / 450.1 MB, free: 7.105 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007054/0.07343, allocations: 411.7 kB / 450.5 MB, free: 6.707 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001702/0.07514, allocations: 1.712 MB / 452.3 MB, free: 4.906 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001201/0.07636, allocations: 0.608 MB / 452.9 MB, free: 4.262 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004063/0.07677, allocations: 299.5 kB / 453.2 MB, free: 3.957 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.057e-05/0.07683, allocations: 15.98 kB / 453.2 MB, free: 3.941 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003175/0.07715, allocations: 242.6 kB / 453.4 MB, free: 3.68 MB / 298.7 MB Notification: Performance of pre-optimization done (n=68): time 1.874e-06/0.07716, allocations: 0 / 453.4 MB, free: 3.68 MB / 298.7 MB Notification: Performance of matching and sorting (n=68): time 0.00113/0.0783, allocations: 0.6943 MB / 454.1 MB, free: 2.98 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.544e-05/0.07837, allocations: 216.3 kB / 454.3 MB, free: 2.727 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001926/0.07857, allocations: 274.9 kB / 454.6 MB, free: 2.445 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.987e-05/0.07861, allocations: 33.7 kB / 454.6 MB, free: 2.406 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.778e-05/0.07869, allocations: 221.1 kB / 454.8 MB, free: 2.184 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.753e-05/0.07877, allocations: 142.1 kB / 455 MB, free: 2.043 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.786e-05/0.07883, allocations: 65.69 kB / 455 MB, free: 1.973 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.397e-05/0.07889, allocations: 358.7 kB / 455.4 MB, free: 1.613 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002771/0.07917, allocations: 169.9 kB / 455.6 MB, free: 1.449 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003522/0.07953, allocations: 470.6 kB / 456 MB, free: 0.8555 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006/0.08014, allocations: 0.6236 MB / 456.6 MB, free: 108 kB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.83e-06/0.08015, allocations: 4 kB / 456.6 MB, free: 104 kB / 298.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00105/0.08121, allocations: 0.6649 MB / 457.3 MB, free: 15.43 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.404e-05/0.08124, allocations: 8 kB / 457.3 MB, free: 15.42 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.612e-05/0.08127, allocations: 8 kB / 457.3 MB, free: 15.41 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.954e-05/0.0813, allocations: 16 kB / 457.3 MB, free: 15.4 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000469/0.08178, allocations: 147.7 kB / 457.5 MB, free: 15.25 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.546e-05/0.0818, allocations: 15.94 kB / 457.5 MB, free: 15.24 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003064/0.08211, allocations: 83.47 kB / 457.6 MB, free: 15.16 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.589e-05/0.08217, allocations: 35.94 kB / 457.6 MB, free: 15.12 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 20 (rotationalClock.rotationalClock.changed.y,$CLKPRE.rotationalClock.rotationalClock.changed.u,rotationalClock.rotationalClock.changed.u,rotationalClock.rotationalClock.cast.y,rotationalClock.rotationalClock.direction_changed,rotationalClock.rotationalClock.direction,rotationalClock.direction_changed,rotationalClock.direction,engine.crankshaftPositionEvent.rotationalClock.changed.y,$CLKPRE.engine.crankshaftPositionEvent.rotationalClock.changed.u,engine.crankshaftPositionEvent.rotationalClock.changed.u,engine.crankshaftPositionEvent.rotationalClock.cast.y,engine.crankshaftPositionEvent.rotationalClock.direction_changed,engine.crankshaftPositionEvent.rotationalClock.direction,engine.crankshaftPositionEvent.direction_changed,engine.crankshaftPositionEvent.direction,$whenCondition2,$whenCondition1,engine.crankshaftPositionEvent.rotationalClock.less.y,rotationalClock.rotationalClock.less.y) * Number of discrete states: 0 () * Number of clocked states: 6 (rotationalClock.rotationalClock.changed.u,speedControl.x_d,speedControl.N,speedControl.N_des,engine.inductionToPowerDelay.m_a_sampled,engine.crankshaftPositionEvent.rotationalClock.changed.u) * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * 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.0002453/0.08242, allocations: 225.6 kB / 457.8 MB, free: 14.89 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004327/0.08286, allocations: 265 kB / 458.1 MB, free: 14.63 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006505/0.08352, allocations: 356.7 kB / 458.4 MB, free: 14.28 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/0.08354, allocations: 8 kB / 458.4 MB, free: 14.27 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.08355, allocations: 0 / 458.4 MB, free: 14.27 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.255e-06/0.08356, allocations: 3.984 kB / 458.5 MB, free: 14.27 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001304/0.08487, allocations: 0.9819 MB / 459.4 MB, free: 13.23 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.371e-06/0.08489, allocations: 0 / 459.4 MB, free: 13.23 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005261/0.08542, allocations: 123.8 kB / 459.6 MB, free: 13.11 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.08544, allocations: 0 / 459.6 MB, free: 13.11 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.557e-05/0.08549, allocations: 23.92 kB / 459.6 MB, free: 13.08 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.12e-06/0.0855, allocations: 4 kB / 459.6 MB, free: 13.08 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.08552, allocations: 11.88 kB / 459.6 MB, free: 13.07 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001711/0.08723, allocations: 0.9178 MB / 460.5 MB, free: 12.12 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001351/0.08738, allocations: 124.5 kB / 460.6 MB, free: 11.98 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.008e-05/0.08747, allocations: 23.94 kB / 460.7 MB, free: 11.96 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002733/0.08775, allocations: 35.97 kB / 460.7 MB, free: 11.93 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001206/0.08788, allocations: 23.97 kB / 460.7 MB, free: 11.9 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.367e-05/0.08793, allocations: 19.98 kB / 460.7 MB, free: 11.88 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000239/0.08817, allocations: 189.9 kB / 460.9 MB, free: 11.7 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.08818, allocations: 0 / 460.9 MB, free: 11.7 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000629/0.08882, allocations: 123.7 kB / 461 MB, free: 11.58 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 5 (engine.throttleBody.m_ai,engine.intakeManifold.P_m,engine.cylinderAirCharge.m_a_total,engine.inertia1.w,derivative.u) * Number of discrete variables: 18 (engine.crankshaftPositionEvent.direction,engine.crankshaftPositionEvent.direction_changed,engine.crankshaftPositionEvent.rotationalClock.direction,engine.crankshaftPositionEvent.rotationalClock.direction_changed,engine.crankshaftPositionEvent.rotationalClock.cast.y,engine.crankshaftPositionEvent.rotationalClock.changed.u,engine.crankshaftPositionEvent.rotationalClock.changed.y,rotationalClock.direction,rotationalClock.direction_changed,rotationalClock.rotationalClock.direction,rotationalClock.rotationalClock.direction_changed,rotationalClock.rotationalClock.cast.y,rotationalClock.rotationalClock.changed.u,rotationalClock.rotationalClock.changed.y,engine.crankshaftPositionEvent.rotationalClock.less.y,rotationalClock.rotationalClock.less.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 6 (engine.crankshaftPositionEvent.rotationalClock.changed.u,engine.inductionToPowerDelay.m_a_sampled,speedControl.N_des,speedControl.N,speedControl.x_d,rotationalClock.rotationalClock.changed.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.001909/0.09073, allocations: 1.49 MB / 462.5 MB, free: 10.05 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009739/0.09172, allocations: 0.5131 MB / 463 MB, free: 9.535 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.09173, allocations: 448 / 463 MB, free: 9.535 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002944/0.09203, allocations: 159.8 kB / 463.2 MB, free: 9.379 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007132/0.09276, allocations: 205.1 kB / 463.4 MB, free: 9.176 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004083/0.09685, allocations: 2.882 MB / 466.3 MB, free: 6.105 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000428/0.09729, allocations: 0.86 MB / 467.1 MB, free: 5.219 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000247/0.09755, allocations: 51.34 kB / 467.2 MB, free: 5.164 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002771/0.09783, allocations: 175.4 kB / 467.4 MB, free: 4.992 MB / 314.7 MB Notification: Performance of SimCode: time 3.31e-07/0.09784, allocations: 0 / 467.4 MB, free: 4.992 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01862/0.1165, allocations: 8.423 MB / 475.8 MB, free: 12.54 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002088/0.1167, allocations: 220.9 kB / 476 MB, free: 12.29 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.192/2.308, allocations: 0 / 476 MB, free: 12.29 MB / 330.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Systems.EngineThrottleControl.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Systems.EngineThrottleControl.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Systems.EngineThrottleControl.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Systems.EngineThrottleControl.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Systems.EngineThrottleControl_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Systems_EngineThrottleControl_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Systems_EngineThrottleControl.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Systems.EngineThrottleControl.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Systems.EngineThrottleControl_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Systems.EngineThrottleControl.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Systems.EngineThrottleControl.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:Time,angleSensor.phi,speedControl.Theta Variables in the result:add.k1,add.k2,add.u1,add.u2,add.y,angleSensor.flange.phi,angleSensor.flange.tau,angleSensor.phi,der(derivative.u),der(engine.cylinderAirCharge.m_a_total),der(engine.inertia1.w),der(engine.intakeManifold.P_m),der(engine.throttleBody.m_ai),derivative.u,derivative.y,engine.Theta,engine.angleSensor.flange.phi,engine.angleSensor.flange.tau,engine.angleSensor.phi,engine.crankshaftPositionEvent.angle,engine.crankshaftPositionEvent.direction,engine.crankshaftPositionEvent.direction_changed,engine.crankshaftPositionEvent.rotationalClock.abs1.generateEvent,engine.crankshaftPositionEvent.rotationalClock.abs1.u,engine.crankshaftPositionEvent.rotationalClock.abs1.y,engine.crankshaftPositionEvent.rotationalClock.abs2.generateEvent,engine.crankshaftPositionEvent.rotationalClock.abs2.u,engine.crankshaftPositionEvent.rotationalClock.abs2.y,engine.crankshaftPositionEvent.rotationalClock.angle,engine.crankshaftPositionEvent.rotationalClock.angular_offset.u,engine.crankshaftPositionEvent.rotationalClock.angular_offset.y,engine.crankshaftPositionEvent.rotationalClock.angular_offset.y_start,engine.crankshaftPositionEvent.rotationalClock.cast.u,engine.crankshaftPositionEvent.rotationalClock.cast.y,engine.crankshaftPositionEvent.rotationalClock.changed.u,engine.crankshaftPositionEvent.rotationalClock.changed.y,engine.crankshaftPositionEvent.rotationalClock.direction,engine.crankshaftPositionEvent.rotationalClock.direction_changed,engine.crankshaftPositionEvent.rotationalClock.direction_sign.generateEvent,engine.crankshaftPositionEvent.rotationalClock.direction_sign.u,engine.crankshaftPositionEvent.rotationalClock.direction_sign.y,engine.crankshaftPositionEvent.rotationalClock.less.u1,engine.crankshaftPositionEvent.rotationalClock.less.u2,engine.crankshaftPositionEvent.rotationalClock.less.y,engine.crankshaftPositionEvent.rotationalClock.sub.k1,engine.crankshaftPositionEvent.rotationalClock.sub.k2,engine.crankshaftPositionEvent.rotationalClock.sub.u1,engine.crankshaftPositionEvent.rotationalClock.sub.u2,engine.crankshaftPositionEvent.rotationalClock.sub.y,engine.crankshaftPositionEvent.rotationalClock.trigger_interval,engine.crankshaftPositionEvent.rotationalClock.update_direction.u,engine.crankshaftPositionEvent.rotationalClock.update_direction.y,engine.crankshaftPositionEvent.rotationalClock.update_offset.u,engine.crankshaftPositionEvent.rotationalClock.update_offset.y,engine.crankshaftPositionEvent.rotationalClock.useSolver,engine.crankshaftPositionEvent.rotationalClock.y_clock.u,engine.crankshaftPositionEvent.rotationalClock.y_clock.useSolver,engine.crankshaftPositionEvent.threshold.k,engine.crankshaftPositionEvent.threshold.y,engine.crankshaftPositionEvent.trigger_interval,engine.crankshaftPositionEvent.useSolver,engine.cylinderAirCharge.m_a,engine.cylinderAirCharge.m_a_total,engine.cylinderAirCharge.m_ao_dot,engine.flange_b.phi,engine.flange_b.tau,engine.inductionToPowerDelay.m_a,engine.inductionToPowerDelay.m_a_delayed,engine.inductionToPowerDelay.m_a_sampled,engine.inertia1.J,engine.inertia1.a,engine.inertia1.flange_a.phi,engine.inertia1.flange_a.tau,engine.inertia1.flange_b.phi,engine.inertia1.flange_b.tau,engine.inertia1.phi,engine.inertia1.stateSelect,engine.inertia1.w,engine.intakeManifold.N,engine.intakeManifold.P_0,engine.intakeManifold.P_m,engine.intakeManifold.RTVmRatio,engine.intakeManifold.m_ai_dot,engine.intakeManifold.m_ao_dot,engine.speedSensor.flange.phi,engine.speedSensor.flange.tau,engine.speedSensor.w,engine.throttleBody.P_0,engine.throttleBody.Pm,engine.throttleBody.Theta,engine.throttleBody.m_ai,engine.throttleBody.m_ai_dot,engine.torque.flange.phi,engine.torque.flange.tau,engine.torque.tau,engine.torque.useSupport,engine.torqueGeneration.AFR,engine.torqueGeneration.N,engine.torqueGeneration.T_torque_e,engine.torqueGeneration.m_a,engine.torqueGeneration.sigma,hold1.u,hold1.y,hold1.y_start,previous(engine.crankshaftPositionEvent.rotationalClock.changed.u),previous(rotationalClock.rotationalClock.changed.u),previous(speedControl.N),previous(speedControl.N_des),rotationalClock.angle,rotationalClock.direction,rotationalClock.direction_changed,rotationalClock.rotationalClock.abs1.generateEvent,rotationalClock.rotationalClock.abs1.u,rotationalClock.rotationalClock.abs1.y,rotationalClock.rotationalClock.abs2.generateEvent,rotationalClock.rotationalClock.abs2.u,rotationalClock.rotationalClock.abs2.y,rotationalClock.rotationalClock.angle,rotationalClock.rotationalClock.angular_offset.u,rotationalClock.rotationalClock.angular_offset.y,rotationalClock.rotationalClock.angular_offset.y_start,rotationalClock.rotationalClock.cast.u,rotationalClock.rotationalClock.cast.y,rotationalClock.rotationalClock.changed.u,rotationalClock.rotationalClock.changed.y,rotationalClock.rotationalClock.direction,rotationalClock.rotationalClock.direction_changed,rotationalClock.rotationalClock.direction_sign.generateEvent,rotationalClock.rotationalClock.direction_sign.u,rotationalClock.rotationalClock.direction_sign.y,rotationalClock.rotationalClock.less.u1,rotationalClock.rotationalClock.less.u2,rotationalClock.rotationalClock.less.y,rotationalClock.rotationalClock.sub.k1,rotationalClock.rotationalClock.sub.k2,rotationalClock.rotationalClock.sub.u1,rotationalClock.rotationalClock.sub.u2,rotationalClock.rotationalClock.sub.y,rotationalClock.rotationalClock.trigger_interval,rotationalClock.rotationalClock.update_direction.u,rotationalClock.rotationalClock.update_direction.y,rotationalClock.rotationalClock.update_offset.u,rotationalClock.rotationalClock.update_offset.y,rotationalClock.rotationalClock.useSolver,rotationalClock.rotationalClock.y_clock.u,rotationalClock.rotationalClock.y_clock.useSolver,rotationalClock.threshold.k,rotationalClock.threshold.y,rotationalClock.trigger_interval,rotationalClock.useSolver,sample1.u,sample1.y,sample2.u,sample2.y,speedControl.N,speedControl.N_des,speedControl.Theta,speedControl.k_I,speedControl.k_p,speedControl.x_d,speedRef.height,speedRef.offset,speedRef.startTime,speedRef.y,step.height,step.offset,step.startTime,step.y,step1.height,step1.offset,step1.startTime,step1.y,time,torque2.flange.phi,torque2.flange.tau,torque2.tau,torque2.useSupport