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.001342/0.001342, allocations: 117.6 kB / 17.1 MB, free: 5.945 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.001485/0.001484, allocations: 197.4 kB / 18.03 MB, free: 5.027 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.707/1.707, 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.2854/0.2854, allocations: 43.52 MB / 314.8 MB, free: 456 kB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.56e-05/3.561e-05, allocations: 2.281 kB / 442.4 MB, free: 5.73 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.SelfResettingIntegrator): time 0.00235/0.002396, allocations: 0.8167 MB / 443.2 MB, free: 4.918 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002583/0.002668, allocations: 51.81 kB / 443.3 MB, free: 4.867 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.657e-05/0.002763, allocations: 0 / 443.3 MB, free: 4.867 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001403/0.00291, allocations: 7.922 kB / 443.3 MB, free: 4.859 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 2.132e-05/0.002947, allocations: 3.938 kB / 443.3 MB, free: 4.855 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001441/0.003097, allocations: 15.98 kB / 443.3 MB, free: 4.84 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001565/0.00326, allocations: 47.84 kB / 443.4 MB, free: 4.793 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001457/0.003413, allocations: 15.98 kB / 443.4 MB, free: 4.777 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.809e-05/0.003449, allocations: 15.94 kB / 443.4 MB, free: 4.762 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.676e-05/0.0035, allocations: 19.91 kB / 443.4 MB, free: 4.742 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.685e-05/0.003522, allocations: 4 kB / 443.4 MB, free: 4.738 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.297e-05/0.003539, allocations: 4 kB / 443.4 MB, free: 4.734 MB / 318.1 MB Notification: Performance of combineBinaries: time 6.897e-05/0.003612, allocations: 63.12 kB / 443.5 MB, free: 4.672 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 2.638e-05/0.003643, allocations: 43.31 kB / 443.5 MB, free: 4.629 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.17e-05/0.00367, allocations: 8 kB / 443.5 MB, free: 4.621 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.77e-05/0.003702, allocations: 3.984 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.0003582/0.004065, allocations: 296.4 kB / 443.8 MB, free: 4.227 MB / 318.1 MB Notification: Performance of FunctionAlias: time 1.833e-05/0.00409, allocations: 15.89 kB / 443.8 MB, free: 4.211 MB / 318.1 MB Notification: Performance of Early Inline: time 7.521e-05/0.00417, allocations: 104.3 kB / 443.9 MB, free: 4.082 MB / 318.1 MB Notification: Performance of simplify1: time 1.562e-05/0.004192, allocations: 0 / 443.9 MB, free: 4.082 MB / 318.1 MB Notification: Performance of Alias: time 0.0004241/0.00462, allocations: 253.6 kB / 444.2 MB, free: 3.766 MB / 318.1 MB Notification: Performance of simplify2: time 4.178e-06/0.004635, allocations: 8 kB / 444.2 MB, free: 3.758 MB / 318.1 MB Notification: Performance of Events: time 5.067e-05/0.004691, allocations: 15.95 kB / 444.2 MB, free: 3.742 MB / 318.1 MB Notification: Performance of Detect States: time 0.0001312/0.004828, allocations: 41.73 kB / 444.2 MB, free: 3.688 MB / 318.1 MB Notification: Performance of Partitioning: time 5.638e-05/0.004891, allocations: 28.09 kB / 444.3 MB, free: 3.652 MB / 318.1 MB Notification: Performance of Causalize: time 9.196e-05/0.004988, allocations: 64.03 kB / 444.3 MB, free: 3.582 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 5.162e-05/0.005046, allocations: 68.34 kB / 444.4 MB, free: 3.488 MB / 318.1 MB Notification: Performance of Inline: time 0.0001489/0.0052, allocations: 132.4 kB / 444.5 MB, free: 3.324 MB / 318.1 MB Notification: Performance of Partitioning: time 1.543e-05/0.005222, allocations: 12.41 kB / 444.5 MB, free: 3.305 MB / 318.1 MB Notification: Performance of Cleanup: time 1.259e-05/0.005239, allocations: 7.984 kB / 444.6 MB, free: 3.297 MB / 318.1 MB Notification: Performance of Causalize: time 0.0001577/0.005401, allocations: 131.9 kB / 444.7 MB, free: 3.16 MB / 318.1 MB Notification: Performance of Tearing: time 6.432e-06/0.005416, allocations: 0 / 444.7 MB, free: 3.16 MB / 318.1 MB Notification: Performance of Initialization: time 3e-07/0.005421, allocations: 0 / 444.7 MB, free: 3.16 MB / 318.1 MB Notification: Performance of Tearing: time 7.72e-07/0.005426, allocations: 0 / 444.7 MB, free: 3.16 MB / 318.1 MB Notification: Performance of Categorize: time 9.438e-06/0.005439, allocations: 4 kB / 444.7 MB, free: 3.156 MB / 318.1 MB Notification: Performance of Solve: time 4.705e-05/0.005491, allocations: 11.98 kB / 444.7 MB, free: 3.145 MB / 318.1 MB Notification: Performance of Jacobian: time 0.0001426/0.005638, allocations: 194 kB / 444.9 MB, free: 2.918 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 4.807e-05/0.005694, allocations: 20.31 kB / 444.9 MB, free: 2.906 MB / 318.1 MB Notification: Performance of SimCode: time 0.0005684/0.006267, allocations: 0.8487 MB / 445.8 MB, free: 2.035 MB / 318.1 MB Notification: Performance of Templates: time 0.003271/0.00955, allocations: 385.2 kB / 446.1 MB, free: 1.66 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