Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.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.002109/0.002109, allocations: 104 kB / 21.25 MB, free: 420 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.001506/0.001506, 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.587/1.587, 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.RealSignals.TimeBasedSine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.39e-05/2.39e-05, allocations: 2.281 kB / 371.7 MB, free: 9.133 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.003057/0.003081, allocations: 1.481 MB / 373.2 MB, free: 7.637 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008535/0.003934, allocations: 411 kB / 373.6 MB, free: 7.23 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.659e-05/0.004001, allocations: 0 / 373.6 MB, free: 7.23 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.637e-05/0.004037, allocations: 7.922 kB / 373.6 MB, free: 7.223 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.178e-05/0.004109, allocations: 3.938 kB / 373.6 MB, free: 7.219 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002797/0.004389, allocations: 39.84 kB / 373.7 MB, free: 7.18 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001204/0.004509, allocations: 43.84 kB / 373.7 MB, free: 7.137 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.004626, allocations: 12 kB / 373.7 MB, free: 7.125 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.66e-05/0.004712, allocations: 19.92 kB / 373.7 MB, free: 7.105 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.601e-05/0.004768, allocations: 15.91 kB / 373.8 MB, free: 7.09 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.004787, allocations: 4 kB / 373.8 MB, free: 7.086 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.063e-05/0.004797, allocations: 0 / 373.8 MB, free: 7.086 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0001029/0.0049, allocations: 75.11 kB / 373.8 MB, free: 7.012 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 4.256e-05/0.004943, allocations: 55.3 kB / 373.9 MB, free: 6.957 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.624e-05/0.004969, allocations: 8 kB / 373.9 MB, free: 6.949 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.95e-05/0.004988, allocations: 7.875 kB / 373.9 MB, free: 6.941 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: 4 (4) * Number of variables: 4 (4) Notification: Performance of [SIM] Bindings: time 0.0005952/0.005584, allocations: 320.4 kB / 374.2 MB, free: 6.508 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001273/0.005711, allocations: 43.95 kB / 374.3 MB, free: 6.453 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0001431/0.005854, allocations: 104.2 kB / 374.4 MB, free: 6.324 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0001083/0.005962, allocations: 72.67 kB / 374.4 MB, free: 6.207 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.0005059/0.006468, allocations: 200.7 kB / 374.6 MB, free: 5.945 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0001013/0.00657, allocations: 76.61 kB / 374.7 MB, free: 5.824 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 5.501e-05/0.006625, allocations: 40.42 kB / 374.7 MB, free: 5.758 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0001879/0.006812, allocations: 93.16 kB / 374.8 MB, free: 5.613 MB / 302.1 MB Notification: Performance of [SIM] Events: time 5.858e-05/0.006871, allocations: 23.97 kB / 374.9 MB, free: 5.59 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.000146/0.007017, allocations: 50.06 kB / 374.9 MB, free: 5.531 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0001698/0.007187, allocations: 88.08 kB / 375 MB, free: 5.438 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 7.892e-05/0.007266, allocations: 75.78 kB / 375.1 MB, free: 5.363 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0001764/0.007442, allocations: 112.9 kB / 375.2 MB, free: 5.184 MB / 302.1 MB Notification: Performance of [INI] Inline: time 7.09e-05/0.007513, allocations: 68.05 kB / 375.2 MB, free: 5.113 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 1.28e-05/0.007526, allocations: 12.12 kB / 375.3 MB, free: 5.094 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 1.946e-05/0.007545, allocations: 15.98 kB / 375.3 MB, free: 5.078 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 9.067e-06/0.007554, allocations: 3.938 kB / 375.3 MB, free: 5.074 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 5.39e-06/0.00756, allocations: 0 / 375.3 MB, free: 5.074 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 3.51e-07/0.00756, allocations: 0 / 375.3 MB, free: 5.074 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 4.388e-06/0.007564, allocations: 4 kB / 375.3 MB, free: 5.07 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 3.857e-06/0.007568, allocations: 0 / 375.3 MB, free: 5.07 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 7.805e-06/0.007576, allocations: 4 kB / 375.3 MB, free: 5.066 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 5.13e-06/0.007581, allocations: 4 kB / 375.3 MB, free: 5.062 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 8.322e-05/0.007665, allocations: 39.95 kB / 375.3 MB, free: 5.023 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 5.259e-06/0.00767, allocations: 0 / 375.3 MB, free: 5.023 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: ......... 0 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 0 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 0 (0) {} * Number of discrete states: .................... 1 (1) {assignClock1.y} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 2 (2) {$SEV_0, $TEV_0} * Number of clocks: ............................. 1 (1) {periodicClock1.y} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 0 (scalar:0, 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: ........... 0 (scalar:0, 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.195e-05/0.007722, allocations: 27.22 kB / 375.3 MB, free: 5.004 MB / 302.1 MB Notification: Performance of SimCode: time 0.0003945/0.008116, allocations: 196 kB / 375.5 MB, free: 4.793 MB / 302.1 MB Notification: Performance of Templates: time 0.00316/0.01128, allocations: 432.6 kB / 376 MB, free: 4.375 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedSine/TimeBasedSine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,assignClock1.y Variables in the result:assignClock1.y,periodicClock1.period,periodicClock1.useSolver,sine.amplitude,sine.f,sine.offset,sine.phase,sine.startTime,time [Calling sys.exit(0), Time elapsed: 4.835661853023339]