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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00139/0.00139, allocations: 112.9 kB / 20.54 MB, free: 1.777 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001398/0.001398, allocations: 186.2 kB / 23.71 MB, free: 5.402 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.242/1.242, allocations: 225.6 MB / 252.3 MB, free: 13.36 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1898/0.1898, allocations: 44.91 MB / 352.4 MB, free: 12.24 MB / 286.1 MB " [Timeout remaining time 180] 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=5093,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=5093,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") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.51e-05/1.51e-05, allocations: 2.281 kB / 495.9 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.StrictLimiters): time 0.004439/0.004454, allocations: 3.547 MB / 499.5 MB, free: 14.36 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002237/0.00669, allocations: 1.403 MB / 0.4891 GB, free: 12.95 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002159/0.006906, allocations: 27.88 kB / 0.4892 GB, free: 12.93 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002598/0.007166, allocations: 118.7 kB / 0.4893 GB, free: 12.81 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004237/0.00759, allocations: 162.6 kB / 0.4894 GB, free: 12.65 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001007/0.008597, allocations: 0.6129 MB / 0.49 GB, free: 12.04 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001155/0.009752, allocations: 1.272 MB / 0.4913 GB, free: 10.77 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003261/0.01008, allocations: 205.1 kB / 0.4915 GB, free: 10.56 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006082/0.01069, allocations: 0.5177 MB / 0.492 GB, free: 10.04 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003645/0.01105, allocations: 374.1 kB / 0.4923 GB, free: 9.672 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.543e-05/0.01115, allocations: 72 kB / 0.4924 GB, free: 9.602 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.836e-05/0.01123, allocations: 72 kB / 0.4925 GB, free: 9.531 MB / 366.1 MB Notification: Performance of combineBinaries: time 0.0009822/0.01222, allocations: 1.398 MB / 0.4938 GB, free: 8.117 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 0.0005297/0.01275, allocations: 0.8658 MB / 0.4947 GB, free: 7.238 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001181/0.01286, allocations: 123.5 kB / 0.4948 GB, free: 7.117 MB / 366.1 MB Notification: Performance of FrontEnd: time 0.0001153/0.01298, allocations: 63.58 kB / 0.4949 GB, free: 7.055 MB / 366.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.002492/0.01547, allocations: 2.769 MB / 0.4976 GB, free: 4.113 MB / 366.1 MB Notification: Performance of FunctionAlias: time 0.0003135/0.01578, allocations: 302.3 kB / 0.4978 GB, free: 3.82 MB / 366.1 MB Notification: Performance of Early Inline: time 0.001087/0.01687, allocations: 1.085 MB / 0.4989 GB, free: 2.707 MB / 366.1 MB Notification: Performance of Simplify 1: time 0.0002889/0.01716, allocations: 235.5 kB / 0.4991 GB, free: 2.445 MB / 366.1 MB Notification: Performance of Alias: time 0.003131/0.02029, allocations: 2.536 MB / 0.5016 GB, free: 15.54 MB / 382.1 MB Notification: Performance of Simplify 2: time 0.0001998/0.02049, allocations: 167.6 kB / 0.5018 GB, free: 15.34 MB / 382.1 MB Notification: Performance of Remove Stream: time 0.0001562/0.02065, allocations: 163.6 kB / 0.5019 GB, free: 15.16 MB / 382.1 MB Notification: Performance of Detect States: time 0.0003712/0.02102, allocations: 322.3 kB / 0.5022 GB, free: 14.8 MB / 382.1 MB Notification: Performance of Events: time 0.0004128/0.02143, allocations: 349.1 kB / 0.5026 GB, free: 14.45 MB / 382.1 MB Notification: Performance of Partitioning: time 0.0005928/0.02203, allocations: 0.5702 MB / 0.5031 GB, free: 13.82 MB / 382.1 MB Notification: Performance of Causalize: time 0.002151/0.02418, allocations: 1.829 MB / 0.5049 GB, free: 11.91 MB / 382.1 MB Notification: Performance of After Index Reduction Inline: time 0.0008431/0.02502, allocations: 0.8741 MB / 0.5058 GB, free: 11.04 MB / 382.1 MB Notification: Performance of Simplify: time 0.0009046/0.02592, allocations: 0.7227 MB / 0.5065 GB, free: 10.27 MB / 382.1 MB Notification: Performance of Inline: time 0.001228/0.02715, allocations: 1.241 MB / 0.5077 GB, free: 9.023 MB / 382.1 MB Notification: Performance of Partitioning: time 7.008e-05/0.02722, allocations: 47.55 kB / 0.5077 GB, free: 8.969 MB / 382.1 MB Notification: Performance of Cleanup: time 0.0003854/0.02761, allocations: 479.2 kB / 0.5082 GB, free: 8.496 MB / 382.1 MB Notification: Performance of Causalize: time 0.005627/0.03323, allocations: 4.689 MB / 0.5128 GB, free: 3.762 MB / 382.1 MB Notification: Performance of Tearing: time 1.681e-05/0.03325, allocations: 0 / 0.5128 GB, free: 3.762 MB / 382.1 MB Notification: Performance of Initialization: time 3.11e-07/0.03325, allocations: 0 / 0.5128 GB, free: 3.762 MB / 382.1 MB Notification: Performance of Remove Dummies: time 1.207e-05/0.03326, allocations: 4.562 kB / 0.5128 GB, free: 3.754 MB / 382.1 MB Notification: Performance of Tearing: time 5.52e-06/0.03327, allocations: 3.938 kB / 0.5128 GB, free: 3.75 MB / 382.1 MB Notification: Performance of Categorize: time 1.378e-05/0.03328, allocations: 7.938 kB / 0.5128 GB, free: 3.742 MB / 382.1 MB Notification: Performance of Solve: time 0.0006765/0.03396, allocations: 395.8 kB / 0.5132 GB, free: 3.352 MB / 382.1 MB Notification: Performance of Jacobian: time 0.0005969/0.03456, allocations: 0.561 MB / 0.5137 GB, free: 2.754 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) {} * 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 clocks: ............................. 0 (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 (resizable: 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: ........... 121 (scalar:121, 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 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 121 (scalar:121, 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 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 0.000131/0.03469, allocations: 83.78 kB / 0.5138 GB, free: 2.676 MB / 382.1 MB Notification: Performance of SimCode: time 0.1554/0.1901, allocations: 2.934 MB / 0.5166 GB, free: 32.41 MB / 382.1 MB Notification: Performance of Templates: time 0.01136/0.2015, allocations: 6.685 MB / 0.5232 GB, free: 32.2 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] "" 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 [Calling sys.exit(0), Time elapsed: 4.464321197010577]