Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 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.LimResetIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator") translateModel(ModelicaTest.Blocks.LimResetIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001124/0.001125, allocations: 107.9 kB / 17.05 MB, free: 6.035 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.001087/0.001087, allocations: 196.7 kB / 17.99 MB, free: 5.121 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.128/1.128, allocations: 205.1 MB / 223.8 MB, free: 12.26 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.1693/0.1693, allocations: 43.52 MB / 314.7 MB, free: 488 kB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.861e-05/1.863e-05, allocations: 3.484 kB / 384.1 MB, free: 56.36 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimResetIntegrator): time 0.002012/0.002044, allocations: 1.621 MB / 385.7 MB, free: 55.5 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006858/0.002741, allocations: 0.6003 MB / 386.3 MB, free: 55.13 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.031e-05/0.002812, allocations: 3.344 kB / 386.3 MB, free: 55.13 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 8.086e-05/0.002899, allocations: 14.3 kB / 386.3 MB, free: 55.13 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 3.506e-05/0.002941, allocations: 12.92 kB / 386.4 MB, free: 55.13 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002479/0.003198, allocations: 88 kB / 386.4 MB, free: 55.09 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001251/0.003332, allocations: 128.5 kB / 386.6 MB, free: 55.04 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.79e-05/0.003437, allocations: 31.98 kB / 386.6 MB, free: 55.03 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.238e-05/0.003495, allocations: 42.77 kB / 386.6 MB, free: 55.01 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.567e-05/0.003547, allocations: 44.16 kB / 386.7 MB, free: 54.99 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.123e-05/0.003573, allocations: 8.875 kB / 386.7 MB, free: 54.99 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.344e-05/0.003591, allocations: 8.281 kB / 386.7 MB, free: 54.99 MB / 318.1 MB Notification: Performance of combineBinaries: time 7.809e-05/0.003673, allocations: 146.1 kB / 386.8 MB, free: 54.89 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 2.59e-05/0.003705, allocations: 84.66 kB / 386.9 MB, free: 54.83 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.006e-05/0.003729, allocations: 13.88 kB / 386.9 MB, free: 54.82 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.759e-05/0.003751, allocations: 10.66 kB / 387 MB, free: 54.82 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: 15 (15) * Number of variables: 15 (15) Notification: Performance of Bindings: time 0.0003407/0.004096, allocations: 479.8 kB / 387.4 MB, free: 54.4 MB / 318.1 MB Notification: Performance of FunctionAlias: time 2.394e-05/0.004126, allocations: 23.39 kB / 387.4 MB, free: 54.39 MB / 318.1 MB Notification: Performance of Early Inline: time 0.0001376/0.004269, allocations: 200.3 kB / 387.6 MB, free: 54.24 MB / 318.1 MB Notification: Performance of simplify1: time 2.08e-05/0.004295, allocations: 18.61 kB / 387.7 MB, free: 54.23 MB / 318.1 MB Notification: Performance of Alias: time 0.0003312/0.004631, allocations: 368.8 kB / 388 MB, free: 53.94 MB / 318.1 MB Notification: Performance of simplify2: time 1.062e-05/0.00465, allocations: 11.23 kB / 388 MB, free: 53.94 MB / 318.1 MB Notification: Performance of Events: time 7.678e-05/0.004731, allocations: 48.08 kB / 388.1 MB, free: 53.92 MB / 318.1 MB Notification: Performance of Detect States: time 0.0001113/0.004849, allocations: 91.17 kB / 388.2 MB, free: 53.84 MB / 318.1 MB Notification: Performance of Partitioning: time 5.888e-05/0.004915, allocations: 54.81 kB / 388.2 MB, free: 53.81 MB / 318.1 MB Notification: Performance of Causalize: time 0.0002476/0.005169, allocations: 265.2 kB / 388.5 MB, free: 53.7 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 0.0001181/0.005294, allocations: 193.2 kB / 388.7 MB, free: 53.55 MB / 318.1 MB Notification: Performance of Inline: time 0.0002394/0.005539, allocations: 309.8 kB / 389 MB, free: 53.34 MB / 318.1 MB Notification: Performance of Partitioning: time 1.815e-05/0.005565, allocations: 24.81 kB / 389 MB, free: 53.32 MB / 318.1 MB Notification: Performance of Cleanup: time 1.423e-05/0.005584, allocations: 8.141 kB / 389 MB, free: 53.32 MB / 318.1 MB Notification: Performance of Causalize: time 0.000411/0.005999, allocations: 0.522 MB / 389.5 MB, free: 53.05 MB / 318.1 MB Notification: Performance of Tearing: time 4.027e-06/0.006012, allocations: 4.031 kB / 389.5 MB, free: 53.05 MB / 318.1 MB Notification: Performance of Initialization: time 2.71e-07/0.006016, allocations: 0 / 389.5 MB, free: 53.05 MB / 318.1 MB Notification: Performance of Tearing: time 1.443e-06/0.006023, allocations: 1.094 kB / 389.5 MB, free: 53.05 MB / 318.1 MB Notification: Performance of Categorize: time 6.061e-06/0.006033, allocations: 5.062 kB / 389.5 MB, free: 53.05 MB / 318.1 MB Notification: Performance of Solve: time 6.896e-05/0.006106, allocations: 41.91 kB / 389.6 MB, free: 53.04 MB / 318.1 MB Notification: Performance of Jacobian: time 9.743e-05/0.006209, allocations: 234 kB / 389.8 MB, free: 52.81 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: ......... 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 2.343e-05/0.006238, allocations: 25.22 kB / 389.8 MB, free: 52.79 MB / 318.1 MB Notification: Performance of SimCode: time 0.0003789/0.006622, allocations: 0.9586 MB / 390.8 MB, free: 51.97 MB / 318.1 MB Notification: Performance of Templates: time 0.002453/0.009084, allocations: 0.8152 MB / 391.6 MB, free: 51.92 MB / 318.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/LimResetIntegrator/LimResetIntegrator.csv","../files/ModelicaTest_3.2.3_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