Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002414/0.002414, allocations: 96.03 kB / 21.25 MB, free: 428 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002203/0.002203, allocations: 186.9 kB / 24.53 MB, free: 3.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.697/1.697, allocations: 225.7 MB / 253.4 MB, free: 12.8 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.252e-05/2.252e-05, allocations: 2.281 kB / 371.7 MB, free: 9.16 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2): time 0.003251/0.003274, allocations: 1.594 MB / 373.3 MB, free: 7.551 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005289/0.003803, allocations: 179.3 kB / 373.5 MB, free: 7.375 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.511e-05/0.003888, allocations: 4 kB / 373.5 MB, free: 7.371 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001262/0.004014, allocations: 19.8 kB / 373.5 MB, free: 7.352 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001348/0.004149, allocations: 7.938 kB / 373.5 MB, free: 7.344 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002544/0.004403, allocations: 55.81 kB / 373.6 MB, free: 7.289 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001629/0.004566, allocations: 87.75 kB / 373.7 MB, free: 7.203 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001537/0.00472, allocations: 27.91 kB / 373.7 MB, free: 7.176 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.788e-05/0.004778, allocations: 35.86 kB / 373.7 MB, free: 7.141 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.79e-05/0.004845, allocations: 27.8 kB / 373.8 MB, free: 7.113 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.224e-05/0.004868, allocations: 8 kB / 373.8 MB, free: 7.105 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2e-05/0.004888, allocations: 4 kB / 373.8 MB, free: 7.102 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0001441/0.005032, allocations: 150.3 kB / 373.9 MB, free: 6.953 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 8.158e-05/0.005113, allocations: 106.5 kB / 374 MB, free: 6.848 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 1.918e-05/0.005133, allocations: 4 kB / 374 MB, free: 6.844 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.529e-05/0.005158, allocations: 7.938 kB / 374 MB, free: 6.836 MB / 302.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 (12) Notification: Performance of [SIM] Bindings: time 0.0006595/0.005817, allocations: 460.2 kB / 374.5 MB, free: 6.266 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001048/0.005922, allocations: 48.02 kB / 374.5 MB, free: 6.207 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0002601/0.006182, allocations: 172.1 kB / 374.7 MB, free: 6.012 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0001215/0.006304, allocations: 82.02 kB / 374.8 MB, free: 5.887 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.0006678/0.006972, allocations: 369.2 kB / 375.1 MB, free: 5.438 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 9.453e-05/0.007066, allocations: 84.64 kB / 375.2 MB, free: 5.309 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 5.573e-05/0.007122, allocations: 40.42 kB / 375.3 MB, free: 5.242 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0001264/0.007248, allocations: 100.8 kB / 375.4 MB, free: 5.09 MB / 302.1 MB Notification: Performance of [SIM] Events: time 6.693e-05/0.007315, allocations: 20.44 kB / 375.4 MB, free: 5.07 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0001922/0.007507, allocations: 102.3 kB / 375.5 MB, free: 4.945 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0002778/0.007785, allocations: 164.2 kB / 375.6 MB, free: 4.762 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 9.62e-05/0.007881, allocations: 99.78 kB / 375.7 MB, free: 4.664 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.000215/0.008096, allocations: 133 kB / 375.9 MB, free: 4.465 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0001276/0.008224, allocations: 121.7 kB / 376 MB, free: 4.344 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 1.384e-05/0.008238, allocations: 12.12 kB / 376 MB, free: 4.324 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 2.422e-05/0.008262, allocations: 19.98 kB / 376 MB, free: 4.305 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.0001204/0.008382, allocations: 64.06 kB / 376.1 MB, free: 4.234 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 1.456e-05/0.008397, allocations: 8 kB / 376.1 MB, free: 4.227 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 3.51e-07/0.008397, allocations: 0 / 376.1 MB, free: 4.227 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 3.237e-05/0.00843, allocations: 24.19 kB / 376.1 MB, free: 4.188 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 4.238e-06/0.008434, allocations: 0 / 376.1 MB, free: 4.188 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 7.594e-06/0.008441, allocations: 4 kB / 376.1 MB, free: 4.184 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 1.101e-05/0.008452, allocations: 4 kB / 376.1 MB, free: 4.18 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.000108/0.00856, allocations: 59.89 kB / 376.2 MB, free: 4.121 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 8.245e-06/0.008569, allocations: 0 / 376.2 MB, free: 4.121 MB / 302.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: ......... 2 * 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: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 11 (9) {sample1.u, sample1.y, hold1.u, hold1.y, sample2.y, sum1.u, sum1.y, sum2.u, $TEV_0} * Number of clocks: ............................. 1 (1) {periodicClock.c} * 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 (resizable: 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: ........... 4 (scalar:4, 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 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 5.223e-05/0.008621, allocations: 27.62 kB / 376.2 MB, free: 4.102 MB / 302.1 MB Notification: Performance of SimCode: time 0.0006715/0.009292, allocations: 388.6 kB / 376.6 MB, free: 3.68 MB / 302.1 MB Notification: Performance of Templates: time 0.003205/0.0125, allocations: 0.5476 MB / 377.1 MB, free: 3.137 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/Sample2/Sample2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,sample1.y,sample2.y,hold1.y Variables in the result:hold1.y,hold1.y_start,integerConstant.k,integerConstant.y,periodicClock.factor,periodicClock.resolution,periodicClock.resolutionFactor,periodicClock.useSolver,sample1.y,sample2.y,step.height,step.offset,step.startTime,sum1.k[1],sum1.k[2],sum2.k[1],sum2.k[2],time [Calling sys.exit(0), Time elapsed: 5.050000199000351]