Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.SelfResettingIntegrator.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.SelfResettingIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.SelfResettingIntegrator") translateModel(ModelicaTest.Blocks.SelfResettingIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.SelfResettingIntegrator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001305/0.001305, allocations: 119 kB / 18.47 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001411/0.001411, allocations: 213.1 kB / 19.42 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.101/1.101, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1668/0.1668, allocations: 46.09 MB / 345 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.676e-06/8.686e-06, allocations: 2.281 kB / 481.9 MB, free: 4.145 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.SelfResettingIntegrator): time 0.001307/0.001323, allocations: 0.8183 MB / 482.7 MB, free: 3.332 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001506/0.001484, allocations: 51.81 kB / 482.8 MB, free: 3.281 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.528e-05/0.001538, allocations: 0 / 482.8 MB, free: 3.281 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 8.524e-05/0.001629, allocations: 11.92 kB / 482.8 MB, free: 3.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 1.452e-05/0.00165, allocations: 3.938 kB / 482.8 MB, free: 3.266 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.6e-05/0.001744, allocations: 11.98 kB / 482.8 MB, free: 3.254 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.121e-05/0.001842, allocations: 43.91 kB / 482.8 MB, free: 3.211 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.145e-05/0.00193, allocations: 23.91 kB / 482.9 MB, free: 3.188 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.956e-05/0.001955, allocations: 11.98 kB / 482.9 MB, free: 3.176 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.299e-05/0.001994, allocations: 19.88 kB / 482.9 MB, free: 3.156 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.07e-05/0.002009, allocations: 0 / 482.9 MB, free: 3.156 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.366e-06/0.002021, allocations: 4 kB / 482.9 MB, free: 3.152 MB / 350.1 MB Notification: Performance of combineBinaries: time 4.751e-05/0.002073, allocations: 63.17 kB / 483 MB, free: 3.09 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 1.46e-05/0.002094, allocations: 39.38 kB / 483 MB, free: 3.051 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.505e-05/0.002113, allocations: 11.94 kB / 483 MB, free: 3.039 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.797e-05/0.002135, allocations: 4 kB / 483 MB, free: 3.035 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.0002909/0.00243, allocations: 296.3 kB / 483.3 MB, free: 2.645 MB / 350.1 MB Notification: Performance of FunctionAlias: time 1.5e-05/0.002451, allocations: 11.95 kB / 483.3 MB, free: 2.633 MB / 350.1 MB Notification: Performance of Early Inline: time 7.82e-05/0.002534, allocations: 96.28 kB / 483.4 MB, free: 2.512 MB / 350.1 MB Notification: Performance of simplify1: time 1.511e-05/0.002554, allocations: 7.984 kB / 483.4 MB, free: 2.504 MB / 350.1 MB Notification: Performance of Alias: time 0.0003209/0.002879, allocations: 249.5 kB / 483.7 MB, free: 2.191 MB / 350.1 MB Notification: Performance of simplify2: time 6.402e-06/0.002893, allocations: 12.09 kB / 483.7 MB, free: 2.18 MB / 350.1 MB Notification: Performance of Events: time 3.327e-05/0.002933, allocations: 19.89 kB / 483.7 MB, free: 2.16 MB / 350.1 MB Notification: Performance of Detect States: time 7.229e-05/0.00301, allocations: 41.27 kB / 483.7 MB, free: 2.109 MB / 350.1 MB Notification: Performance of Partitioning: time 3.058e-05/0.003049, allocations: 24.12 kB / 483.8 MB, free: 2.078 MB / 350.1 MB Notification: Performance of Causalize: time 7.871e-05/0.003132, allocations: 60.02 kB / 483.8 MB, free: 2.012 MB / 350.1 MB Notification: Performance of After Index Reduction Inline: time 4.587e-05/0.003187, allocations: 68.36 kB / 483.9 MB, free: 1.918 MB / 350.1 MB Notification: Performance of Inline: time 0.0001195/0.003311, allocations: 132.7 kB / 484 MB, free: 1.754 MB / 350.1 MB Notification: Performance of Partitioning: time 1.426e-05/0.003332, allocations: 20.09 kB / 484 MB, free: 1.727 MB / 350.1 MB Notification: Performance of Cleanup: time 7.815e-06/0.003344, allocations: 7.938 kB / 484 MB, free: 1.719 MB / 350.1 MB Notification: Performance of Causalize: time 0.000133/0.003481, allocations: 132 kB / 484.2 MB, free: 1.582 MB / 350.1 MB Notification: Performance of Tearing: time 5.5e-06/0.003494, allocations: 0 / 484.2 MB, free: 1.582 MB / 350.1 MB Notification: Performance of Initialization: time 3.61e-07/0.003498, allocations: 0 / 484.2 MB, free: 1.582 MB / 350.1 MB Notification: Performance of Tearing: time 8.496e-06/0.00351, allocations: 4 kB / 484.2 MB, free: 1.578 MB / 350.1 MB Notification: Performance of Categorize: time 5.631e-06/0.003519, allocations: 3.938 kB / 484.2 MB, free: 1.574 MB / 350.1 MB Notification: Performance of Solve: time 3.186e-05/0.003555, allocations: 15.98 kB / 484.2 MB, free: 1.559 MB / 350.1 MB Notification: Performance of Jacobian: time 9.506e-05/0.003654, allocations: 182.1 kB / 484.4 MB, free: 1.344 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 3.148e-05/0.003691, allocations: 23.95 kB / 484.4 MB, free: 1.324 MB / 350.1 MB Notification: Performance of SimCode: time 0.0003941/0.004089, allocations: 0.8329 MB / 485.2 MB, free: 476 kB / 350.1 MB Notification: Performance of Templates: time 0.001734/0.005834, allocations: 385.3 kB / 485.6 MB, free: 92 kB / 350.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.SelfResettingIntegrator.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.SelfResettingIntegrator.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.SelfResettingIntegrator.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.SelfResettingIntegrator.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.SelfResettingIntegrator.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.SelfResettingIntegrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.SelfResettingIntegrator.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_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