Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.FirstOrderHold.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.FirstOrderHold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|firstOrderHold.c|firstOrderHold.firstTrigger|firstOrderHold.pre_uSample|firstOrderHold.tSample|firstOrderHold.uSample|zeroOrderHold.firstTrigger|zeroOrderHold.ySample",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.FirstOrderHold") translateModel(ModelicaTest.Blocks.FirstOrderHold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|firstOrderHold.c|firstOrderHold.firstTrigger|firstOrderHold.pre_uSample|firstOrderHold.tSample|firstOrderHold.uSample|zeroOrderHold.firstTrigger|zeroOrderHold.ySample",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.FirstOrderHold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001189/0.001189, allocations: 110.8 kB / 18.47 MB, free: 4.613 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.001132/0.001132, allocations: 181.3 kB / 19.39 MB, free: 3.691 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.384/1.384, allocations: 222.9 MB / 243.1 MB, free: 15.08 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.2004/0.2004, allocations: 44.19 MB / 337.4 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.241e-05/3.241e-05, allocations: 2.281 kB / 471.2 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.FirstOrderHold): time 0.002777/0.002818, allocations: 1.525 MB / 472.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009397/0.003771, allocations: 494.8 kB / 473.2 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.474e-05/0.003837, allocations: 0 / 473.2 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.947e-05/0.003883, allocations: 3.938 kB / 473.2 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001061/0.003995, allocations: 15.86 kB / 473.2 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002389/0.004248, allocations: 39.89 kB / 473.2 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001529/0.00441, allocations: 95.69 kB / 473.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001444/0.004562, allocations: 16 kB / 473.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001201/0.004691, allocations: 39.78 kB / 473.4 MB, free: 11 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.027e-05/0.00478, allocations: 43.83 kB / 473.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.623e-05/0.004811, allocations: 8 kB / 473.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.064e-05/0.004837, allocations: 8 kB / 473.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.0001281/0.00497, allocations: 122.6 kB / 473.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 3.985e-05/0.005017, allocations: 70.95 kB / 473.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.083e-05/0.005053, allocations: 11.94 kB / 473.6 MB, free: 10.74 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.736e-05/0.005077, allocations: 8 kB / 473.6 MB, free: 10.73 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: 14 (14) * Number of variables: 14 (14) Notification: Performance of Bindings: time 0.000561/0.005643, allocations: 463 kB / 474.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of FunctionAlias: time 7.723e-05/0.005726, allocations: 23.97 kB / 474.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of Early Inline: time 0.0002537/0.005986, allocations: 248.1 kB / 474.4 MB, free: 9.883 MB / 350.1 MB Notification: Performance of simplify1: time 2.871e-05/0.006021, allocations: 11.98 kB / 474.4 MB, free: 9.871 MB / 350.1 MB Notification: Performance of Alias: time 0.0003864/0.006413, allocations: 212.8 kB / 474.6 MB, free: 9.617 MB / 350.1 MB Notification: Performance of simplify2: time 1.918e-05/0.006441, allocations: 19.91 kB / 474.6 MB, free: 9.598 MB / 350.1 MB Notification: Performance of Detect States: time 0.0002176/0.006666, allocations: 153.6 kB / 474.7 MB, free: 9.43 MB / 350.1 MB Notification: Performance of Events: time 0.0001047/0.006779, allocations: 72.89 kB / 474.8 MB, free: 9.355 MB / 350.1 MB Notification: Performance of Partitioning: time 0.0001439/0.00693, allocations: 116 kB / 474.9 MB, free: 9.234 MB / 350.1 MB Notification: Performance of Causalize: time 0.0004986/0.007435, allocations: 417.5 kB / 475.3 MB, free: 8.824 MB / 350.1 MB Notification: Performance of After Index Reduction Inline: time 0.0002738/0.007717, allocations: 308.1 kB / 475.6 MB, free: 8.496 MB / 350.1 MB Notification: Performance of Inline: time 0.0004966/0.008221, allocations: 463.1 kB / 476.1 MB, free: 8.012 MB / 350.1 MB Notification: Performance of Partitioning: time 3.562e-05/0.008267, allocations: 32.12 kB / 476.1 MB, free: 7.973 MB / 350.1 MB Notification: Performance of Cleanup: time 3.077e-05/0.008304, allocations: 27.95 kB / 476.1 MB, free: 7.945 MB / 350.1 MB Notification: Performance of Causalize: time 0.000709/0.009018, allocations: 0.6087 MB / 476.8 MB, free: 7.328 MB / 350.1 MB Notification: Performance of Tearing: time 1.117e-05/0.009038, allocations: 0 / 476.8 MB, free: 7.328 MB / 350.1 MB Notification: Performance of Initialization: time 1.703e-06/0.009045, allocations: 0 / 476.8 MB, free: 7.328 MB / 350.1 MB Notification: Performance of Tearing: time 3.056e-06/0.009053, allocations: 7.938 kB / 476.8 MB, free: 7.32 MB / 350.1 MB Notification: Performance of Categorize: time 6.462e-06/0.009063, allocations: 0 / 476.8 MB, free: 7.32 MB / 350.1 MB Notification: Performance of Solve: time 0.0001125/0.00918, allocations: 73.78 kB / 476.8 MB, free: 7.25 MB / 350.1 MB Notification: Performance of Jacobian: time 3.657e-06/0.00919, allocations: 0 / 476.8 MB, free: 7.25 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: ............... 0 * Number of algebraic event partitions: ......... 1 * 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: ............................. 0 (0) {} * Number of discrete states: .................... 7 (7) {firstOrderHold.firstTrigger, firstOrderHold.tSample, firstOrderHold.uSample, firstOrderHold.c, firstOrderHold.pre_uSample, zeroOrderHold.firstTrigger, zeroOrderHold.ySample} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 11 (11) {zeroOrderHold.sampleTrigger, firstOrderHold.sampleTrigger, $TEV_8, $TEV_7, $TEV_6, $TEV_5, $TEV_4, $TEV_3, $TEV_2, $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: ........... 15 (scalar:15, array:0, record:0) * Number of multi strong components: ............ 7 (algorithm:0, when:7, 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: ........... 30 (scalar:30, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:1, 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 9.094e-05/0.009287, allocations: 34.77 kB / 476.9 MB, free: 7.219 MB / 350.1 MB Notification: Performance of SimCode: time 0.0006418/0.009934, allocations: 0.9511 MB / 477.8 MB, free: 6.242 MB / 350.1 MB Notification: Performance of Templates: time 0.003323/0.01327, allocations: 1.004 MB / 478.8 MB, free: 5.238 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.FirstOrderHold.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.FirstOrderHold.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.FirstOrderHold.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.FirstOrderHold.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.FirstOrderHold.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.FirstOrderHold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.FirstOrderHold.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.FirstOrderHold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/FirstOrderHold/FirstOrderHold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Blocks.FirstOrderHold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,firstOrderHold.c,firstOrderHold.firstTrigger,firstOrderHold.pre_uSample,firstOrderHold.tSample,firstOrderHold.uSample,zeroOrderHold.firstTrigger,zeroOrderHold.ySample Variables in the result:firstOrderHold.c,firstOrderHold.firstTrigger,firstOrderHold.pre_uSample,firstOrderHold.samplePeriod,firstOrderHold.startTime,firstOrderHold.tSample,firstOrderHold.uSample,period,sine.amplitude,sine.f,sine.offset,sine.phase,sine.startTime,time,zeroOrderHold.firstTrigger,zeroOrderHold.samplePeriod,zeroOrderHold.startTime,zeroOrderHold.ySample