Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.StrictLimiters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|PID1.D.x|PID1.I.y|PID2.D.x|PID2.I.y|limIntegrator1.y|limIntegrator2.y|slewRateLimiter1.y|slewRateLimiter2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters") translateModel(ModelicaTest.Blocks.StrictLimiters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|PID1.D.x|PID1.I.y|PID2.D.x|PID2.I.y|limIntegrator1.y|limIntegrator2.y|slewRateLimiter1.y|slewRateLimiter2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001324/0.001331, allocations: 110.7 kB / 18.46 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0014/0.0014, allocations: 185.4 kB / 19.4 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.402/1.402, allocations: 222.9 MB / 243.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2361/0.2361, allocations: 44.19 MB / 337.4 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.944e-05/2.945e-05, allocations: 2.281 kB / 471.2 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.StrictLimiters): time 0.005003/0.005043, allocations: 3.523 MB / 474.7 MB, free: 9.699 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002692/0.007762, allocations: 1.383 MB / 476.1 MB, free: 8.309 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003306/0.008109, allocations: 27.81 kB / 476.1 MB, free: 8.281 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002669/0.008386, allocations: 110.7 kB / 476.2 MB, free: 8.172 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004852/0.008881, allocations: 178.5 kB / 476.4 MB, free: 7.996 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001013/0.009937, allocations: 0.5956 MB / 477 MB, free: 7.406 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001136/0.01108, allocations: 1.042 MB / 478 MB, free: 6.363 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005887/0.01168, allocations: 305.1 kB / 478.3 MB, free: 6.055 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007112/0.0124, allocations: 370.5 kB / 478.7 MB, free: 5.691 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005373/0.01295, allocations: 366 kB / 479 MB, free: 5.332 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002235/0.01318, allocations: 76 kB / 479.1 MB, free: 5.258 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001947/0.01339, allocations: 72 kB / 479.2 MB, free: 5.188 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.001126/0.01452, allocations: 1.277 MB / 480.4 MB, free: 3.895 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.0008531/0.01538, allocations: 0.8423 MB / 481.3 MB, free: 3.039 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003392/0.01573, allocations: 119.5 kB / 481.4 MB, free: 2.922 MB / 350.1 MB Notification: Performance of FrontEnd: time 0.0002475/0.01599, allocations: 51.62 kB / 481.5 MB, free: 2.871 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 121 (121) * Number of variables: 121 (121) Notification: Performance of Bindings: time 0.004267/0.02026, allocations: 3.46 MB / 484.9 MB, free: 15.26 MB / 366.1 MB Notification: Performance of FunctionAlias: time 0.0002478/0.02052, allocations: 187.6 kB / 485.1 MB, free: 15.08 MB / 366.1 MB Notification: Performance of Early Inline: time 0.001427/0.02195, allocations: 1.538 MB / 486.6 MB, free: 13.51 MB / 366.1 MB Notification: Performance of simplify1: time 0.0002366/0.0222, allocations: 139.8 kB / 486.8 MB, free: 13.37 MB / 366.1 MB Notification: Performance of Alias: time 0.004964/0.02717, allocations: 3.01 MB / 489.8 MB, free: 10 MB / 366.1 MB Notification: Performance of simplify2: time 0.000141/0.02734, allocations: 103.9 kB / 489.9 MB, free: 9.898 MB / 366.1 MB Notification: Performance of Detect States: time 0.0005541/0.0279, allocations: 371.2 kB / 490.2 MB, free: 9.52 MB / 366.1 MB Notification: Performance of Events: time 0.0006536/0.02857, allocations: 440.9 kB / 490.7 MB, free: 9.078 MB / 366.1 MB Notification: Performance of Partitioning: time 0.0007669/0.02935, allocations: 0.5313 MB / 491.2 MB, free: 8.484 MB / 366.1 MB Notification: Performance of Causalize: time 0.002598/0.03195, allocations: 1.989 MB / 493.2 MB, free: 6.426 MB / 366.1 MB Notification: Performance of After Index Reduction Inline: time 0.001531/0.0335, allocations: 1.334 MB / 494.5 MB, free: 5.066 MB / 366.1 MB Notification: Performance of Inline: time 0.002628/0.03614, allocations: 2.203 MB / 496.7 MB, free: 2.828 MB / 366.1 MB Notification: Performance of Partitioning: time 0.0001355/0.03628, allocations: 103.6 kB / 496.8 MB, free: 2.715 MB / 366.1 MB Notification: Performance of Cleanup: time 0.0004013/0.03669, allocations: 259.4 kB / 497.1 MB, free: 2.461 MB / 366.1 MB Notification: Performance of Causalize: time 0.008081/0.04478, allocations: 5.544 MB / 0.4909 GB, free: 12.87 MB / 382.1 MB Notification: Performance of Tearing: time 2.242e-05/0.04483, allocations: 0 / 0.4909 GB, free: 12.87 MB / 382.1 MB Notification: Performance of Initialization: time 1.263e-06/0.04484, allocations: 0 / 0.4909 GB, free: 12.87 MB / 382.1 MB Notification: Performance of Tearing: time 1.378e-05/0.04486, allocations: 7.938 kB / 0.4909 GB, free: 12.86 MB / 382.1 MB Notification: Performance of Categorize: time 2.034e-05/0.04489, allocations: 4 kB / 0.4909 GB, free: 12.86 MB / 382.1 MB Notification: Performance of Solve: time 0.001433/0.04633, allocations: 1.12 MB / 0.492 GB, free: 11.63 MB / 382.1 MB Notification: Performance of Jacobian: time 0.0008246/0.04717, allocations: 0.6859 MB / 0.4926 GB, free: 10.91 MB / 382.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 7 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 1 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 8 (8) {slewRateLimiter1.y, slewRateLimiter2.y, limIntegrator1.y, limIntegrator2.y, PID1.I.y, PID2.I.y, PID1.D.x, PID2.D.x} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 33 (33) {$SEV_27, $SEV_26, $SEV_25, $SEV_24, $SEV_23, $SEV_22, $SEV_21, $SEV_20, $SEV_19, $SEV_18, $SEV_17, $SEV_16, $SEV_15, $SEV_14, $SEV_13, $SEV_12, $SEV_11, $SEV_10, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_4, $TEV_3, $TEV_2, $TEV_1, $TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 83 (scalar:83, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 119 (scalar:119, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 2 (linear: 0, nonlinear:2) Notification: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 119 (scalar:119, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 2 (linear: 0, nonlinear:2) Notification: Performance of backend: time 0.0001939/0.04738, allocations: 79.38 kB / 0.4927 GB, free: 10.84 MB / 382.1 MB Notification: Performance of SimCode: time 0.004021/0.05141, allocations: 3.132 MB / 0.4958 GB, free: 7.637 MB / 382.1 MB Notification: Performance of Templates: time 0.01232/0.06375, allocations: 6.534 MB / 0.5021 GB, free: 1.109 MB / 382.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/StrictLimiters/StrictLimiters.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,PID1.D.x,PID1.I.y,PID2.D.x,PID2.I.y,limIntegrator1.y,limIntegrator2.y,slewRateLimiter1.y,slewRateLimiter2.y Variables in the result:PID1.D.T,PID1.D.initType,PID1.D.k,PID1.D.x,PID1.D.x_start,PID1.D.y_start,PID1.D.zeroGain,PID1.FFzero.k,PID1.FFzero.y,PID1.I.initType,PID1.I.k,PID1.I.y,PID1.I.y_start,PID1.Nd,PID1.Ni,PID1.P.k,PID1.Td,PID1.Ti,PID1.addD.k1,PID1.addD.k2,PID1.addFF.k1,PID1.addFF.k2,PID1.addFF.u2,PID1.addI.k1,PID1.addI.k2,PID1.addI.k3,PID1.addP.k1,PID1.addP.k2,PID1.addPID.k1,PID1.addPID.k2,PID1.addPID.k3,PID1.addSat.k1,PID1.addSat.k2,PID1.controllerType,PID1.gainPID.k,PID1.gainTrack.k,PID1.homotopyType,PID1.initType,PID1.k,PID1.kFF,PID1.limiter.homotopyType,PID1.limiter.strict,PID1.limiter.uMax,PID1.limiter.uMin,PID1.strict,PID1.wd,PID1.withFeedForward,PID1.wp,PID1.xd_start,PID1.xi_start,PID1.yMax,PID1.yMin,PID1.y_start,PID2.D.T,PID2.D.initType,PID2.D.k,PID2.D.x,PID2.D.x_start,PID2.D.y_start,PID2.D.zeroGain,PID2.FFzero.k,PID2.FFzero.y,PID2.I.initType,PID2.I.k,PID2.I.y,PID2.I.y_start,PID2.Nd,PID2.Ni,PID2.P.k,PID2.Td,PID2.Ti,PID2.addD.k1,PID2.addD.k2,PID2.addFF.k1,PID2.addFF.k2,PID2.addFF.u2,PID2.addI.k1,PID2.addI.k2,PID2.addI.k3,PID2.addP.k1,PID2.addP.k2,PID2.addPID.k1,PID2.addPID.k2,PID2.addPID.k3,PID2.addSat.k1,PID2.addSat.k2,PID2.controllerType,PID2.gainPID.k,PID2.gainTrack.k,PID2.homotopyType,PID2.initType,PID2.k,PID2.kFF,PID2.limiter.homotopyType,PID2.limiter.strict,PID2.limiter.uMax,PID2.limiter.uMin,PID2.strict,PID2.wd,PID2.withFeedForward,PID2.wp,PID2.xd_start,PID2.xi_start,PID2.yMax,PID2.yMin,PID2.y_start,limIntegrator1.initType,limIntegrator1.k,limIntegrator1.limitsAtInit,limIntegrator1.outMax,limIntegrator1.outMin,limIntegrator1.strict,limIntegrator1.y,limIntegrator1.y_start,limIntegrator2.initType,limIntegrator2.k,limIntegrator2.limitsAtInit,limIntegrator2.outMax,limIntegrator2.outMin,limIntegrator2.strict,limIntegrator2.y,limIntegrator2.y_start,limiter1.homotopyType,limiter1.strict,limiter1.uMax,limiter1.uMin,limiter2.homotopyType,limiter2.strict,limiter2.uMax,limiter2.uMin,sine1.amplitude,sine1.f,sine1.offset,sine1.phase,sine1.startTime,sine2.amplitude,sine2.f,sine2.offset,sine2.phase,sine2.startTime,sine2a.amplitude,sine2a.f,sine2a.offset,sine2a.phase,sine2a.startTime,sine2ab.amplitude,sine2ab.f,sine2ab.offset,sine2ab.phase,sine2ab.startTime,sine3.amplitude,sine3.f,sine3.offset,sine3.phase,sine3.startTime,slewRateLimiter1.Falling,slewRateLimiter1.Rising,slewRateLimiter1.Td,slewRateLimiter1.initType,slewRateLimiter1.strict,slewRateLimiter1.y,slewRateLimiter1.y_start,slewRateLimiter2.Falling,slewRateLimiter2.Rising,slewRateLimiter2.Td,slewRateLimiter2.initType,slewRateLimiter2.strict,slewRateLimiter2.y,slewRateLimiter2.y_start,time,variableLimiter1.homotopyType,variableLimiter1.strict,variableLimiter1.ySimplified,variableLimiter2.homotopyType,variableLimiter2.strict,variableLimiter2.ySimplified