Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.SelfResettingIntegrator.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.SelfResettingIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.SelfResettingIntegrator") translateModel(ModelicaTest.Blocks.SelfResettingIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.SelfResettingIntegrator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001503/0.001502, allocations: 106.8 kB / 18.46 MB, free: 4.594 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.001648/0.001648, allocations: 181.2 kB / 19.39 MB, free: 3.672 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.375/1.375, allocations: 222.9 MB / 243.1 MB, free: 15.06 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.2372/0.2372, allocations: 44.19 MB / 337.4 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.722e-05/2.723e-05, allocations: 3.406 kB / 471.1 MB, free: 13.22 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.SelfResettingIntegrator): time 0.002086/0.002121, allocations: 0.8222 MB / 472 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002755/0.002409, allocations: 47.83 kB / 472 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001063/0.002524, allocations: 0 / 472 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001666/0.002698, allocations: 7.875 kB / 472 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.711e-05/0.002737, allocations: 0 / 472 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001532/0.002895, allocations: 23.91 kB / 472 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001673/0.003071, allocations: 43.91 kB / 472.1 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000149/0.003228, allocations: 19.98 kB / 472.1 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.875e-05/0.003273, allocations: 11.94 kB / 472.1 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.449e-05/0.003332, allocations: 19.86 kB / 472.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.094e-05/0.003358, allocations: 4 kB / 472.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.332e-05/0.003376, allocations: 4 kB / 472.1 MB, free: 12.22 MB / 350.1 MB Notification: Performance of combineBinaries: time 8.732e-05/0.003471, allocations: 63.16 kB / 472.2 MB, free: 12.16 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 3.07e-05/0.003507, allocations: 47.31 kB / 472.3 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.349e-05/0.003537, allocations: 11.94 kB / 472.3 MB, free: 12.1 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.793e-05/0.003569, allocations: 0 / 472.3 MB, free: 12.1 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: 8 (8) * Number of variables: 8 (8) Notification: Performance of Bindings: time 0.0004815/0.004054, allocations: 295.3 kB / 472.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of FunctionAlias: time 3.193e-05/0.004092, allocations: 11.92 kB / 472.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of Early Inline: time 0.000137/0.004234, allocations: 108.3 kB / 472.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of simplify1: time 2.567e-05/0.004266, allocations: 7.984 kB / 472.7 MB, free: 11.56 MB / 350.1 MB Notification: Performance of Alias: time 0.0005035/0.004774, allocations: 241.7 kB / 472.9 MB, free: 11.26 MB / 350.1 MB Notification: Performance of simplify2: time 4.338e-06/0.004788, allocations: 0 / 472.9 MB, free: 11.26 MB / 350.1 MB Notification: Performance of Detect States: time 0.0004086/0.005202, allocations: 48.05 kB / 473 MB, free: 11.2 MB / 350.1 MB Notification: Performance of Events: time 6.235e-05/0.005273, allocations: 15.98 kB / 473 MB, free: 11.18 MB / 350.1 MB Notification: Performance of Partitioning: time 5.18e-05/0.005333, allocations: 28.11 kB / 473 MB, free: 11.14 MB / 350.1 MB Notification: Performance of Causalize: time 9.158e-05/0.00543, allocations: 56.08 kB / 473.1 MB, free: 11.08 MB / 350.1 MB Notification: Performance of After Index Reduction Inline: time 6.064e-05/0.005498, allocations: 68.34 kB / 473.1 MB, free: 10.99 MB / 350.1 MB Notification: Performance of Inline: time 0.0001531/0.005656, allocations: 124.5 kB / 473.2 MB, free: 10.83 MB / 350.1 MB Notification: Performance of Partitioning: time 2.154e-05/0.005687, allocations: 28.33 kB / 473.3 MB, free: 10.8 MB / 350.1 MB Notification: Performance of Cleanup: time 1.275e-05/0.005705, allocations: 7.938 kB / 473.3 MB, free: 10.79 MB / 350.1 MB Notification: Performance of Causalize: time 0.0001653/0.005875, allocations: 120.3 kB / 473.4 MB, free: 10.66 MB / 350.1 MB Notification: Performance of Tearing: time 1.248e-05/0.005896, allocations: 0 / 473.4 MB, free: 10.66 MB / 350.1 MB Notification: Performance of Initialization: time 2.81e-07/0.005901, allocations: 0 / 473.4 MB, free: 10.66 MB / 350.1 MB Notification: Performance of Tearing: time 1.002e-06/0.005906, allocations: 240 / 473.4 MB, free: 10.66 MB / 350.1 MB Notification: Performance of Categorize: time 1.068e-05/0.005921, allocations: 4 kB / 473.4 MB, free: 10.66 MB / 350.1 MB Notification: Performance of Solve: time 4.298e-05/0.00597, allocations: 23.91 kB / 473.4 MB, free: 10.64 MB / 350.1 MB Notification: Performance of Jacobian: time 0.0001474/0.006122, allocations: 190 kB / 473.6 MB, free: 10.41 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: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 2 (2) {greaterEqualThreshold.y, $SEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 3 (scalar:3, 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: ........... 7 (scalar:7, 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 4.125e-05/0.006172, allocations: 22.09 kB / 473.6 MB, free: 10.39 MB / 350.1 MB Notification: Performance of SimCode: time 0.0006137/0.00679, allocations: 0.8396 MB / 474.5 MB, free: 9.535 MB / 350.1 MB Notification: Performance of Templates: time 0.002266/0.009067, allocations: 372.9 kB / 474.8 MB, free: 9.172 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.SelfResettingIntegrator.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.SelfResettingIntegrator.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.SelfResettingIntegrator.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.SelfResettingIntegrator.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.SelfResettingIntegrator.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.SelfResettingIntegrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.SelfResettingIntegrator.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.SelfResettingIntegrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/SelfResettingIntegrator/SelfResettingIntegrator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Blocks.SelfResettingIntegrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,integrator.y Variables in the result:const.k,const.y,greaterEqualThreshold.threshold,integrator.initType,integrator.k,integrator.u,integrator.y,integrator.y_start,time