Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.LimResetIntegrator.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.LimResetIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.LimResetIntegrator") translateModel(ModelicaTest.Blocks.LimResetIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.LimResetIntegrator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001155/0.001155, allocations: 111.2 kB / 18.46 MB, free: 4.582 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.00116/0.00116, allocations: 193.3 kB / 19.4 MB, free: 3.656 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.395/1.395, allocations: 222.9 MB / 243.1 MB, free: 15.17 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.2329/0.2329, allocations: 44.19 MB / 337.4 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.902e-05/2.903e-05, allocations: 4.391 kB / 471.1 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimResetIntegrator): time 0.002951/0.00299, allocations: 1.623 MB / 472.8 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00104/0.004044, allocations: 0.5571 MB / 473.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.774e-05/0.004152, allocations: 4 kB / 473.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001253/0.004284, allocations: 11.86 kB / 473.3 MB, free: 11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.008e-05/0.004341, allocations: 11.88 kB / 473.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003685/0.004729, allocations: 87.75 kB / 473.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001884/0.004927, allocations: 131.7 kB / 473.6 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001324/0.005067, allocations: 31.97 kB / 473.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.771e-05/0.005153, allocations: 47.84 kB / 473.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.15e-05/0.005231, allocations: 39.78 kB / 473.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.287e-05/0.005259, allocations: 8 kB / 473.7 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.7e-05/0.005281, allocations: 8 kB / 473.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.0001218/0.005409, allocations: 146.3 kB / 473.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 5.209e-05/0.005467, allocations: 90.59 kB / 473.9 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.01e-05/0.005502, allocations: 15.94 kB / 473.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.327e-05/0.005543, allocations: 11.88 kB / 474 MB, free: 10.38 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: 15 (15) * Number of variables: 15 (15) Notification: Performance of Bindings: time 0.0005846/0.006132, allocations: 476.3 kB / 474.4 MB, free: 9.812 MB / 350.1 MB Notification: Performance of FunctionAlias: time 3.286e-05/0.006174, allocations: 23.94 kB / 474.4 MB, free: 9.789 MB / 350.1 MB Notification: Performance of Early Inline: time 0.0002052/0.006384, allocations: 196.2 kB / 474.6 MB, free: 9.57 MB / 350.1 MB Notification: Performance of simplify1: time 3.359e-05/0.006425, allocations: 23.91 kB / 474.7 MB, free: 9.547 MB / 350.1 MB Notification: Performance of Alias: time 0.0005958/0.007026, allocations: 406.1 kB / 475.1 MB, free: 9.066 MB / 350.1 MB Notification: Performance of simplify2: time 1.67e-05/0.007052, allocations: 11.97 kB / 475.1 MB, free: 9.055 MB / 350.1 MB Notification: Performance of Events: time 0.0001223/0.007179, allocations: 47.86 kB / 475.1 MB, free: 9.008 MB / 350.1 MB Notification: Performance of Detect States: time 0.0002133/0.007399, allocations: 96.11 kB / 475.2 MB, free: 8.898 MB / 350.1 MB Notification: Performance of Partitioning: time 0.0001096/0.007519, allocations: 44.11 kB / 475.2 MB, free: 8.848 MB / 350.1 MB Notification: Performance of Causalize: time 0.0002822/0.007813, allocations: 183.9 kB / 475.4 MB, free: 8.66 MB / 350.1 MB Notification: Performance of After Index Reduction Inline: time 0.000212/0.008034, allocations: 192.2 kB / 475.6 MB, free: 8.445 MB / 350.1 MB Notification: Performance of Inline: time 0.0004461/0.008488, allocations: 314.8 kB / 475.9 MB, free: 8.105 MB / 350.1 MB Notification: Performance of Partitioning: time 3.616e-05/0.008534, allocations: 24.12 kB / 475.9 MB, free: 8.074 MB / 350.1 MB Notification: Performance of Cleanup: time 2.483e-05/0.008568, allocations: 15.92 kB / 476 MB, free: 8.059 MB / 350.1 MB Notification: Performance of Causalize: time 0.0005234/0.009097, allocations: 379.8 kB / 476.3 MB, free: 7.684 MB / 350.1 MB Notification: Performance of Tearing: time 1.534e-05/0.009126, allocations: 7.984 kB / 476.3 MB, free: 7.676 MB / 350.1 MB Notification: Performance of Initialization: time 3.11e-07/0.009132, allocations: 0 / 476.3 MB, free: 7.676 MB / 350.1 MB Notification: Performance of Tearing: time 2.986e-06/0.00915, allocations: 7.938 kB / 476.4 MB, free: 7.668 MB / 350.1 MB Notification: Performance of Categorize: time 1.238e-05/0.009167, allocations: 0 / 476.4 MB, free: 7.668 MB / 350.1 MB Notification: Performance of Solve: time 0.0001018/0.009275, allocations: 39.95 kB / 476.4 MB, free: 7.629 MB / 350.1 MB Notification: Performance of Jacobian: time 0.0002781/0.009561, allocations: 218 kB / 476.6 MB, free: 7.379 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: ......... 0 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 1 (1) {integrator.y} * Number of discrete states: .................... 1 (1) {booleanPulse.pulseStart} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 6 (6) {switch.u2, change.y, $SEV_1, $SEV_0, $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: ........... 8 (scalar:8, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:0, when:1, 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: ........... 19 (scalar:19, 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 7.619e-05/0.009647, allocations: 38.11 kB / 476.6 MB, free: 7.344 MB / 350.1 MB Notification: Performance of SimCode: time 0.001029/0.01068, allocations: 0.9517 MB / 477.6 MB, free: 6.363 MB / 350.1 MB Notification: Performance of Templates: time 0.004009/0.01471, allocations: 0.8676 MB / 478.5 MB, free: 5.5 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.LimResetIntegrator.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.LimResetIntegrator.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.LimResetIntegrator.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.LimResetIntegrator.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.LimResetIntegrator.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.LimResetIntegrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.LimResetIntegrator.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.LimResetIntegrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/LimResetIntegrator/LimResetIntegrator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Blocks.LimResetIntegrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,integrator.y Variables in the result:booleanPulse.period,booleanPulse.startTime,booleanPulse.width,change.pre_u_start,const1.k,const1.y,constMinus1.k,constMinus1.y,integrator.initType,integrator.k,integrator.limitsAtInit,integrator.outMax,integrator.outMin,integrator.strict,integrator.y,integrator.y_start,switch.u1,switch.u3,time