Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_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/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/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_cpp_Modelica_Synchronous_Examples_Systems_EngineThrottleControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Systems.EngineThrottleControl,fileNamePrefix="Modelica_Synchronous_cpp_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.0008416/0.0008416, allocations: 175.1 kB / 16.76 MB, free: 5.047 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.196/1.196, allocations: 205.4 MB / 222.9 MB, free: 9.027 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.0006955/0.0006953, allocations: 86.34 kB / 271.3 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06172/0.06172, allocations: 12.21 MB / 331.8 MB, free: 11.64 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000363/0.0003631, allocations: 20 kB / 392.2 MB, free: 66.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06608/0.06646, allocations: 50.3 MB / 442.5 MB, free: 16.56 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Systems.EngineThrottleControl): time 0.002623/0.06911, allocations: 2.706 MB / 445.2 MB, free: 13.84 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001134/0.07027, allocations: 0.6699 MB / 445.9 MB, free: 13.17 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003131/0.07061, allocations: 15.88 kB / 445.9 MB, free: 13.15 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001604/0.07078, allocations: 47.5 kB / 445.9 MB, free: 13.11 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001589/0.07095, allocations: 35.64 kB / 446 MB, free: 13.07 MB / 298.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/ClockSignals.mo:280:9-282:76:writable] Warning: In relation rotationalClock.rotationalClock.trigger_interval == 0.0, == on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/ClockSignals.mo:280:9-282:76:writable] Warning: In relation engine.crankshaftPositionEvent.rotationalClock.trigger_interval == 0.0, == on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.000608/0.07156, allocations: 203.7 kB / 446.2 MB, free: 12.87 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004762/0.07205, allocations: 0.5818 MB / 446.7 MB, free: 12.29 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004214/0.07248, allocations: 382 kB / 447.1 MB, free: 11.9 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001569/0.07264, allocations: 151.3 kB / 447.3 MB, free: 11.75 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002204/0.07287, allocations: 198.9 kB / 447.5 MB, free: 11.56 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.207e-05/0.07293, allocations: 20 kB / 447.5 MB, free: 11.54 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.465e-05/0.07298, allocations: 16 kB / 447.5 MB, free: 11.52 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.515e-05/0.07304, allocations: 79.67 kB / 447.6 MB, free: 11.45 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001443/0.07319, allocations: 240.4 kB / 447.8 MB, free: 11.2 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003619/0.07356, allocations: 0.647 MB / 448.5 MB, free: 10.55 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.07357, allocations: 0 / 448.5 MB, free: 10.55 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.07358, allocations: 0 / 448.5 MB, free: 10.55 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.664e-05/0.0736, allocations: 0 / 448.5 MB, free: 10.55 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.001107/0.07471, allocations: 0.7834 MB / 449.2 MB, free: 9.707 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.07475, allocations: 8.031 kB / 449.2 MB, free: 9.699 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001136/0.07487, allocations: 106.7 kB / 449.4 MB, free: 9.586 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.161e-05/0.07497, allocations: 64.22 kB / 449.4 MB, free: 9.523 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003817/0.07536, allocations: 410.2 kB / 449.8 MB, free: 9.082 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.606e-05/0.07544, allocations: 97.28 kB / 449.9 MB, free: 8.977 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.827e-05/0.07553, allocations: 60.38 kB / 450 MB, free: 8.918 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001497/0.07703, allocations: 1.025 MB / 451 MB, free: 7.852 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.708e-05/0.07707, allocations: 0 / 451 MB, free: 7.852 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.648e-05/0.07712, allocations: 24 kB / 451 MB, free: 7.828 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/0.07714, allocations: 12 kB / 451 MB, free: 7.816 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007756/0.07792, allocations: 415.7 kB / 451.4 MB, free: 7.41 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00191/0.07984, allocations: 1.708 MB / 453.1 MB, free: 5.613 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001278/0.08113, allocations: 0.6044 MB / 453.7 MB, free: 4.973 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004193/0.08156, allocations: 291.3 kB / 454 MB, free: 4.676 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.36e-05/0.08161, allocations: 15.97 kB / 454 MB, free: 4.66 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003399/0.08196, allocations: 238.6 kB / 454.3 MB, free: 4.402 MB / 298.7 MB Notification: Performance of pre-optimization done (n=68): time 2.114e-06/0.08197, allocations: 0 / 454.3 MB, free: 4.402 MB / 298.7 MB Notification: Performance of matching and sorting (n=68): time 0.001192/0.08317, allocations: 0.69 MB / 455 MB, free: 3.707 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.325e-05/0.08325, allocations: 207.8 kB / 455.2 MB, free: 3.461 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002142/0.08348, allocations: 274.9 kB / 455.4 MB, free: 3.18 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.257e-05/0.08352, allocations: 37.7 kB / 455.5 MB, free: 3.137 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.645e-05/0.08361, allocations: 217 kB / 455.7 MB, free: 2.918 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.774e-05/0.08369, allocations: 138.2 kB / 455.8 MB, free: 2.781 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.493e-05/0.08372, allocations: 16.03 kB / 455.8 MB, free: 2.766 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.403e-05/0.08379, allocations: 358.7 kB / 456.2 MB, free: 2.406 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002915/0.08409, allocations: 169.9 kB / 456.4 MB, free: 2.242 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003633/0.08446, allocations: 462.6 kB / 456.8 MB, free: 1.66 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006613/0.08513, allocations: 0.6318 MB / 457.4 MB, free: 0.9023 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.08514, allocations: 0 / 457.4 MB, free: 0.9023 MB / 298.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0009082/0.08606, allocations: 0.6533 MB / 458.1 MB, free: 248 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.08608, allocations: 12.16 kB / 458.1 MB, free: 236 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.0861, allocations: 12 kB / 458.1 MB, free: 224 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.124e-05/0.08612, allocations: 12 kB / 458.1 MB, free: 212 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004389/0.08657, allocations: 143.8 kB / 458.3 MB, free: 68 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.722e-05/0.08659, allocations: 27.86 kB / 458.3 MB, free: 40 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003136/0.08691, allocations: 67.56 kB / 458.4 MB, free: 15.97 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.133e-05/0.08698, allocations: 39.88 kB / 458.4 MB, free: 15.93 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,rotationalClock.rotationalClock.changed.u,$CLKPRE.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,engine.crankshaftPositionEvent.rotationalClock.changed.u,$CLKPRE.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,rotationalClock.rotationalClock.less.y,engine.crankshaftPositionEvent.rotationalClock.less.y,$whenCondition1,$whenCondition2) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002506/0.08723, allocations: 233.2 kB / 458.6 MB, free: 15.69 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004263/0.08767, allocations: 265 kB / 458.9 MB, free: 15.43 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000622/0.0883, allocations: 352.7 kB / 459.2 MB, free: 15.08 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.316e-06/0.08832, allocations: 12 kB / 459.2 MB, free: 15.07 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.08833, allocations: 0 / 459.2 MB, free: 15.07 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.185e-06/0.08834, allocations: 3.984 kB / 459.3 MB, free: 15.07 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00124/0.08959, allocations: 0.9741 MB / 460.2 MB, free: 14.04 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/0.0896, allocations: 4 kB / 460.2 MB, free: 14.03 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005362/0.09015, allocations: 115.9 kB / 460.3 MB, free: 13.92 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.823e-06/0.09016, allocations: 4 kB / 460.3 MB, free: 13.91 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.855e-05/0.09022, allocations: 27.92 kB / 460.4 MB, free: 13.89 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.49e-06/0.09023, allocations: 3.938 kB / 460.4 MB, free: 13.88 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.09024, allocations: 4 kB / 460.4 MB, free: 13.88 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001498/0.09174, allocations: 0.9177 MB / 461.3 MB, free: 12.94 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.402e-05/0.09183, allocations: 124.4 kB / 461.4 MB, free: 12.8 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.245e-05/0.0919, allocations: 20 kB / 461.4 MB, free: 12.78 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002754/0.09218, allocations: 27.98 kB / 461.5 MB, free: 12.75 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.506e-05/0.09228, allocations: 31.95 kB / 461.5 MB, free: 12.72 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.821e-05/0.09232, allocations: 19.98 kB / 461.5 MB, free: 12.7 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001899/0.09252, allocations: 190 kB / 461.7 MB, free: 12.52 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.09253, allocations: 3.938 kB / 461.7 MB, free: 12.51 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004642/0.093, allocations: 119.7 kB / 461.8 MB, free: 12.39 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001711/0.09472, allocations: 1.486 MB / 463.3 MB, free: 10.87 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009014/0.09563, allocations: 0.5057 MB / 463.8 MB, free: 10.37 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.09564, allocations: 0 / 463.8 MB, free: 10.37 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002781/0.09592, allocations: 159.9 kB / 464 MB, free: 10.21 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006838/0.09662, allocations: 209.3 kB / 464.2 MB, free: 10 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004567/0.1012, allocations: 2.887 MB / 467.1 MB, free: 6.918 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003919/0.1016, allocations: 0.8561 MB / 467.9 MB, free: 6.035 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002887/0.1019, allocations: 175.4 kB / 468.1 MB, free: 5.863 MB / 314.7 MB Notification: Performance of SimCode: time 3.4e-07/0.1019, allocations: 0 / 468.1 MB, free: 5.863 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.499/2.601, allocations: 7.036 MB / 475.1 MB, free: 14.81 MB / 330.7 MB (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Systems.EngineThrottleControl.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Systems.EngineThrottleControl.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Systems.EngineThrottleControl.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Systems.EngineThrottleControl.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Systems.EngineThrottleControl_res.mat --tempDir=temp_Modelica_Synchronous_cpp_Modelica_Synchronous_Examples_Systems_EngineThrottleControl_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_cpp_Modelica_Synchronous_Examples_Systems_EngineThrottleControl.fmu > Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Systems.EngineThrottleControl.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_cpp_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_cpp_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_last,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_delayedSampled,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.f_Theta,engine.throttleBody.g_Pm,engine.throttleBody.gpratio,engine.throttleBody.m_ai,engine.throttleBody.m_ai_dot,engine.throttleBody.pratio,engine.throttleBody.tmp1,engine.throttleBody.tmp2,engine.torque.flange.phi,engine.torque.flange.tau,engine.torque.phi_support,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(engine.inductionToPowerDelay.m_a_sampled),previous(rotationalClock.rotationalClock.changed.u),previous(speedControl.N),previous(speedControl.N_des),previous(speedControl.x_d),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.phi_support,torque2.tau,torque2.useSupport