Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.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.001658/0.001658, allocations: 104 kB / 21.25 MB, free: 0.5664 MB / 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.001692/0.001692, allocations: 190.7 kB / 24.53 MB, free: 3.852 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.6/1.6, allocations: 225.7 MB / 253.4 MB, free: 12.78 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.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.843e-05/2.843e-05, allocations: 2.281 kB / 371.7 MB, free: 9.145 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked): time 0.004502/0.00453, allocations: 1.508 MB / 373.2 MB, free: 7.625 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005593/0.005089, allocations: 131.6 kB / 373.3 MB, free: 7.496 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.071e-05/0.00518, allocations: 7.938 kB / 373.4 MB, free: 7.488 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.362e-05/0.005234, allocations: 3.938 kB / 373.4 MB, free: 7.484 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001506/0.005384, allocations: 11.94 kB / 373.4 MB, free: 7.473 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003203/0.005705, allocations: 41.7 kB / 373.4 MB, free: 7.434 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001441/0.005849, allocations: 35.86 kB / 373.4 MB, free: 7.398 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000142/0.005991, allocations: 11.97 kB / 373.5 MB, free: 7.387 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.514e-05/0.006046, allocations: 15.94 kB / 373.5 MB, free: 7.371 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.385e-05/0.0061, allocations: 11.92 kB / 373.5 MB, free: 7.359 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.588e-05/0.006126, allocations: 4 kB / 373.5 MB, free: 7.355 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.544e-05/0.006141, allocations: 4 kB / 373.5 MB, free: 7.352 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0001052/0.006246, allocations: 67.17 kB / 373.6 MB, free: 7.285 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 5.72e-05/0.006303, allocations: 59.23 kB / 373.6 MB, free: 7.227 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 1.413e-05/0.006317, allocations: 0 / 373.6 MB, free: 7.227 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.434e-05/0.006342, allocations: 4 kB / 373.6 MB, free: 7.223 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: 3 (3) * Number of variables: 3 (3) Notification: Performance of [SIM] Bindings: time 0.0006397/0.006981, allocations: 292.8 kB / 373.9 MB, free: 6.816 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 8.098e-05/0.007062, allocations: 31.97 kB / 373.9 MB, free: 6.773 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.000138/0.0072, allocations: 76.39 kB / 374 MB, free: 6.672 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0001252/0.007326, allocations: 64.69 kB / 374.1 MB, free: 6.562 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.0006197/0.007945, allocations: 204.5 kB / 374.3 MB, free: 6.297 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0001024/0.008048, allocations: 64.72 kB / 374.3 MB, free: 6.188 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 5.123e-05/0.008099, allocations: 36.44 kB / 374.4 MB, free: 6.125 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0001506/0.00825, allocations: 76.86 kB / 374.4 MB, free: 5.996 MB / 302.1 MB Notification: Performance of [SIM] Events: time 8.378e-05/0.008333, allocations: 23.91 kB / 374.5 MB, free: 5.973 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0001536/0.008487, allocations: 50.58 kB / 374.5 MB, free: 5.906 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0001642/0.008651, allocations: 52.23 kB / 374.6 MB, free: 5.84 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 6.219e-05/0.008713, allocations: 39.97 kB / 374.6 MB, free: 5.801 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0002082/0.008921, allocations: 108.9 kB / 374.7 MB, free: 5.625 MB / 302.1 MB Notification: Performance of [INI] Inline: time 8.035e-05/0.009002, allocations: 48.03 kB / 374.8 MB, free: 5.574 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 1.722e-05/0.009019, allocations: 8.125 kB / 374.8 MB, free: 5.559 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 2.046e-05/0.009039, allocations: 12.45 kB / 374.8 MB, free: 5.547 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.0001381/0.009178, allocations: 44.09 kB / 374.8 MB, free: 5.496 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 1.626e-05/0.009194, allocations: 4 kB / 374.8 MB, free: 5.492 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 5.01e-07/0.009194, allocations: 0 / 374.8 MB, free: 5.492 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 3.209e-05/0.009226, allocations: 16.06 kB / 374.8 MB, free: 5.469 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 5.411e-06/0.009232, allocations: 0 / 374.8 MB, free: 5.469 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 1.774e-06/0.009234, allocations: 0 / 374.8 MB, free: 5.469 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 7.574e-06/0.009241, allocations: 0 / 374.8 MB, free: 5.469 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 7.117e-05/0.009312, allocations: 19.98 kB / 374.9 MB, free: 5.449 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 1.057e-05/0.009323, allocations: 4.188 kB / 374.9 MB, free: 5.445 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: ......... 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: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 3 (3) {step.y, sample1.y, $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: ........... 2 (scalar:2, 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: ........... 2 (scalar:2, 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 6.861e-05/0.009391, allocations: 28.09 kB / 374.9 MB, free: 5.422 MB / 302.1 MB Notification: Performance of SimCode: time 0.0006085/0.01, allocations: 224.2 kB / 375.1 MB, free: 5.176 MB / 302.1 MB Notification: Performance of Templates: time 0.003602/0.0136, allocations: 273.9 kB / 375.4 MB, free: 4.91 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,sample1.y Variables in the result:periodicClock.factor,periodicClock.resolution,periodicClock.resolutionFactor,periodicClock.useSolver,sample1.y,step.height,step.offset,step.startTime,time [Calling sys.exit(0), Time elapsed: 5.034243626985699]