Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.ResetHoldIntegrator.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.ResetHoldIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.ResetHoldIntegrator") translateModel(ModelicaTest.Blocks.ResetHoldIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.ResetHoldIntegrator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001177/0.001177, allocations: 111.3 kB / 18.47 MB, free: 4.703 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.001186/0.001186, allocations: 193.3 kB / 19.4 MB, free: 3.777 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.363/1.363, allocations: 222.9 MB / 243.1 MB, free: 15.07 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.2268/0.2268, allocations: 44.18 MB / 337.4 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.542e-05/2.543e-05, allocations: 2.281 kB / 471.1 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ResetHoldIntegrator): time 0.002803/0.002837, allocations: 1.619 MB / 472.8 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008276/0.003678, allocations: 490.7 kB / 473.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.496e-05/0.003774, allocations: 4 kB / 473.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001299/0.00391, allocations: 11.86 kB / 473.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.741e-05/0.003963, allocations: 11.86 kB / 473.3 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001825/0.00416, allocations: 31.91 kB / 473.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001601/0.004328, allocations: 95.75 kB / 473.4 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001248/0.004462, allocations: 32.2 kB / 473.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.066e-05/0.004519, allocations: 31.8 kB / 473.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.888e-05/0.004595, allocations: 27.86 kB / 473.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.975e-05/0.00462, allocations: 8 kB / 473.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.408e-05/0.004639, allocations: 4 kB / 473.5 MB, free: 10.87 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.0001081/0.004751, allocations: 126.5 kB / 473.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 4.102e-05/0.0048, allocations: 82.78 kB / 473.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.643e-05/0.004831, allocations: 11.94 kB / 473.7 MB, free: 10.65 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.029e-05/0.004867, allocations: 15.92 kB / 473.7 MB, free: 10.64 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: 16 (16) * Number of variables: 16 (16) Notification: Performance of Bindings: time 0.0005672/0.005439, allocations: 443.4 kB / 474.2 MB, free: 10.1 MB / 350.1 MB Notification: Performance of FunctionAlias: time 2.948e-05/0.005475, allocations: 15.94 kB / 474.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of Early Inline: time 0.0002399/0.00572, allocations: 176.3 kB / 474.3 MB, free: 9.887 MB / 350.1 MB Notification: Performance of simplify1: time 2.415e-05/0.005752, allocations: 23.95 kB / 474.4 MB, free: 9.863 MB / 350.1 MB Notification: Performance of Alias: time 0.0006845/0.006442, allocations: 414.2 kB / 474.8 MB, free: 9.375 MB / 350.1 MB Notification: Performance of simplify2: time 1.466e-05/0.006467, allocations: 7.984 kB / 474.8 MB, free: 9.367 MB / 350.1 MB Notification: Performance of Events: time 8.785e-05/0.00656, allocations: 31.91 kB / 474.8 MB, free: 9.336 MB / 350.1 MB Notification: Performance of Detect States: time 0.0001569/0.006725, allocations: 88.03 kB / 474.9 MB, free: 9.234 MB / 350.1 MB Notification: Performance of Partitioning: time 6.751e-05/0.006801, allocations: 40.12 kB / 474.9 MB, free: 9.188 MB / 350.1 MB Notification: Performance of Causalize: time 0.0002335/0.00704, allocations: 163.9 kB / 475.1 MB, free: 9.02 MB / 350.1 MB Notification: Performance of After Index Reduction Inline: time 0.0001269/0.007175, allocations: 140.3 kB / 475.2 MB, free: 8.855 MB / 350.1 MB Notification: Performance of Inline: time 0.0002884/0.00747, allocations: 257.8 kB / 475.5 MB, free: 8.57 MB / 350.1 MB Notification: Performance of Partitioning: time 2.866e-05/0.007507, allocations: 28.09 kB / 475.5 MB, free: 8.535 MB / 350.1 MB Notification: Performance of Cleanup: time 1.676e-05/0.007529, allocations: 7.984 kB / 475.5 MB, free: 8.527 MB / 350.1 MB Notification: Performance of Causalize: time 0.0003753/0.007909, allocations: 314.2 kB / 475.8 MB, free: 8.211 MB / 350.1 MB Notification: Performance of Tearing: time 7.064e-06/0.007925, allocations: 3.938 kB / 475.8 MB, free: 8.207 MB / 350.1 MB Notification: Performance of Initialization: time 3.3e-07/0.00793, allocations: 0 / 475.8 MB, free: 8.207 MB / 350.1 MB Notification: Performance of Tearing: time 3.206e-06/0.007941, allocations: 4 kB / 475.8 MB, free: 8.203 MB / 350.1 MB Notification: Performance of Categorize: time 8.396e-06/0.007953, allocations: 3.984 kB / 475.8 MB, free: 8.199 MB / 350.1 MB Notification: Performance of Solve: time 7.369e-05/0.008032, allocations: 35.97 kB / 475.9 MB, free: 8.164 MB / 350.1 MB Notification: Performance of Jacobian: time 0.0001678/0.008205, allocations: 218 kB / 476.1 MB, free: 7.914 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: .................... 1 (1) {booleanPulse.pulseStart} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 5 (5) {fallingEdge.y, fallingEdge.not_u, $SEV_0, $TEV_1, $TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] 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: ............ 1 (algorithm:0, when:1, 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: ........... 17 (scalar:17, 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.458e-05/0.008256, allocations: 34.97 kB / 476.1 MB, free: 7.879 MB / 350.1 MB Notification: Performance of SimCode: time 0.0006944/0.008956, allocations: 0.9228 MB / 477 MB, free: 6.93 MB / 350.1 MB Notification: Performance of Templates: time 0.002884/0.01185, allocations: 0.6409 MB / 477.7 MB, free: 6.289 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.ResetHoldIntegrator.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.ResetHoldIntegrator.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.ResetHoldIntegrator.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.ResetHoldIntegrator.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.ResetHoldIntegrator.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.ResetHoldIntegrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.ResetHoldIntegrator.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.ResetHoldIntegrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/ResetHoldIntegrator/ResetHoldIntegrator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Blocks.ResetHoldIntegrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches