Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Utilities.Examples.WriteRealMatrixToFile.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Utilities.Examples.WriteRealMatrixToFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|success1|success2|success3|success4",fileNamePrefix="Modelica_trunk_Modelica.Utilities.Examples.WriteRealMatrixToFile") translateModel(Modelica.Utilities.Examples.WriteRealMatrixToFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|success1|success2|success3|success4",fileNamePrefix="Modelica_trunk_Modelica.Utilities.Examples.WriteRealMatrixToFile") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001194/0.001194, allocations: 119 kB / 18.47 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001191/0.001191, allocations: 217.1 kB / 19.43 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.24/1.24, allocations: 227.4 MB / 247.6 MB, free: 10.54 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.793e-05/1.795e-05, allocations: 2.281 kB / 359.3 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.WriteRealMatrixToFile): time 0.001239/0.001265, allocations: 482.1 kB / 359.8 MB, free: 12.58 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002238/0.0015, allocations: 59.73 kB / 359.8 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.454e-05/0.001534, allocations: 0 / 359.8 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.624e-05/0.001576, allocations: 7.938 kB / 359.8 MB, free: 12.51 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.608e-05/0.001669, allocations: 15.97 kB / 359.9 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001474/0.001824, allocations: 23.91 kB / 359.9 MB, free: 12.47 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001012/0.001933, allocations: 23.98 kB / 359.9 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.508e-05/0.001975, allocations: 4 kB / 359.9 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.791e-05/0.002008, allocations: 11.98 kB / 359.9 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.497e-05/0.002067, allocations: 23.91 kB / 359.9 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.432e-05/0.002087, allocations: 0 / 359.9 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.1e-05/0.002133, allocations: 12 kB / 359.9 MB, free: 12.4 MB / 302.1 MB Notification: Performance of combineBinaries: time 4.064e-05/0.002179, allocations: 23.73 kB / 360 MB, free: 12.38 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 8.225e-06/0.002194, allocations: 19.75 kB / 360 MB, free: 12.36 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 1.338e-05/0.002212, allocations: 4 kB / 360 MB, free: 12.35 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.534e-06/0.002223, allocations: 0 / 360 MB, free: 12.35 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 Bindings: time 0.0002614/0.002489, allocations: 193.1 kB / 360.2 MB, free: 12.06 MB / 302.1 MB Notification: Performance of FunctionAlias: time 1.958e-05/0.002514, allocations: 3.938 kB / 360.2 MB, free: 12.06 MB / 302.1 MB Notification: Performance of Early Inline: time 7.254e-05/0.002591, allocations: 72.31 kB / 360.3 MB, free: 11.96 MB / 302.1 MB Notification: Performance of simplify1: time 2.174e-06/0.002602, allocations: 0 / 360.3 MB, free: 11.96 MB / 302.1 MB Notification: Performance of Alias: time 5.807e-05/0.002664, allocations: 60.55 kB / 360.3 MB, free: 11.86 MB / 302.1 MB Notification: Performance of simplify2: time 5.91e-07/0.00267, allocations: 0 / 360.3 MB, free: 11.86 MB / 302.1 MB Notification: Performance of Detect States: time 6.653e-05/0.002742, allocations: 40.23 kB / 360.4 MB, free: 11.81 MB / 302.1 MB Notification: Performance of Events: time 1.997e-05/0.002769, allocations: 11.94 kB / 360.4 MB, free: 11.8 MB / 302.1 MB Notification: Performance of Partitioning: time 4.479e-05/0.00282, allocations: 20.12 kB / 360.4 MB, free: 11.77 MB / 302.1 MB Notification: Performance of Causalize: time 0.0001154/0.002941, allocations: 40.11 kB / 360.4 MB, free: 11.72 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 5.727e-05/0.003007, allocations: 68.36 kB / 360.5 MB, free: 11.63 MB / 302.1 MB Notification: Performance of Inline: time 0.0001083/0.003121, allocations: 108.5 kB / 360.6 MB, free: 11.49 MB / 302.1 MB Notification: Performance of Partitioning: time 1.067e-05/0.00314, allocations: 12.11 kB / 360.6 MB, free: 11.47 MB / 302.1 MB Notification: Performance of Cleanup: time 1.154e-05/0.003156, allocations: 7.984 kB / 360.6 MB, free: 11.46 MB / 302.1 MB Notification: Performance of Causalize: time 7.302e-05/0.003234, allocations: 48.09 kB / 360.7 MB, free: 11.41 MB / 302.1 MB Notification: Performance of Tearing: time 1.104e-05/0.003254, allocations: 3.938 kB / 360.7 MB, free: 11.4 MB / 302.1 MB Notification: Performance of Initialization: time 2.91e-07/0.003258, allocations: 0 / 360.7 MB, free: 11.4 MB / 302.1 MB Notification: Performance of Tearing: time 1.293e-06/0.003264, allocations: 0 / 360.7 MB, free: 11.4 MB / 302.1 MB Notification: Performance of Categorize: time 6.151e-06/0.003275, allocations: 4 kB / 360.7 MB, free: 11.4 MB / 302.1 MB Notification: Performance of Solve: time 1.413e-05/0.003295, allocations: 7.938 kB / 360.7 MB, free: 11.39 MB / 302.1 MB Notification: Performance of Jacobian: time 2.635e-06/0.003302, allocations: 0 / 360.7 MB, free: 11.39 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) {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 2.672e-05/0.003332, allocations: 17.92 kB / 360.7 MB, free: 11.38 MB / 302.1 MB Notification: Performance of SimCode: time 0.0006633/0.004, allocations: 0.8491 MB / 361.5 MB, free: 10.52 MB / 302.1 MB Notification: Performance of Templates: time 0.002127/0.006138, allocations: 433.7 kB / 362 MB, free: 10.1 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Utilities.Examples.WriteRealMatrixToFile.makefile (rm -f Modelica_trunk_Modelica.Utilities.Examples.WriteRealMatrixToFile.pipe ; mkfifo Modelica_trunk_Modelica.Utilities.Examples.WriteRealMatrixToFile.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Utilities.Examples.WriteRealMatrixToFile.pipe >> ../files/Modelica_trunk_Modelica.Utilities.Examples.WriteRealMatrixToFile.sim & ./Modelica_trunk_Modelica.Utilities.Examples.WriteRealMatrixToFile -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Utilities.Examples.WriteRealMatrixToFile.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Utilities.Examples.WriteRealMatrixToFile.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches