Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.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.Limiters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|slewRateLimiter.y|limiter.y|variableLimiter.y|deadZone.y|sine.y|constPos.y|constNeg.y|idealDerivative.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters") translateModel(ModelicaTest.Blocks.Limiters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|slewRateLimiter.y|limiter.y|variableLimiter.y|deadZone.y|sine.y|constPos.y|constNeg.y|idealDerivative.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001437/0.001437, allocations: 107.3 kB / 18.46 MB, free: 4.594 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.001297/0.001297, allocations: 179.8 kB / 19.39 MB, free: 3.672 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.42/1.42, allocations: 222.9 MB / 243.1 MB, free: 15.09 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.2367/0.2367, allocations: 44.17 MB / 337.4 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.534e-05/2.536e-05, allocations: 2.281 kB / 471.2 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.003037/0.00307, allocations: 1.657 MB / 472.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001203/0.004286, allocations: 0.6001 MB / 473.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001069/0.004405, allocations: 4 kB / 473.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.32e-05/0.004465, allocations: 15.8 kB / 473.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001227/0.004594, allocations: 15.81 kB / 473.5 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004441/0.005059, allocations: 147.7 kB / 473.6 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002447/0.005313, allocations: 163.6 kB / 473.8 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000132/0.005452, allocations: 33.42 kB / 473.8 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001376/0.005597, allocations: 71.7 kB / 473.9 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001109/0.005717, allocations: 67.73 kB / 473.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.696e-05/0.005759, allocations: 12 kB / 473.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.586e-05/0.005791, allocations: 12 kB / 474 MB, free: 10.42 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.0001607/0.005957, allocations: 205.7 kB / 474.2 MB, free: 10.22 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 5.676e-05/0.006019, allocations: 118.2 kB / 474.3 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.929e-05/0.006054, allocations: 15.94 kB / 474.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.934e-05/0.006088, allocations: 0 / 474.3 MB, free: 10.09 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: 18 (18) * Number of variables: 18 (18) Notification: Performance of Bindings: time 0.0007199/0.006816, allocations: 0.6902 MB / 475 MB, free: 9.293 MB / 350.1 MB Notification: Performance of FunctionAlias: time 9.189e-05/0.006915, allocations: 31.86 kB / 475 MB, free: 9.262 MB / 350.1 MB Notification: Performance of Early Inline: time 0.0002812/0.007203, allocations: 284.2 kB / 475.3 MB, free: 8.957 MB / 350.1 MB Notification: Performance of simplify1: time 4.871e-05/0.007259, allocations: 35.94 kB / 475.3 MB, free: 8.922 MB / 350.1 MB Notification: Performance of Alias: time 0.0006475/0.007914, allocations: 449.3 kB / 475.8 MB, free: 8.414 MB / 350.1 MB Notification: Performance of simplify2: time 3.707e-05/0.007961, allocations: 27.95 kB / 475.8 MB, free: 8.387 MB / 350.1 MB Notification: Performance of Detect States: time 0.0001731/0.00814, allocations: 117.1 kB / 475.9 MB, free: 8.258 MB / 350.1 MB Notification: Performance of Events: time 0.0002576/0.008405, allocations: 172 kB / 476.1 MB, free: 8.09 MB / 350.1 MB Notification: Performance of Partitioning: time 0.0001798/0.008594, allocations: 148.5 kB / 476.2 MB, free: 7.914 MB / 350.1 MB Notification: Performance of Causalize: time 0.0006123/0.009213, allocations: 0.5133 MB / 476.7 MB, free: 7.367 MB / 350.1 MB Notification: Performance of After Index Reduction Inline: time 0.0003993/0.009622, allocations: 452.5 kB / 477.2 MB, free: 6.898 MB / 350.1 MB Notification: Performance of Inline: time 0.0005911/0.01022, allocations: 0.5868 MB / 477.8 MB, free: 6.277 MB / 350.1 MB Notification: Performance of Partitioning: time 3.89e-05/0.01027, allocations: 40.03 kB / 477.8 MB, free: 6.23 MB / 350.1 MB Notification: Performance of Cleanup: time 9.457e-05/0.01037, allocations: 79.92 kB / 477.9 MB, free: 6.148 MB / 350.1 MB Notification: Performance of Causalize: time 0.001662/0.01204, allocations: 1.414 MB / 479.3 MB, free: 4.723 MB / 350.1 MB Notification: Performance of Tearing: time 1.448e-05/0.01206, allocations: 3.938 kB / 479.3 MB, free: 4.719 MB / 350.1 MB Notification: Performance of Initialization: time 7.51e-07/0.01207, allocations: 0 / 479.3 MB, free: 4.719 MB / 350.1 MB Notification: Performance of Tearing: time 5.06e-06/0.01208, allocations: 4 kB / 479.3 MB, free: 4.715 MB / 350.1 MB Notification: Performance of Categorize: time 1.054e-05/0.01209, allocations: 4 kB / 479.3 MB, free: 4.711 MB / 350.1 MB Notification: Performance of Solve: time 0.0001772/0.01228, allocations: 109.5 kB / 479.4 MB, free: 4.602 MB / 350.1 MB Notification: Performance of Jacobian: time 0.0002545/0.01254, allocations: 305.9 kB / 479.7 MB, free: 4.266 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: ......... 3 * 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: ............................. 1 (1) {slewRateLimiter.y} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 15 (15) {$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_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 23 (scalar:23, 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: ........... 31 (scalar:31, 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 (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 31 (scalar:31, 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: Performance of backend: time 5.551e-05/0.0126, allocations: 36.69 kB / 479.7 MB, free: 4.234 MB / 350.1 MB Notification: Performance of SimCode: time 0.0008728/0.01348, allocations: 1.205 MB / 480.9 MB, free: 3.012 MB / 350.1 MB Notification: Performance of Templates: time 0.00561/0.0191, allocations: 2.402 MB / 483.3 MB, free: 0.6211 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/Limiters/Limiters.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,slewRateLimiter.y,limiter.y,variableLimiter.y,deadZone.y,sine.y,constPos.y,constNeg.y,idealDerivative.y Variables in the result:constNeg.k,constNeg.y,constPos.k,constPos.y,deadZone.uMax,deadZone.uMin,deadZone.y,idealDerivative.y,limiter.homotopyType,limiter.strict,limiter.uMax,limiter.uMin,limiter.y,sine.amplitude,sine.f,sine.offset,sine.phase,sine.startTime,sine.y,slewRateLimiter.Falling,slewRateLimiter.Rising,slewRateLimiter.Td,slewRateLimiter.initType,slewRateLimiter.strict,slewRateLimiter.y,slewRateLimiter.y_start,time,variableLimiter.homotopyType,variableLimiter.limit1,variableLimiter.limit2,variableLimiter.simplifiedExpr,variableLimiter.strict,variableLimiter.y,variableLimiter.ySimplified