Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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 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_3.2.3_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_3.2.3_ModelicaTest.Blocks.StrictLimiters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001153/0.001153, allocations: 109.6 kB / 17.09 MB, free: 5.98 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.00111/0.00111, allocations: 200.2 kB / 18.03 MB, free: 5.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.867/1.867, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2709/0.2709, allocations: 43.53 MB / 314.8 MB, free: 460 kB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.321e-05/3.322e-05, allocations: 2.281 kB / 442.4 MB, free: 5.719 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.StrictLimiters): time 0.005257/0.005299, allocations: 3.57 MB / 446 MB, free: 2.133 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003601/0.008936, allocations: 1.431 MB / 447.4 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007137/0.009668, allocations: 27.81 kB / 447.5 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004157/0.0101, allocations: 122.7 kB / 447.6 MB, free: 0.543 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006482/0.01075, allocations: 158.5 kB / 447.7 MB, free: 396 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001527/0.01237, allocations: 0.6025 MB / 448.3 MB, free: 15.79 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001347/0.01372, allocations: 1.05 MB / 449.4 MB, free: 14.74 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005595/0.0143, allocations: 301.2 kB / 449.7 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005676/0.01487, allocations: 382.4 kB / 450 MB, free: 14.06 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003924/0.01528, allocations: 370 kB / 450.4 MB, free: 13.7 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002178/0.0155, allocations: 72 kB / 450.5 MB, free: 13.62 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001013/0.01561, allocations: 72 kB / 450.5 MB, free: 13.55 MB / 334.1 MB Notification: Performance of combineBinaries: time 0.001272/0.01689, allocations: 1.296 MB / 451.8 MB, free: 12.24 MB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 0.0006867/0.01759, allocations: 0.8617 MB / 452.7 MB, free: 11.37 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001488/0.01774, allocations: 127.4 kB / 452.8 MB, free: 11.24 MB / 334.1 MB Notification: Performance of FrontEnd: time 0.0002213/0.01797, allocations: 63.55 kB / 452.9 MB, free: 11.18 MB / 334.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.004052/0.02203, allocations: 3.591 MB / 456.5 MB, free: 7.434 MB / 334.1 MB Notification: Performance of FunctionAlias: time 0.0002908/0.02234, allocations: 187.6 kB / 456.7 MB, free: 7.25 MB / 334.1 MB Notification: Performance of Early Inline: time 0.001741/0.02408, allocations: 1.542 MB / 458.2 MB, free: 5.676 MB / 334.1 MB Notification: Performance of simplify1: time 0.000194/0.02429, allocations: 139.8 kB / 458.3 MB, free: 5.539 MB / 334.1 MB Notification: Performance of Alias: time 0.004975/0.02927, allocations: 3.014 MB / 461.4 MB, free: 2.168 MB / 334.1 MB Notification: Performance of simplify2: time 0.0001537/0.02945, allocations: 107.8 kB / 461.5 MB, free: 2.062 MB / 334.1 MB Notification: Performance of Events: time 0.000659/0.03011, allocations: 443.5 kB / 461.9 MB, free: 1.613 MB / 334.1 MB Notification: Performance of Detect States: time 0.0005797/0.03071, allocations: 464.1 kB / 462.3 MB, free: 1.148 MB / 334.1 MB Notification: Performance of Partitioning: time 0.0007469/0.03146, allocations: 0.5313 MB / 462.9 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of Causalize: time 0.002403/0.03387, allocations: 1.982 MB / 464.9 MB, free: 14.5 MB / 350.1 MB Notification: Performance of After Index Reduction Inline: time 0.001518/0.0354, allocations: 1.342 MB / 466.2 MB, free: 13.13 MB / 350.1 MB Notification: Performance of Inline: time 0.002431/0.03784, allocations: 2.195 MB / 468.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of Partitioning: time 0.0001329/0.03799, allocations: 103.6 kB / 468.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of Cleanup: time 0.0002361/0.03823, allocations: 255.5 kB / 468.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of Causalize: time 0.007668/0.04591, allocations: 5.536 MB / 474.3 MB, free: 4.957 MB / 350.1 MB Notification: Performance of Tearing: time 2.315e-05/0.04598, allocations: 0 / 474.3 MB, free: 4.957 MB / 350.1 MB Notification: Performance of Initialization: time 1.092e-06/0.04599, allocations: 0 / 474.3 MB, free: 4.957 MB / 350.1 MB Notification: Performance of Tearing: time 1.565e-05/0.04601, allocations: 3.938 kB / 474.3 MB, free: 4.953 MB / 350.1 MB Notification: Performance of Categorize: time 3.851e-05/0.04605, allocations: 4 kB / 474.3 MB, free: 4.949 MB / 350.1 MB Notification: Performance of Solve: time 0.001542/0.0476, allocations: 1.002 MB / 475.3 MB, free: 3.844 MB / 350.1 MB Notification: Performance of Jacobian: time 0.0007072/0.04832, allocations: 0.682 MB / 476 MB, free: 3.121 MB / 350.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.0002273/0.04856, allocations: 78.73 kB / 476.1 MB, free: 3.051 MB / 350.1 MB Notification: Performance of SimCode: time 0.003152/0.05172, allocations: 3.098 MB / 479.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of Templates: time 0.01367/0.0654, allocations: 6.773 MB / 485.9 MB, free: 9.125 MB / 366.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/StrictLimiters/StrictLimiters.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.limitsAtInit,PID1.limiter.strict,PID1.limiter.uMax,PID1.limiter.uMin,PID1.limitsAtInit,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.limitsAtInit,PID2.limiter.strict,PID2.limiter.uMax,PID2.limiter.uMin,PID2.limitsAtInit,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.limitsAtInit,limiter1.strict,limiter1.uMax,limiter1.uMin,limiter2.homotopyType,limiter2.limitsAtInit,limiter2.strict,limiter2.uMax,limiter2.uMin,sine1.amplitude,sine1.freqHz,sine1.offset,sine1.phase,sine1.startTime,sine2.amplitude,sine2.freqHz,sine2.offset,sine2.phase,sine2.startTime,sine2a.amplitude,sine2a.freqHz,sine2a.offset,sine2a.phase,sine2a.startTime,sine2ab.amplitude,sine2ab.freqHz,sine2ab.offset,sine2ab.phase,sine2ab.startTime,sine3.amplitude,sine3.freqHz,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.limitsAtInit,variableLimiter1.strict,variableLimiter1.ySimplified,variableLimiter2.homotopyType,variableLimiter2.limitsAtInit,variableLimiter2.strict,variableLimiter2.ySimplified