Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 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.SelfResettingIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator") translateModel(ModelicaTest.Blocks.SelfResettingIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001218/0.001218, allocations: 114.8 kB / 17.1 MB, free: 5.969 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.001419/0.001419, allocations: 196.2 kB / 18.03 MB, free: 5.051 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.543/1.543, allocations: 205.1 MB / 223.9 MB, free: 12.22 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.2677/0.2677, allocations: 43.53 MB / 314.8 MB, free: 448 kB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.003e-05/4.004e-05, allocations: 2.281 kB / 442.4 MB, free: 5.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.SelfResettingIntegrator): time 0.002614/0.002663, allocations: 0.8167 MB / 443.2 MB, free: 4.922 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003235/0.003001, allocations: 51.83 kB / 443.3 MB, free: 4.871 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001164/0.003127, allocations: 0 / 443.3 MB, free: 4.871 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001729/0.003308, allocations: 7.922 kB / 443.3 MB, free: 4.863 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 3.983e-05/0.003379, allocations: 7.922 kB / 443.3 MB, free: 4.855 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001696/0.003554, allocations: 15.98 kB / 443.3 MB, free: 4.84 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001689/0.00373, allocations: 47.84 kB / 443.4 MB, free: 4.793 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001512/0.003889, allocations: 15.98 kB / 443.4 MB, free: 4.777 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.121e-05/0.003936, allocations: 15.92 kB / 443.4 MB, free: 4.762 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.581e-05/0.003989, allocations: 19.92 kB / 443.4 MB, free: 4.742 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.004012, allocations: 4 kB / 443.4 MB, free: 4.738 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.163e-05/0.004029, allocations: 0 / 443.4 MB, free: 4.738 MB / 318.1 MB Notification: Performance of combineBinaries: time 7.373e-05/0.004107, allocations: 67.17 kB / 443.5 MB, free: 4.672 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 2.399e-05/0.004137, allocations: 43.31 kB / 443.5 MB, free: 4.629 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.734e-05/0.00417, allocations: 8 kB / 443.5 MB, free: 4.621 MB / 318.1 MB Notification: Performance of FrontEnd: time 5.08e-05/0.004225, allocations: 3.938 kB / 443.5 MB, free: 4.617 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: 8 (8) * Number of variables: 8 (8) Notification: Performance of Bindings: time 0.0004926/0.004723, allocations: 296.4 kB / 443.8 MB, free: 4.227 MB / 318.1 MB Notification: Performance of FunctionAlias: time 3.598e-05/0.004766, allocations: 11.89 kB / 443.8 MB, free: 4.215 MB / 318.1 MB Notification: Performance of Early Inline: time 0.0001006/0.004872, allocations: 100.4 kB / 443.9 MB, free: 4.09 MB / 318.1 MB Notification: Performance of simplify1: time 3.075e-05/0.004908, allocations: 0 / 443.9 MB, free: 4.09 MB / 318.1 MB Notification: Performance of Alias: time 0.0005273/0.00544, allocations: 257.3 kB / 444.2 MB, free: 3.77 MB / 318.1 MB Notification: Performance of simplify2: time 1.175e-05/0.005462, allocations: 8.172 kB / 444.2 MB, free: 3.762 MB / 318.1 MB Notification: Performance of Detect States: time 0.0001428/0.005611, allocations: 51.7 kB / 444.2 MB, free: 3.699 MB / 318.1 MB Notification: Performance of Events: time 6.382e-05/0.005682, allocations: 12 kB / 444.3 MB, free: 3.688 MB / 318.1 MB Notification: Performance of Partitioning: time 5.299e-05/0.005741, allocations: 24.06 kB / 444.3 MB, free: 3.656 MB / 318.1 MB Notification: Performance of Causalize: time 9.751e-05/0.005845, allocations: 56 kB / 444.3 MB, free: 3.594 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 6.009e-05/0.005914, allocations: 80.34 kB / 444.4 MB, free: 3.488 MB / 318.1 MB Notification: Performance of Inline: time 0.000166/0.006086, allocations: 128.7 kB / 444.5 MB, free: 3.328 MB / 318.1 MB Notification: Performance of Partitioning: time 1.743e-05/0.006113, allocations: 12.12 kB / 444.6 MB, free: 3.309 MB / 318.1 MB Notification: Performance of Cleanup: time 8.576e-06/0.006127, allocations: 0 / 444.6 MB, free: 3.309 MB / 318.1 MB Notification: Performance of Causalize: time 0.0001681/0.006299, allocations: 143.9 kB / 444.7 MB, free: 3.16 MB / 318.1 MB Notification: Performance of Tearing: time 1.374e-05/0.006322, allocations: 0 / 444.7 MB, free: 3.16 MB / 318.1 MB Notification: Performance of Initialization: time 1.021e-06/0.006327, allocations: 0 / 444.7 MB, free: 3.16 MB / 318.1 MB Notification: Performance of Tearing: time 1.322e-06/0.006333, allocations: 0 / 444.7 MB, free: 3.16 MB / 318.1 MB Notification: Performance of Categorize: time 1.056e-05/0.006348, allocations: 0 / 444.7 MB, free: 3.16 MB / 318.1 MB Notification: Performance of Solve: time 5.018e-05/0.006402, allocations: 15.98 kB / 444.7 MB, free: 3.145 MB / 318.1 MB Notification: Performance of Jacobian: time 0.0001476/0.006554, allocations: 190.1 kB / 444.9 MB, free: 2.922 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: .................... 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 5.117e-05/0.006612, allocations: 21.59 kB / 444.9 MB, free: 2.906 MB / 318.1 MB Notification: Performance of SimCode: time 0.0006086/0.007225, allocations: 0.8295 MB / 445.7 MB, free: 2.055 MB / 318.1 MB Notification: Performance of Templates: time 0.003296/0.01054, allocations: 389.3 kB / 446.1 MB, free: 1.676 MB / 318.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/SelfResettingIntegrator/SelfResettingIntegrator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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