Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) 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.Utilities.Examples.WriteRealMatrixToFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|success1|success2|success3|success4",fileNamePrefix="Modelica_4.0.0_Modelica.Utilities.Examples.WriteRealMatrixToFile") translateModel(Modelica.Utilities.Examples.WriteRealMatrixToFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|success1|success2|success3|success4",fileNamePrefix="Modelica_4.0.0_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.0009077/0.0009077, allocations: 112.4 kB / 17.75 MB, free: 5.219 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.0009368/0.0009369, allocations: 192.6 kB / 18.68 MB, free: 4.293 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.202/1.202, allocations: 222.9 MB / 242.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.691e-05/2.692e-05, allocations: 2.281 kB / 351.9 MB, free: 3.34 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.WriteRealMatrixToFile): time 0.001629/0.001665, allocations: 473.9 kB / 352.4 MB, free: 2.883 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002992/0.001978, allocations: 63.78 kB / 352.4 MB, free: 2.82 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.535e-05/0.002024, allocations: 8 kB / 352.4 MB, free: 2.812 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.482e-05/0.002065, allocations: 3.938 kB / 352.4 MB, free: 2.809 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.501e-05/0.002162, allocations: 11.98 kB / 352.5 MB, free: 2.797 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001885/0.002357, allocations: 15.97 kB / 352.5 MB, free: 2.781 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001289/0.002496, allocations: 31.92 kB / 352.5 MB, free: 2.75 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.69e-05/0.002549, allocations: 3.984 kB / 352.5 MB, free: 2.746 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.718e-05/0.002591, allocations: 11.98 kB / 352.5 MB, free: 2.734 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.984e-05/0.002676, allocations: 23.92 kB / 352.5 MB, free: 2.711 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.68e-05/0.002699, allocations: 0 / 352.5 MB, free: 2.711 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.045e-05/0.002756, allocations: 8 kB / 352.5 MB, free: 2.703 MB / 286.1 MB Notification: Performance of combineBinaries: time 6.005e-05/0.002822, allocations: 27.72 kB / 352.6 MB, free: 2.676 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 1.175e-05/0.002839, allocations: 19.75 kB / 352.6 MB, free: 2.656 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.321e-05/0.002867, allocations: 4 kB / 352.6 MB, free: 2.652 MB / 286.1 MB Notification: Performance of FrontEnd: time 9.527e-06/0.002882, allocations: 0 / 352.6 MB, free: 2.652 MB / 286.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.0003022/0.003189, allocations: 189.1 kB / 352.8 MB, free: 2.367 MB / 286.1 MB Notification: Performance of FunctionAlias: time 1.246e-05/0.003207, allocations: 0 / 352.8 MB, free: 2.367 MB / 286.1 MB Notification: Performance of Early Inline: time 7.589e-05/0.003288, allocations: 72.33 kB / 352.8 MB, free: 2.27 MB / 286.1 MB Notification: Performance of simplify1: time 1.402e-06/0.003296, allocations: 0 / 352.8 MB, free: 2.27 MB / 286.1 MB Notification: Performance of Alias: time 5.282e-05/0.003353, allocations: 64.5 kB / 352.9 MB, free: 2.168 MB / 286.1 MB Notification: Performance of simplify2: time 6.91e-07/0.003367, allocations: 7.938 kB / 352.9 MB, free: 2.16 MB / 286.1 MB Notification: Performance of Events: time 1.483e-05/0.003387, allocations: 4 kB / 352.9 MB, free: 2.156 MB / 286.1 MB Notification: Performance of Detect States: time 6.357e-05/0.003455, allocations: 44.22 kB / 353 MB, free: 2.098 MB / 286.1 MB Notification: Performance of Partitioning: time 4.904e-05/0.003511, allocations: 24.12 kB / 353 MB, free: 2.066 MB / 286.1 MB Notification: Performance of Causalize: time 0.0001114/0.003628, allocations: 36.11 kB / 353 MB, free: 2.023 MB / 286.1 MB Notification: Performance of After Index Reduction Inline: time 6.685e-05/0.003702, allocations: 72.34 kB / 353.1 MB, free: 1.926 MB / 286.1 MB Notification: Performance of Inline: time 0.0001026/0.003811, allocations: 96.67 kB / 353.2 MB, free: 1.797 MB / 286.1 MB Notification: Performance of Partitioning: time 1.2e-05/0.00383, allocations: 16 kB / 353.2 MB, free: 1.773 MB / 286.1 MB Notification: Performance of Cleanup: time 1.629e-05/0.003851, allocations: 16 kB / 353.2 MB, free: 1.758 MB / 286.1 MB Notification: Performance of Causalize: time 7.645e-05/0.003932, allocations: 52.08 kB / 353.3 MB, free: 1.699 MB / 286.1 MB Notification: Performance of Tearing: time 4.468e-06/0.003944, allocations: 0 / 353.3 MB, free: 1.699 MB / 286.1 MB Notification: Performance of Initialization: time 3.11e-07/0.003951, allocations: 3.938 kB / 353.3 MB, free: 1.695 MB / 286.1 MB Notification: Performance of Tearing: time 2.344e-06/0.003958, allocations: 7.938 kB / 353.3 MB, free: 1.688 MB / 286.1 MB Notification: Performance of Categorize: time 5.891e-06/0.003968, allocations: 0 / 353.3 MB, free: 1.688 MB / 286.1 MB Notification: Performance of Solve: time 1.241e-05/0.003985, allocations: 4 kB / 353.3 MB, free: 1.684 MB / 286.1 MB Notification: Performance of Jacobian: time 2.414e-06/0.003992, allocations: 0 / 353.3 MB, free: 1.684 MB / 286.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.052e-05/0.004026, allocations: 19.31 kB / 353.3 MB, free: 1.668 MB / 286.1 MB Notification: Performance of SimCode: time 0.0006449/0.004675, allocations: 0.8338 MB / 354.1 MB, free: 0.8203 MB / 286.1 MB Notification: Performance of Templates: time 0.002205/0.006893, allocations: 441.9 kB / 354.6 MB, free: 404 kB / 286.1 MB make -j1 -f Modelica_4.0.0_Modelica.Utilities.Examples.WriteRealMatrixToFile.makefile (rm -f Modelica_4.0.0_Modelica.Utilities.Examples.WriteRealMatrixToFile.pipe ; mkfifo Modelica_4.0.0_Modelica.Utilities.Examples.WriteRealMatrixToFile.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Utilities.Examples.WriteRealMatrixToFile.pipe >> ../files/Modelica_4.0.0_Modelica.Utilities.Examples.WriteRealMatrixToFile.sim & ./Modelica_4.0.0_Modelica.Utilities.Examples.WriteRealMatrixToFile -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Utilities.Examples.WriteRealMatrixToFile.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Utilities.Examples.WriteRealMatrixToFile_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Utilities/Examples/WriteRealMatrixToFile/WriteRealMatrixToFile.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Utilities.Examples.WriteRealMatrixToFile.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches