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.001245/0.001245, allocations: 110.3 kB / 18.42 MB, free: 4.656 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.001169/0.001169, allocations: 196.6 kB / 19.35 MB, free: 3.727 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.265/1.265, allocations: 222.9 MB / 243 MB, free: 15.15 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.1823/0.1823, allocations: 44.18 MB / 337.4 MB, free: 2.703 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.321e-05/2.323e-05, allocations: 2.281 kB / 409.8 MB, free: 26.59 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.StrictLimiters): time 0.003317/0.003357, allocations: 3.526 MB / 413.3 MB, free: 23.05 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001825/0.005195, allocations: 1.379 MB / 414.7 MB, free: 21.66 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002717/0.005478, allocations: 27.81 kB / 414.8 MB, free: 21.64 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002352/0.005721, allocations: 114.7 kB / 414.9 MB, free: 21.52 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003729/0.0061, allocations: 162.5 kB / 415 MB, free: 21.36 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007959/0.006914, allocations: 0.5951 MB / 415.6 MB, free: 20.77 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000639/0.00756, allocations: 1.034 MB / 416.7 MB, free: 19.74 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000354/0.007922, allocations: 305.1 kB / 417 MB, free: 19.43 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002775/0.008206, allocations: 358.5 kB / 417.3 MB, free: 19.07 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001967/0.008411, allocations: 366.1 kB / 417.7 MB, free: 18.71 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.762e-05/0.008495, allocations: 72 kB / 417.7 MB, free: 18.64 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.264e-05/0.008564, allocations: 75.94 kB / 417.8 MB, free: 18.57 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0004117/0.008982, allocations: 1.277 MB / 419.1 MB, free: 17.28 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001918/0.009179, allocations: 0.8386 MB / 419.9 MB, free: 16.43 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.271e-05/0.009257, allocations: 119.5 kB / 420 MB, free: 16.31 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.886e-05/0.009332, allocations: 55.61 kB / 420.1 MB, free: 16.25 MB / 302.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.001748/0.01108, allocations: 3.46 MB / 423.5 MB, free: 12.64 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0001521/0.01124, allocations: 183.7 kB / 423.7 MB, free: 12.46 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0009232/0.01217, allocations: 1.542 MB / 425.3 MB, free: 10.89 MB / 302.1 MB Notification: Performance of simplify1: time 7.576e-05/0.01225, allocations: 143.8 kB / 425.4 MB, free: 10.75 MB / 302.1 MB Notification: Performance of Alias: time 0.001789/0.01405, allocations: 2.703 MB / 428.1 MB, free: 7.688 MB / 302.1 MB Notification: Performance of simplify2: time 5.978e-05/0.01412, allocations: 107.8 kB / 428.2 MB, free: 7.582 MB / 302.1 MB Notification: Performance of Events: time 0.0003191/0.01444, allocations: 444.2 kB / 428.7 MB, free: 7.137 MB / 302.1 MB Notification: Performance of Detect States: time 0.0002859/0.01474, allocations: 462.8 kB / 429.1 MB, free: 6.672 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0003717/0.01512, allocations: 0.5352 MB / 429.6 MB, free: 6.074 MB / 302.1 MB Notification: Performance of Causalize: time 0.001853/0.01698, allocations: 2.784 MB / 432.4 MB, free: 3.277 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.0008131/0.0178, allocations: 1.347 MB / 433.8 MB, free: 1.902 MB / 302.1 MB Notification: Performance of Inline: time 0.001591/0.0194, allocations: 2.205 MB / 436 MB, free: 15.63 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0001349/0.01954, allocations: 119.7 kB / 436.1 MB, free: 15.5 MB / 318.1 MB Notification: Performance of Cleanup: time 0.0002082/0.01976, allocations: 263.5 kB / 436.4 MB, free: 15.23 MB / 318.1 MB Notification: Performance of Causalize: time 0.006758/0.02652, allocations: 8.031 MB / 444.4 MB, free: 7.504 MB / 318.1 MB Notification: Performance of Tearing: time 9.327e-06/0.02655, allocations: 1.688 kB / 444.4 MB, free: 7.504 MB / 318.1 MB Notification: Performance of Initialization: time 8.01e-07/0.02655, allocations: 0 / 444.4 MB, free: 7.504 MB / 318.1 MB Notification: Performance of Tearing: time 8.145e-06/0.02657, allocations: 11.94 kB / 444.4 MB, free: 7.492 MB / 318.1 MB Notification: Performance of Categorize: time 1.748e-05/0.02659, allocations: 4 kB / 444.4 MB, free: 7.488 MB / 318.1 MB Notification: Performance of Solve: time 0.00112/0.02772, allocations: 1.022 MB / 445.4 MB, free: 6.355 MB / 318.1 MB Notification: Performance of Jacobian: time 0.0005952/0.02832, allocations: 0.6976 MB / 446.1 MB, free: 5.621 MB / 318.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: ........... 127 (scalar:127, 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: ........... 127 (scalar:127, 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.000146/0.02848, allocations: 83.38 kB / 446.2 MB, free: 5.555 MB / 318.1 MB Notification: Performance of SimCode: time 0.002358/0.03084, allocations: 3.098 MB / 449.3 MB, free: 2.391 MB / 318.1 MB Notification: Performance of Templates: time 0.01132/0.04217, allocations: 6.551 MB / 455.8 MB, free: 11.84 MB / 334.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","../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