Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Utilities.Examples.WriteRealMatrixToFile.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Utilities.Examples.WriteRealMatrixToFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|success1|success2|success3|success4",fileNamePrefix="Modelica_3.2.3_Modelica.Utilities.Examples.WriteRealMatrixToFile") translateModel(Modelica.Utilities.Examples.WriteRealMatrixToFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|success1|success2|success3|success4",fileNamePrefix="Modelica_3.2.3_Modelica.Utilities.Examples.WriteRealMatrixToFile") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 106.3 kB / 18.41 MB, free: 4.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 192.3 kB / 19.35 MB, free: 3.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.478/1.478, allocations: 205.1 MB / 225.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.853e-05/2.854e-05, allocations: 2.281 kB / 329.1 MB, free: 3.375 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.WriteRealMatrixToFile): time 0.001288/0.001326, allocations: 491.6 kB / 329.6 MB, free: 2.898 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002498/0.001587, allocations: 63.72 kB / 329.7 MB, free: 2.836 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.299e-05/0.001629, allocations: 0 / 329.7 MB, free: 2.836 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 2.831e-05/0.001663, allocations: 3.938 kB / 329.7 MB, free: 2.832 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 6.925e-05/0.001737, allocations: 11.98 kB / 329.7 MB, free: 2.82 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001669/0.001916, allocations: 19.97 kB / 329.7 MB, free: 2.801 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001083/0.002034, allocations: 27.92 kB / 329.7 MB, free: 2.773 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.578e-05/0.002086, allocations: 4 kB / 329.7 MB, free: 2.77 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.325e-05/0.002124, allocations: 15.97 kB / 329.8 MB, free: 2.754 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.074e-05/0.00219, allocations: 19.92 kB / 329.8 MB, free: 2.734 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.551e-05/0.002211, allocations: 0 / 329.8 MB, free: 2.734 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.363e-05/0.002265, allocations: 8 kB / 329.8 MB, free: 2.727 MB / 270.1 MB Notification: Performance of combineBinaries: time 4.803e-05/0.002318, allocations: 31.72 kB / 329.8 MB, free: 2.695 MB / 270.1 MB Notification: Performance of replaceArrayConstructors: time 7.644e-06/0.00233, allocations: 15.75 kB / 329.8 MB, free: 2.68 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 1.356e-05/0.002348, allocations: 0 / 329.8 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd: time 7.253e-06/0.002361, allocations: 4 kB / 329.8 MB, free: 2.676 MB / 270.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 Bindings: time 0.0002868/0.002653, allocations: 185.3 kB / 330 MB, free: 2.395 MB / 270.1 MB Notification: Performance of FunctionAlias: time 1.124e-05/0.00267, allocations: 3.938 kB / 330 MB, free: 2.391 MB / 270.1 MB Notification: Performance of Early Inline: time 7.507e-05/0.002753, allocations: 76.31 kB / 330.1 MB, free: 2.289 MB / 270.1 MB Notification: Performance of simplify1: time 1.462e-06/0.002761, allocations: 0 / 330.1 MB, free: 2.289 MB / 270.1 MB Notification: Performance of Alias: time 6.544e-05/0.00283, allocations: 60.55 kB / 330.1 MB, free: 2.191 MB / 270.1 MB Notification: Performance of simplify2: time 6.11e-07/0.002836, allocations: 0 / 330.1 MB, free: 2.191 MB / 270.1 MB Notification: Performance of Events: time 1.681e-05/0.002857, allocations: 7.922 kB / 330.2 MB, free: 2.184 MB / 270.1 MB Notification: Performance of Detect States: time 6.911e-05/0.00293, allocations: 50.89 kB / 330.2 MB, free: 2.121 MB / 270.1 MB Notification: Performance of Partitioning: time 5.602e-05/0.002992, allocations: 24.12 kB / 330.2 MB, free: 2.09 MB / 270.1 MB Notification: Performance of Causalize: time 0.0001306/0.003129, allocations: 36.11 kB / 330.3 MB, free: 2.047 MB / 270.1 MB Notification: Performance of After Index Reduction Inline: time 6.208e-05/0.003198, allocations: 72.34 kB / 330.3 MB, free: 1.949 MB / 270.1 MB Notification: Performance of Inline: time 0.0001113/0.003325, allocations: 100.4 kB / 330.4 MB, free: 1.816 MB / 270.1 MB Notification: Performance of Partitioning: time 1.093e-05/0.003346, allocations: 16.12 kB / 330.4 MB, free: 1.793 MB / 270.1 MB Notification: Performance of Cleanup: time 1.286e-05/0.003363, allocations: 11.94 kB / 330.5 MB, free: 1.781 MB / 270.1 MB Notification: Performance of Causalize: time 6.885e-05/0.003436, allocations: 40.09 kB / 330.5 MB, free: 1.734 MB / 270.1 MB Notification: Performance of Tearing: time 5.32e-06/0.003451, allocations: 4 kB / 330.5 MB, free: 1.73 MB / 270.1 MB Notification: Performance of Initialization: time 2.5e-07/0.003455, allocations: 0 / 330.5 MB, free: 1.73 MB / 270.1 MB Notification: Performance of Tearing: time 7.71e-07/0.00346, allocations: 288 / 330.5 MB, free: 1.73 MB / 270.1 MB Notification: Performance of Categorize: time 8.125e-06/0.003472, allocations: 3.938 kB / 330.5 MB, free: 1.727 MB / 270.1 MB Notification: Performance of Solve: time 1.558e-05/0.003491, allocations: 3.984 kB / 330.5 MB, free: 1.723 MB / 270.1 MB Notification: Performance of Jacobian: time 2.986e-06/0.0035, allocations: 4 kB / 330.5 MB, free: 1.719 MB / 270.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) {NOT YET AVAILABLE} * Number of discrete variables: ................. 4 (4) {success1, success2, success3, success4} * 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: ............ 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: [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 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 3.161e-05/0.003537, allocations: 19.02 kB / 330.5 MB, free: 1.699 MB / 270.1 MB Notification: Performance of SimCode: time 0.0007218/0.004263, allocations: 0.8309 MB / 331.4 MB, free: 0.8477 MB / 270.1 MB Notification: Performance of Templates: time 0.002331/0.006606, allocations: 437.6 kB / 331.8 MB, free: 432 kB / 270.1 MB make -j1 -f Modelica_3.2.3_Modelica.Utilities.Examples.WriteRealMatrixToFile.makefile (rm -f Modelica_3.2.3_Modelica.Utilities.Examples.WriteRealMatrixToFile.pipe ; mkfifo Modelica_3.2.3_Modelica.Utilities.Examples.WriteRealMatrixToFile.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Utilities.Examples.WriteRealMatrixToFile.pipe >> ../files/Modelica_3.2.3_Modelica.Utilities.Examples.WriteRealMatrixToFile.sim & ./Modelica_3.2.3_Modelica.Utilities.Examples.WriteRealMatrixToFile -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Utilities.Examples.WriteRealMatrixToFile.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Utilities.Examples.WriteRealMatrixToFile_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Utilities/Examples/WriteRealMatrixToFile/WriteRealMatrixToFile.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Utilities.Examples.WriteRealMatrixToFile.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches