Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.FirstOrderHold.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.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_trunk_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_trunk_ModelicaTest.Blocks.FirstOrderHold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001709/0.001709, allocations: 115.2 kB / 18.47 MB, free: 4.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002144/0.002144, allocations: 205 kB / 19.42 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.405/1.405, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2237/0.2237, allocations: 46.11 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.598e-05/2.6e-05, allocations: 2.281 kB / 481.9 MB, free: 4.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.FirstOrderHold): time 0.002646/0.002683, allocations: 1.559 MB / 483.5 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009777/0.003673, allocations: 0.5609 MB / 484 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.062e-05/0.003744, allocations: 0 / 484 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.298e-05/0.003784, allocations: 3.938 kB / 484 MB, free: 2.027 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.775e-05/0.003894, allocations: 19.84 kB / 484 MB, free: 2.008 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002539/0.004154, allocations: 51.81 kB / 484.1 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001644/0.004327, allocations: 99.75 kB / 484.2 MB, free: 1.859 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001296/0.004464, allocations: 12 kB / 484.2 MB, free: 1.848 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001606/0.004632, allocations: 55.77 kB / 484.3 MB, free: 1.793 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.838e-05/0.00472, allocations: 35.84 kB / 484.3 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.272e-05/0.004748, allocations: 8 kB / 484.3 MB, free: 1.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.071e-05/0.004804, allocations: 8 kB / 484.3 MB, free: 1.742 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.0001368/0.004947, allocations: 126.6 kB / 484.4 MB, free: 1.617 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 4.175e-05/0.004994, allocations: 78.88 kB / 484.5 MB, free: 1.539 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.788e-05/0.005027, allocations: 11.94 kB / 484.5 MB, free: 1.527 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.527e-05/0.005047, allocations: 4 kB / 484.5 MB, free: 1.523 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.0005542/0.005609, allocations: 479.1 kB / 485 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of FunctionAlias: time 3.625e-05/0.005652, allocations: 11.94 kB / 485 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of Early Inline: time 0.0002832/0.005941, allocations: 284.1 kB / 485.3 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of simplify1: time 1.942e-05/0.005968, allocations: 15.97 kB / 485.3 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of Alias: time 0.0003681/0.006341, allocations: 216.8 kB / 485.5 MB, free: 372 kB / 350.1 MB Notification: Performance of simplify2: time 1.489e-05/0.006367, allocations: 15.98 kB / 485.5 MB, free: 356 kB / 350.1 MB Notification: Performance of Detect States: time 0.0002582/0.00663, allocations: 149.6 kB / 485.7 MB, free: 192 kB / 350.1 MB Notification: Performance of Events: time 0.0001241/0.006763, allocations: 80.8 kB / 485.7 MB, free: 112 kB / 350.1 MB Notification: Performance of Partitioning: time 0.0001581/0.006928, allocations: 112.1 kB / 485.9 MB, free: 15.99 MB / 366.1 MB Notification: Performance of Causalize: time 0.0005064/0.007441, allocations: 400.2 kB / 486.2 MB, free: 15.6 MB / 366.1 MB Notification: Performance of After Index Reduction Inline: time 0.0002925/0.007744, allocations: 308.1 kB / 486.5 MB, free: 15.27 MB / 366.1 MB Notification: Performance of Inline: time 0.0005647/0.008316, allocations: 0.5207 MB / 487.1 MB, free: 14.71 MB / 366.1 MB Notification: Performance of Partitioning: time 6.452e-05/0.008389, allocations: 36.05 kB / 487.1 MB, free: 14.67 MB / 366.1 MB Notification: Performance of Cleanup: time 2.808e-05/0.008428, allocations: 35.84 kB / 487.1 MB, free: 14.64 MB / 366.1 MB Notification: Performance of Causalize: time 0.0006897/0.009123, allocations: 0.5771 MB / 487.7 MB, free: 14.05 MB / 366.1 MB Notification: Performance of Tearing: time 9.247e-06/0.009141, allocations: 0 / 487.7 MB, free: 14.05 MB / 366.1 MB Notification: Performance of Initialization: time 3.11e-07/0.009146, allocations: 0 / 487.7 MB, free: 14.05 MB / 366.1 MB Notification: Performance of Tearing: time 4.578e-06/0.009155, allocations: 3.938 kB / 487.7 MB, free: 14.05 MB / 366.1 MB Notification: Performance of Categorize: time 6.863e-06/0.009168, allocations: 4 kB / 487.7 MB, free: 14.04 MB / 366.1 MB Notification: Performance of Solve: time 0.0001548/0.009327, allocations: 73.8 kB / 487.8 MB, free: 13.97 MB / 366.1 MB Notification: Performance of Jacobian: time 3.407e-06/0.009338, allocations: 0 / 487.8 MB, free: 13.97 MB / 366.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: ........... 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 7.776e-05/0.00942, allocations: 31.89 kB / 487.8 MB, free: 13.95 MB / 366.1 MB Notification: Performance of SimCode: time 0.0007915/0.01022, allocations: 0.9479 MB / 488.8 MB, free: 12.96 MB / 366.1 MB Notification: Performance of Templates: time 0.003561/0.01379, allocations: 1.072 MB / 489.8 MB, free: 11.89 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.FirstOrderHold.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.FirstOrderHold.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.FirstOrderHold.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.FirstOrderHold.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.FirstOrderHold.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.FirstOrderHold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.FirstOrderHold.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_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.continuous,sine.f,sine.offset,sine.phase,sine.startTime,time,zeroOrderHold.firstTrigger,zeroOrderHold.samplePeriod,zeroOrderHold.startTime,zeroOrderHold.ySample