Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 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.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_3.2.3_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_3.2.3_ModelicaTest.Blocks.FirstOrderHold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001743/0.00175, allocations: 116.9 kB / 17.1 MB, free: 5.957 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.001815/0.001814, allocations: 189.4 kB / 18.02 MB, free: 5.043 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.948/1.948, allocations: 205.1 MB / 223.9 MB, free: 12.21 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.2198/0.2198, allocations: 43.52 MB / 314.8 MB, free: 452 kB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.859e-05/2.86e-05, allocations: 2.281 kB / 442.4 MB, free: 5.707 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.FirstOrderHold): time 0.003441/0.003481, allocations: 1.519 MB / 443.9 MB, free: 4.18 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009177/0.004413, allocations: 0.5268 MB / 444.5 MB, free: 3.645 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.132e-05/0.004486, allocations: 4 kB / 444.5 MB, free: 3.641 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.444e-05/0.004526, allocations: 3.938 kB / 444.5 MB, free: 3.637 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.072e-05/0.004622, allocations: 15.86 kB / 444.5 MB, free: 3.621 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002169/0.00487, allocations: 39.89 kB / 444.5 MB, free: 3.582 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001497/0.005028, allocations: 95.69 kB / 444.6 MB, free: 3.488 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000138/0.005173, allocations: 19.98 kB / 444.6 MB, free: 3.469 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001188/0.005298, allocations: 39.84 kB / 444.7 MB, free: 3.43 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.884e-05/0.005385, allocations: 39.83 kB / 444.7 MB, free: 3.391 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.082e-05/0.005411, allocations: 4 kB / 444.7 MB, free: 3.387 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.43e-05/0.005432, allocations: 8 kB / 444.7 MB, free: 3.379 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0001119/0.005548, allocations: 122.6 kB / 444.8 MB, free: 3.258 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 3.666e-05/0.00559, allocations: 78.86 kB / 444.9 MB, free: 3.18 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.537e-05/0.005631, allocations: 11.94 kB / 444.9 MB, free: 3.168 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.509e-05/0.00565, allocations: 0 / 444.9 MB, free: 3.168 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: 14 (14) * Number of variables: 14 (14) Notification: Performance of Bindings: time 0.0004648/0.00612, allocations: 463.2 kB / 445.4 MB, free: 2.613 MB / 318.1 MB Notification: Performance of FunctionAlias: time 8.506e-05/0.006213, allocations: 27.94 kB / 445.4 MB, free: 2.586 MB / 318.1 MB Notification: Performance of Early Inline: time 0.0001782/0.006398, allocations: 236.2 kB / 445.6 MB, free: 2.328 MB / 318.1 MB Notification: Performance of simplify1: time 2.958e-05/0.006433, allocations: 15.92 kB / 445.7 MB, free: 2.312 MB / 318.1 MB Notification: Performance of Alias: time 0.0003805/0.00682, allocations: 232.7 kB / 445.9 MB, free: 2.039 MB / 318.1 MB Notification: Performance of simplify2: time 1.821e-05/0.006848, allocations: 23.97 kB / 445.9 MB, free: 2.016 MB / 318.1 MB Notification: Performance of Events: time 0.0001161/0.00697, allocations: 76.8 kB / 446 MB, free: 1.941 MB / 318.1 MB Notification: Performance of Detect States: time 0.0001819/0.007159, allocations: 159.3 kB / 446.1 MB, free: 1.773 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0001196/0.007287, allocations: 108.1 kB / 446.2 MB, free: 1.66 MB / 318.1 MB Notification: Performance of Causalize: time 0.0004541/0.007749, allocations: 400.7 kB / 446.6 MB, free: 1.262 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 0.0001912/0.007949, allocations: 288.2 kB / 446.9 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of Inline: time 0.0004429/0.008398, allocations: 462.5 kB / 447.4 MB, free: 480 kB / 318.1 MB Notification: Performance of Partitioning: time 3.45e-05/0.008442, allocations: 28.12 kB / 447.4 MB, free: 444 kB / 318.1 MB Notification: Performance of Cleanup: time 3.252e-05/0.008481, allocations: 23.97 kB / 447.4 MB, free: 420 kB / 318.1 MB Notification: Performance of Causalize: time 0.0008237/0.009312, allocations: 0.5704 MB / 448 MB, free: 15.83 MB / 334.1 MB Notification: Performance of Tearing: time 6.131e-06/0.009327, allocations: 0 / 448 MB, free: 15.83 MB / 334.1 MB Notification: Performance of Initialization: time 2.044e-06/0.009336, allocations: 4 kB / 448 MB, free: 15.83 MB / 334.1 MB Notification: Performance of Tearing: time 1.092e-06/0.009343, allocations: 3.938 kB / 448 MB, free: 15.82 MB / 334.1 MB Notification: Performance of Categorize: time 8.866e-06/0.009358, allocations: 4 kB / 448 MB, free: 15.82 MB / 334.1 MB Notification: Performance of Solve: time 0.0001191/0.009482, allocations: 65.8 kB / 448.1 MB, free: 15.75 MB / 334.1 MB Notification: Performance of Jacobian: time 4.478e-06/0.009493, allocations: 0 / 448.1 MB, free: 15.75 MB / 334.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: ................. 10 (10) {zeroOrderHold.sampleTrigger, firstOrderHold.sampleTrigger, $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: ........... 14 (scalar:14, 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: ........... 29 (scalar:29, 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 0.0002539/0.009752, allocations: 37.38 kB / 448.1 MB, free: 15.73 MB / 334.1 MB Notification: Performance of SimCode: time 0.001145/0.0109, allocations: 0.9314 MB / 449 MB, free: 14.78 MB / 334.1 MB Notification: Performance of Templates: time 0.004195/0.01511, allocations: 1.027 MB / 450.1 MB, free: 13.75 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.FirstOrderHold.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.FirstOrderHold.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.FirstOrderHold.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.FirstOrderHold.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.FirstOrderHold.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.FirstOrderHold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.FirstOrderHold.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.FirstOrderHold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/FirstOrderHold/FirstOrderHold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.freqHz,sine.offset,sine.phase,sine.startTime,time,zeroOrderHold.firstTrigger,zeroOrderHold.samplePeriod,zeroOrderHold.startTime,zeroOrderHold.ySample