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.001038/0.001038, allocations: 108 kB / 18.46 MB, free: 4.461 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.001013/0.001013, allocations: 194.5 kB / 19.39 MB, free: 3.539 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.349/1.349, allocations: 222.9 MB / 243.1 MB, free: 15.09 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.2274/0.2274, allocations: 44.17 MB / 337.4 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.212e-05/3.214e-05, allocations: 2.281 kB / 471.1 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.SelfResettingIntegrator): time 0.002925/0.002968, allocations: 0.8156 MB / 472 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003448/0.003329, allocations: 47.86 kB / 472 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001187/0.003458, allocations: 3.938 kB / 472 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001276/0.003593, allocations: 7.938 kB / 472 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.598e-05/0.003654, allocations: 3.938 kB / 472 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001588/0.003818, allocations: 19.98 kB / 472 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001557/0.003981, allocations: 39.91 kB / 472.1 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001352/0.004126, allocations: 23.97 kB / 472.1 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.087e-05/0.004173, allocations: 15.92 kB / 472.1 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.808e-05/0.004226, allocations: 15.86 kB / 472.1 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.784e-05/0.00425, allocations: 4 kB / 472.1 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.129e-05/0.004266, allocations: 4 kB / 472.1 MB, free: 12.24 MB / 350.1 MB Notification: Performance of combineBinaries: time 9.581e-05/0.004367, allocations: 59.23 kB / 472.2 MB, free: 12.18 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 2.827e-05/0.004403, allocations: 47.31 kB / 472.2 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.336e-05/0.004431, allocations: 7.938 kB / 472.3 MB, free: 12.12 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.655e-05/0.004483, allocations: 8 kB / 472.3 MB, free: 12.12 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.0004915/0.00498, allocations: 287.1 kB / 472.5 MB, free: 11.74 MB / 350.1 MB Notification: Performance of FunctionAlias: time 3.427e-05/0.005025, allocations: 15.92 kB / 472.6 MB, free: 11.72 MB / 350.1 MB Notification: Performance of Early Inline: time 0.000128/0.005158, allocations: 108.2 kB / 472.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of simplify1: time 2.318e-05/0.005188, allocations: 4 kB / 472.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of Alias: time 0.000516/0.00571, allocations: 261.7 kB / 472.9 MB, free: 11.26 MB / 350.1 MB Notification: Performance of simplify2: time 7.163e-06/0.005728, allocations: 0 / 472.9 MB, free: 11.26 MB / 350.1 MB Notification: Performance of Events: time 6.104e-05/0.005794, allocations: 11.94 kB / 472.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of Detect States: time 0.0001564/0.005956, allocations: 48.19 kB / 473 MB, free: 11.19 MB / 350.1 MB Notification: Performance of Partitioning: time 6.043e-05/0.006026, allocations: 24.11 kB / 473 MB, free: 11.16 MB / 350.1 MB Notification: Performance of Causalize: time 0.0001035/0.006135, allocations: 44.09 kB / 473 MB, free: 11.11 MB / 350.1 MB Notification: Performance of After Index Reduction Inline: time 8.459e-05/0.006228, allocations: 76.61 kB / 473.1 MB, free: 11 MB / 350.1 MB Notification: Performance of Inline: time 0.000166/0.006402, allocations: 128.4 kB / 473.2 MB, free: 10.84 MB / 350.1 MB Notification: Performance of Partitioning: time 1.858e-05/0.006442, allocations: 24.05 kB / 473.3 MB, free: 10.81 MB / 350.1 MB Notification: Performance of Cleanup: time 9.658e-06/0.006456, allocations: 3.938 kB / 473.3 MB, free: 10.81 MB / 350.1 MB Notification: Performance of Causalize: time 0.0001783/0.00664, allocations: 136 kB / 473.4 MB, free: 10.67 MB / 350.1 MB Notification: Performance of Tearing: time 6.963e-06/0.006656, allocations: 0 / 473.4 MB, free: 10.67 MB / 350.1 MB Notification: Performance of Initialization: time 8.92e-07/0.006662, allocations: 0 / 473.4 MB, free: 10.67 MB / 350.1 MB Notification: Performance of Tearing: time 3.246e-06/0.00667, allocations: 4 kB / 473.4 MB, free: 10.66 MB / 350.1 MB Notification: Performance of Categorize: time 7.454e-06/0.006684, allocations: 4 kB / 473.4 MB, free: 10.66 MB / 350.1 MB Notification: Performance of Solve: time 4.93e-05/0.006738, allocations: 19.92 kB / 473.4 MB, free: 10.64 MB / 350.1 MB Notification: Performance of Jacobian: time 0.0001544/0.006898, allocations: 186 kB / 473.6 MB, free: 10.42 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.701e-05/0.006952, allocations: 25.14 kB / 473.6 MB, free: 10.4 MB / 350.1 MB Notification: Performance of SimCode: time 0.0006557/0.007614, allocations: 0.8329 MB / 474.5 MB, free: 9.547 MB / 350.1 MB Notification: Performance of Templates: time 0.002576/0.0102, allocations: 401.2 kB / 474.9 MB, free: 9.156 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