Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 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.Limiters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|slewRateLimiter.y|limiter.y|variableLimiter.y|deadZone.y|sine.y|constPos.y|constNeg.y|slewRateLimiter.y|idealDerivative.y",fileNamePrefix="ModelicaTest_3.2.3_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|slewRateLimiter.y|idealDerivative.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001363/0.001363, allocations: 111.1 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.00138/0.00138, allocations: 198.7 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 2.007/2.007, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.2769/0.2769, allocations: 43.53 MB / 314.8 MB, free: 464 kB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 6.044e-05/6.046e-05, allocations: 5.797 kB / 442.4 MB, free: 5.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.006006/0.006086, allocations: 1.694 MB / 444.1 MB, free: 4.035 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002007/0.008121, allocations: 0.6398 MB / 444.7 MB, free: 3.387 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003072/0.008455, allocations: 4 kB / 444.8 MB, free: 3.383 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 9.67e-05/0.00857, allocations: 11.86 kB / 444.8 MB, free: 3.371 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002537/0.008837, allocations: 23.73 kB / 444.8 MB, free: 3.348 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007963/0.009717, allocations: 142.5 kB / 444.9 MB, free: 3.211 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004046/0.01013, allocations: 171.6 kB / 445.1 MB, free: 3.043 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002136/0.01036, allocations: 33.11 kB / 445.1 MB, free: 3.012 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002262/0.0106, allocations: 71.81 kB / 445.2 MB, free: 2.941 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002016/0.01082, allocations: 63.62 kB / 445.3 MB, free: 2.879 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.146e-05/0.0109, allocations: 12 kB / 445.3 MB, free: 2.867 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.582e-05/0.01096, allocations: 16 kB / 445.3 MB, free: 2.852 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0002195/0.01119, allocations: 213.5 kB / 445.5 MB, free: 2.641 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 6.393e-05/0.01126, allocations: 122.1 kB / 445.6 MB, free: 2.52 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.638e-05/0.01132, allocations: 15.94 kB / 445.6 MB, free: 2.504 MB / 318.1 MB Notification: Performance of FrontEnd: time 5.755e-05/0.01139, allocations: 4 kB / 445.6 MB, free: 2.5 MB / 318.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.0008887/0.01228, allocations: 0.7019 MB / 446.3 MB, free: 1.695 MB / 318.1 MB Notification: Performance of FunctionAlias: time 0.000113/0.01241, allocations: 35.86 kB / 446.4 MB, free: 1.66 MB / 318.1 MB Notification: Performance of Early Inline: time 0.0003108/0.01273, allocations: 292.1 kB / 446.7 MB, free: 1.348 MB / 318.1 MB Notification: Performance of simplify1: time 6.505e-05/0.0128, allocations: 31.95 kB / 446.7 MB, free: 1.316 MB / 318.1 MB Notification: Performance of Alias: time 0.0008436/0.01366, allocations: 458.3 kB / 447.1 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of simplify2: time 6.156e-05/0.01373, allocations: 31.94 kB / 447.2 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of Events: time 0.0003061/0.01405, allocations: 175.9 kB / 447.3 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of Detect States: time 0.0003029/0.01436, allocations: 160.1 kB / 447.5 MB, free: 432 kB / 318.1 MB Notification: Performance of Partitioning: time 0.0002222/0.0146, allocations: 146.5 kB / 447.6 MB, free: 256 kB / 318.1 MB Notification: Performance of Causalize: time 0.0008903/0.0155, allocations: 0.5179 MB / 448.2 MB, free: 15.71 MB / 334.1 MB Notification: Performance of After Index Reduction Inline: time 0.0006263/0.01614, allocations: 444 kB / 448.6 MB, free: 15.25 MB / 334.1 MB Notification: Performance of Inline: time 0.0009766/0.01712, allocations: 0.5984 MB / 449.2 MB, free: 14.61 MB / 334.1 MB Notification: Performance of Partitioning: time 6.312e-05/0.0172, allocations: 28.12 kB / 449.2 MB, free: 14.58 MB / 334.1 MB Notification: Performance of Cleanup: time 0.0001527/0.01736, allocations: 75.92 kB / 449.3 MB, free: 14.5 MB / 334.1 MB Notification: Performance of Causalize: time 0.002618/0.01999, allocations: 1.425 MB / 450.7 MB, free: 13.06 MB / 334.1 MB Notification: Performance of Tearing: time 1.184e-05/0.02002, allocations: 0 / 450.7 MB, free: 13.06 MB / 334.1 MB Notification: Performance of Initialization: time 9.32e-07/0.02003, allocations: 4 kB / 450.7 MB, free: 13.06 MB / 334.1 MB Notification: Performance of Tearing: time 6.622e-06/0.02005, allocations: 0 / 450.7 MB, free: 13.06 MB / 334.1 MB Notification: Performance of Categorize: time 1.854e-05/0.02007, allocations: 4 kB / 450.7 MB, free: 13.05 MB / 334.1 MB Notification: Performance of Solve: time 0.0002802/0.02036, allocations: 105.5 kB / 450.8 MB, free: 12.95 MB / 334.1 MB Notification: Performance of Jacobian: time 0.0004099/0.02078, allocations: 294 kB / 451.1 MB, free: 12.63 MB / 334.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 9.324e-05/0.02089, allocations: 28.73 kB / 451.1 MB, free: 12.6 MB / 334.1 MB Notification: Performance of SimCode: time 0.001481/0.02239, allocations: 1.205 MB / 452.3 MB, free: 11.38 MB / 334.1 MB Notification: Performance of Templates: time 0.008369/0.03077, allocations: 2.507 MB / 454.8 MB, free: 8.875 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/Limiters/Limiters.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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,slewRateLimiter.y,idealDerivative.y Variables in the result:constNeg.k,constNeg.y,constPos.k,constPos.y,deadZone.deadZoneAtInit,deadZone.uMax,deadZone.uMin,deadZone.y,idealDerivative.y,limiter.homotopyType,limiter.limitsAtInit,limiter.strict,limiter.uMax,limiter.uMin,limiter.y,sine.amplitude,sine.freqHz,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.limitsAtInit,variableLimiter.simplifiedExpr,variableLimiter.strict,variableLimiter.y,variableLimiter.ySimplified