Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Blocks.LimResetIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator") translateModel(ModelicaTest.Blocks.LimResetIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001143/0.001143, allocations: 115.6 kB / 18.47 MB, free: 4.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001419/0.001419, allocations: 210.3 kB / 19.42 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.103/1.103, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1659/0.1659, allocations: 46.09 MB / 344.9 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.062e-05/1.064e-05, allocations: 2.281 kB / 481.9 MB, free: 4.152 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimResetIntegrator): time 0.002024/0.002042, allocations: 1.644 MB / 483.5 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008272/0.00288, allocations: 0.5921 MB / 484.1 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.673e-05/0.002958, allocations: 4 kB / 484.1 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 8.64e-05/0.00305, allocations: 15.86 kB / 484.2 MB, free: 1.891 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.81e-05/0.003094, allocations: 7.875 kB / 484.2 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002847/0.003389, allocations: 87.75 kB / 484.3 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001432/0.00354, allocations: 127.7 kB / 484.4 MB, free: 1.672 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.541e-05/0.003644, allocations: 31.97 kB / 484.4 MB, free: 1.641 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.758e-05/0.003717, allocations: 43.84 kB / 484.5 MB, free: 1.598 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.6e-05/0.003778, allocations: 39.78 kB / 484.5 MB, free: 1.559 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.195e-05/0.003805, allocations: 8 kB / 484.5 MB, free: 1.551 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.414e-05/0.003824, allocations: 8 kB / 484.5 MB, free: 1.543 MB / 350.1 MB Notification: Performance of combineBinaries: time 9.43e-05/0.003922, allocations: 142.3 kB / 484.6 MB, free: 1.402 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 3.649e-05/0.003965, allocations: 94.59 kB / 484.7 MB, free: 1.309 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.011e-05/0.00399, allocations: 15.94 kB / 484.8 MB, free: 1.293 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.579e-05/0.00402, allocations: 11.88 kB / 484.8 MB, free: 1.281 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.0004175/0.004442, allocations: 468.4 kB / 485.2 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of FunctionAlias: time 2.244e-05/0.00447, allocations: 23.88 kB / 485.2 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of Early Inline: time 0.0001583/0.004633, allocations: 204.3 kB / 485.4 MB, free: 484 kB / 350.1 MB Notification: Performance of simplify1: time 2.258e-05/0.004661, allocations: 15.98 kB / 485.5 MB, free: 468 kB / 350.1 MB Notification: Performance of Alias: time 0.0004576/0.005124, allocations: 410.1 kB / 485.9 MB, free: 15.97 MB / 366.1 MB Notification: Performance of simplify2: time 1.117e-05/0.005144, allocations: 3.984 kB / 485.9 MB, free: 15.97 MB / 366.1 MB Notification: Performance of Events: time 8.443e-05/0.005233, allocations: 55.73 kB / 485.9 MB, free: 15.91 MB / 366.1 MB Notification: Performance of Detect States: time 0.0001265/0.005366, allocations: 96.11 kB / 486 MB, free: 15.8 MB / 366.1 MB Notification: Performance of Partitioning: time 5.69e-05/0.005431, allocations: 44.06 kB / 486.1 MB, free: 15.75 MB / 366.1 MB Notification: Performance of Causalize: time 0.0001997/0.005636, allocations: 188 kB / 486.2 MB, free: 15.56 MB / 366.1 MB Notification: Performance of After Index Reduction Inline: time 0.00014/0.005783, allocations: 192.2 kB / 486.4 MB, free: 15.35 MB / 366.1 MB Notification: Performance of Inline: time 0.0002803/0.006069, allocations: 306.9 kB / 486.7 MB, free: 15.01 MB / 366.1 MB Notification: Performance of Partitioning: time 2.385e-05/0.006101, allocations: 28.12 kB / 486.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of Cleanup: time 1.306e-05/0.006119, allocations: 11.97 kB / 486.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of Causalize: time 0.00039/0.006514, allocations: 384.1 kB / 487.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of Tearing: time 6.252e-06/0.006528, allocations: 0 / 487.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of Initialization: time 4.71e-07/0.006536, allocations: 4 kB / 487.1 MB, free: 14.58 MB / 366.1 MB Notification: Performance of Tearing: time 1.372e-06/0.006542, allocations: 4 kB / 487.1 MB, free: 14.58 MB / 366.1 MB Notification: Performance of Categorize: time 4.729e-06/0.006551, allocations: 0 / 487.1 MB, free: 14.58 MB / 366.1 MB Notification: Performance of Solve: time 6.682e-05/0.006621, allocations: 39.95 kB / 487.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of Jacobian: time 0.0001388/0.006765, allocations: 222 kB / 487.4 MB, free: 14.29 MB / 366.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.526e-05/0.006797, allocations: 21.5 kB / 487.4 MB, free: 14.27 MB / 366.1 MB Notification: Performance of SimCode: time 0.000496/0.007297, allocations: 0.9556 MB / 488.4 MB, free: 13.28 MB / 366.1 MB Notification: Performance of Templates: time 0.00237/0.009676, allocations: 0.8304 MB / 489.2 MB, free: 12.45 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_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