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.001358/0.001358, allocations: 110.2 kB / 18.4 MB, free: 4.781 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.001524/0.001524, allocations: 195.5 kB / 19.34 MB, free: 3.852 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.14 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.2002/0.2002, allocations: 44.17 MB / 337.4 MB, free: 2.707 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.341e-05/2.363e-05, allocations: 2.281 kB / 409.8 MB, free: 26.61 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.002044/0.002084, allocations: 1.674 MB / 411.5 MB, free: 24.93 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007161/0.002812, allocations: 0.604 MB / 412.1 MB, free: 24.32 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.328e-05/0.002886, allocations: 4 kB / 412.1 MB, free: 24.32 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.073e-05/0.002923, allocations: 7.875 kB / 412.1 MB, free: 24.31 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.498e-05/0.003003, allocations: 23.73 kB / 412.1 MB, free: 24.29 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002931/0.003307, allocations: 138.5 kB / 412.3 MB, free: 24.16 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000144/0.003458, allocations: 167.6 kB / 412.4 MB, free: 23.99 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.003564, allocations: 33.41 kB / 412.4 MB, free: 23.95 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.359e-05/0.003654, allocations: 71.77 kB / 412.5 MB, free: 23.88 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.437e-05/0.003726, allocations: 63.67 kB / 412.6 MB, free: 23.82 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.567e-05/0.003757, allocations: 12 kB / 412.6 MB, free: 23.81 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.81e-05/0.00378, allocations: 16 kB / 412.6 MB, free: 23.79 MB / 302.1 MB Notification: Performance of combineBinaries: time 9.156e-05/0.003876, allocations: 197.8 kB / 412.8 MB, free: 23.6 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 2.832e-05/0.00391, allocations: 118.2 kB / 412.9 MB, free: 23.48 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 1.888e-05/0.003933, allocations: 19.94 kB / 412.9 MB, free: 23.46 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.601e-05/0.003953, allocations: 11.88 kB / 412.9 MB, free: 23.45 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: 18 (18) * Number of variables: 18 (18) Notification: Performance of Bindings: time 0.0004129/0.00437, allocations: 0.6747 MB / 413.6 MB, free: 22.67 MB / 302.1 MB Notification: Performance of FunctionAlias: time 5.027e-05/0.004427, allocations: 27.92 kB / 413.7 MB, free: 22.64 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0001565/0.004589, allocations: 284.2 kB / 413.9 MB, free: 22.34 MB / 302.1 MB Notification: Performance of simplify1: time 2.617e-05/0.00462, allocations: 35.95 kB / 414 MB, free: 22.3 MB / 302.1 MB Notification: Performance of Alias: time 0.0003349/0.00496, allocations: 413.7 kB / 414.4 MB, free: 21.83 MB / 302.1 MB Notification: Performance of simplify2: time 1.948e-05/0.004988, allocations: 27.97 kB / 414.4 MB, free: 21.8 MB / 302.1 MB Notification: Performance of Events: time 0.0001715/0.005164, allocations: 173.7 kB / 414.6 MB, free: 21.64 MB / 302.1 MB Notification: Performance of Detect States: time 0.0002262/0.005397, allocations: 165.8 kB / 414.7 MB, free: 21.46 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0001052/0.005509, allocations: 147.5 kB / 414.9 MB, free: 21.29 MB / 302.1 MB Notification: Performance of Causalize: time 0.0004989/0.006013, allocations: 0.7575 MB / 415.6 MB, free: 20.51 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.0002442/0.006265, allocations: 448.6 kB / 416.1 MB, free: 20.04 MB / 302.1 MB Notification: Performance of Inline: time 0.0003412/0.006612, allocations: 0.5829 MB / 416.6 MB, free: 19.43 MB / 302.1 MB Notification: Performance of Partitioning: time 2.207e-05/0.00664, allocations: 36.52 kB / 416.7 MB, free: 19.38 MB / 302.1 MB Notification: Performance of Cleanup: time 4.089e-05/0.006686, allocations: 75.91 kB / 416.8 MB, free: 19.3 MB / 302.1 MB Notification: Performance of Causalize: time 0.001106/0.007797, allocations: 1.814 MB / 418.6 MB, free: 17.49 MB / 302.1 MB Notification: Performance of Tearing: time 6.062e-06/0.007812, allocations: 3.984 kB / 418.6 MB, free: 17.48 MB / 302.1 MB Notification: Performance of Initialization: time 4.61e-07/0.007817, allocations: 0 / 418.6 MB, free: 17.48 MB / 302.1 MB Notification: Performance of Tearing: time 1.412e-06/0.007824, allocations: 0 / 418.6 MB, free: 17.48 MB / 302.1 MB Notification: Performance of Categorize: time 7.674e-06/0.007835, allocations: 7.938 kB / 418.6 MB, free: 17.48 MB / 302.1 MB Notification: Performance of Solve: time 0.0001331/0.007972, allocations: 101.6 kB / 418.7 MB, free: 17.38 MB / 302.1 MB Notification: Performance of Jacobian: time 0.0001458/0.008124, allocations: 310 kB / 419 MB, free: 17.04 MB / 302.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 3.205e-05/0.008163, allocations: 42.42 kB / 419 MB, free: 17 MB / 302.1 MB Notification: Performance of SimCode: time 0.0004458/0.008614, allocations: 1.186 MB / 420.2 MB, free: 15.79 MB / 302.1 MB Notification: Performance of Templates: time 0.003502/0.01213, allocations: 2.395 MB / 422.6 MB, free: 13.41 MB / 302.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","../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