Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Utilities.Examples.WriteRealMatrixToFile.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001559/0.001559, allocations: 107.6 kB / 21.2 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001713/0.001713, allocations: 210.8 kB / 24.49 MB, free: 3.961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.432/1.432, allocations: 230.6 MB / 258.3 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Utilities.Examples.WriteRealMatrixToFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|success1|success2|success3|success4",fileNamePrefix="Modelica_4.1.0_Modelica.Utilities.Examples.WriteRealMatrixToFile") translateModel(Modelica.Utilities.Examples.WriteRealMatrixToFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|success1|success2|success3|success4",fileNamePrefix="Modelica_4.1.0_Modelica.Utilities.Examples.WriteRealMatrixToFile") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.496e-05/2.496e-05, allocations: 2.281 kB / 378.9 MB, free: 2.59 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.WriteRealMatrixToFile): time 0.001408/0.001433, allocations: 490.7 kB / 379.4 MB, free: 2.113 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002473/0.00168, allocations: 58.11 kB / 379.4 MB, free: 2.059 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.071e-05/0.001711, allocations: 0 / 379.4 MB, free: 2.059 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.476e-05/0.001746, allocations: 7.922 kB / 379.4 MB, free: 2.051 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 6.579e-05/0.001812, allocations: 11.98 kB / 379.5 MB, free: 2.039 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001403/0.001952, allocations: 15.98 kB / 379.5 MB, free: 2.023 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.381e-05/0.002046, allocations: 31.89 kB / 379.5 MB, free: 1.992 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.435e-05/0.00208, allocations: 7.938 kB / 379.5 MB, free: 1.984 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.386e-05/0.002104, allocations: 7.984 kB / 379.5 MB, free: 1.977 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.498e-05/0.002159, allocations: 23.98 kB / 379.5 MB, free: 1.953 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.607e-05/0.002175, allocations: 0 / 379.5 MB, free: 1.953 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.543e-05/0.002231, allocations: 15.98 kB / 379.6 MB, free: 1.938 MB / 302.1 MB Notification: Performance of combineBinaries: time 5.989e-05/0.00229, allocations: 31.67 kB / 379.6 MB, free: 1.906 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 1.022e-05/0.002301, allocations: 15.75 kB / 379.6 MB, free: 1.891 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 1.509e-05/0.002316, allocations: 4 kB / 379.6 MB, free: 1.887 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.504e-06/0.002323, allocations: 0 / 379.6 MB, free: 1.887 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 (1) * Number of variables: 4 (4) Notification: Performance of [SIM] Bindings: time 0.0004054/0.002729, allocations: 229.4 kB / 379.8 MB, free: 1.543 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 4.219e-05/0.002771, allocations: 27.97 kB / 379.9 MB, free: 1.504 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 8.629e-05/0.002857, allocations: 80.27 kB / 379.9 MB, free: 1.398 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 8.605e-05/0.002943, allocations: 84.66 kB / 380 MB, free: 1.27 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.0001031/0.003046, allocations: 84.78 kB / 380.1 MB, free: 1.137 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 6.988e-05/0.003116, allocations: 76.61 kB / 380.2 MB, free: 1.016 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 4.696e-05/0.003163, allocations: 48.42 kB / 380.2 MB, free: 0.9414 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.000105/0.003268, allocations: 88.7 kB / 380.3 MB, free: 0.8008 MB / 302.1 MB Notification: Performance of [SIM] Events: time 2.684e-05/0.003295, allocations: 15.98 kB / 380.3 MB, free: 0.7852 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 9.099e-05/0.003386, allocations: 40.11 kB / 380.4 MB, free: 0.7383 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0001322/0.003518, allocations: 40.11 kB / 380.4 MB, free: 0.6914 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 5.139e-05/0.00357, allocations: 51.89 kB / 380.5 MB, free: 0.6406 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0001498/0.003719, allocations: 116.9 kB / 380.6 MB, free: 468 kB / 302.1 MB Notification: Performance of [INI] Inline: time 6.616e-05/0.003786, allocations: 68.02 kB / 380.6 MB, free: 396 kB / 302.1 MB Notification: Performance of [INI] Partitioning: time 1.047e-05/0.003796, allocations: 8.125 kB / 380.6 MB, free: 380 kB / 302.1 MB Notification: Performance of [INI] Cleanup: time 3.056e-05/0.003827, allocations: 23.98 kB / 380.7 MB, free: 356 kB / 302.1 MB Notification: Performance of [INI] Causalize: time 8.965e-05/0.003916, allocations: 48.17 kB / 380.7 MB, free: 300 kB / 302.1 MB Notification: Performance of [INI] Tearing: time 8.877e-06/0.003925, allocations: 0 / 380.7 MB, free: 300 kB / 302.1 MB Notification: Performance of [SIM] Initialization: time 3.81e-07/0.003925, allocations: 4 kB / 380.7 MB, free: 296 kB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 6.662e-06/0.003932, allocations: 8 kB / 380.7 MB, free: 288 kB / 302.1 MB Notification: Performance of [SIM] Tearing: time 5.71e-07/0.003933, allocations: 3.938 kB / 380.7 MB, free: 284 kB / 302.1 MB Notification: Performance of [SIM] Categorize: time 5.29e-06/0.003938, allocations: 144 / 380.7 MB, free: 284 kB / 302.1 MB Notification: Performance of [SIM] Solve: time 1.487e-05/0.003953, allocations: 4 kB / 380.7 MB, free: 280 kB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 6.191e-06/0.003959, allocations: 0 / 380.7 MB, free: 280 kB / 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: ................. 4 (4) {success1, success2, success3, success4} * Number of clocks: ............................. 0 (0) {} * 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: ............ 1 (algorithm:1, 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 3.969e-05/0.003999, allocations: 21.83 kB / 380.8 MB, free: 268 kB / 302.1 MB Notification: Performance of SimCode: time 0.0005905/0.004589, allocations: 217.1 kB / 381 MB, free: 44 kB / 302.1 MB Notification: Performance of Templates: time 0.1754/0.18, allocations: 451.9 kB / 381.4 MB, free: 13.89 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Utilities.Examples.WriteRealMatrixToFile.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Utilities.Examples.WriteRealMatrixToFile.pipe ; mkfifo Modelica_4.1.0_Modelica.Utilities.Examples.WriteRealMatrixToFile.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Utilities.Examples.WriteRealMatrixToFile.pipe >> ../files/Modelica_4.1.0_Modelica.Utilities.Examples.WriteRealMatrixToFile.sim & ./Modelica_4.1.0_Modelica.Utilities.Examples.WriteRealMatrixToFile -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Utilities.Examples.WriteRealMatrixToFile.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Utilities.Examples.WriteRealMatrixToFile_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Utilities/Examples/WriteRealMatrixToFile/WriteRealMatrixToFile.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Utilities.Examples.WriteRealMatrixToFile.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.183274316135794]