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.001233/0.001233, allocations: 110.7 kB / 18.47 MB, free: 4.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00131/0.001311, allocations: 211.9 kB / 19.42 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.322/1.322, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.255e-05/2.256e-05, allocations: 6.219 kB / 359.3 MB, free: 13.03 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.WriteRealMatrixToFile): time 0.001259/0.00129, allocations: 483.1 kB / 359.8 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002367/0.001539, allocations: 59.75 kB / 359.8 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.829e-05/0.001576, allocations: 0 / 359.8 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.104e-05/0.001614, allocations: 0 / 359.8 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 6.925e-05/0.001692, allocations: 19.95 kB / 359.8 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001523/0.00185, allocations: 15.94 kB / 359.9 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001051/0.001963, allocations: 31.95 kB / 359.9 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.164e-05/0.002013, allocations: 8 kB / 359.9 MB, free: 12.42 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.918e-05/0.002047, allocations: 11.98 kB / 359.9 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.512e-05/0.002107, allocations: 19.91 kB / 359.9 MB, free: 12.39 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.524e-05/0.00213, allocations: 8 kB / 359.9 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.093e-05/0.002175, allocations: 4 kB / 359.9 MB, free: 12.38 MB / 302.1 MB Notification: Performance of combineBinaries: time 4.861e-05/0.002229, allocations: 23.75 kB / 360 MB, free: 12.36 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 7.534e-06/0.002242, allocations: 15.75 kB / 360 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 1.41e-05/0.00226, allocations: 4 kB / 360 MB, free: 12.34 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.644e-06/0.002272, allocations: 0 / 360 MB, free: 12.34 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.0002879/0.002564, allocations: 193.1 kB / 360.2 MB, free: 12.05 MB / 302.1 MB Notification: Performance of FunctionAlias: time 1.111e-05/0.002581, allocations: 4 kB / 360.2 MB, free: 12.04 MB / 302.1 MB Notification: Performance of Early Inline: time 8.65e-05/0.002672, allocations: 72.25 kB / 360.2 MB, free: 11.95 MB / 302.1 MB Notification: Performance of simplify1: time 1.783e-06/0.002681, allocations: 0 / 360.2 MB, free: 11.95 MB / 302.1 MB Notification: Performance of Alias: time 5.409e-05/0.00274, allocations: 56.62 kB / 360.3 MB, free: 11.85 MB / 302.1 MB Notification: Performance of simplify2: time 5.61e-07/0.002745, allocations: 0 / 360.3 MB, free: 11.85 MB / 302.1 MB Notification: Performance of Events: time 1.694e-05/0.002766, allocations: 7.984 kB / 360.3 MB, free: 11.84 MB / 302.1 MB Notification: Performance of Detect States: time 6.076e-05/0.002833, allocations: 40.19 kB / 360.4 MB, free: 11.79 MB / 302.1 MB Notification: Performance of Partitioning: time 5.523e-05/0.002894, allocations: 32.09 kB / 360.4 MB, free: 11.75 MB / 302.1 MB Notification: Performance of Causalize: time 0.0001283/0.003028, allocations: 40.09 kB / 360.4 MB, free: 11.7 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 5.972e-05/0.003096, allocations: 76.36 kB / 360.5 MB, free: 11.6 MB / 302.1 MB Notification: Performance of Inline: time 9.612e-05/0.003198, allocations: 100.4 kB / 360.6 MB, free: 11.47 MB / 302.1 MB Notification: Performance of Partitioning: time 1.413e-05/0.003219, allocations: 12.12 kB / 360.6 MB, free: 11.45 MB / 302.1 MB Notification: Performance of Cleanup: time 1.21e-05/0.003236, allocations: 8 kB / 360.6 MB, free: 11.44 MB / 302.1 MB Notification: Performance of Causalize: time 6.386e-05/0.003304, allocations: 40.3 kB / 360.7 MB, free: 11.39 MB / 302.1 MB Notification: Performance of Tearing: time 6.021e-06/0.00332, allocations: 7.938 kB / 360.7 MB, free: 11.39 MB / 302.1 MB Notification: Performance of Initialization: time 2.81e-07/0.003325, allocations: 0 / 360.7 MB, free: 11.39 MB / 302.1 MB Notification: Performance of Tearing: time 6.01e-07/0.00333, allocations: 0 / 360.7 MB, free: 11.39 MB / 302.1 MB Notification: Performance of Categorize: time 6.422e-06/0.00334, allocations: 192 / 360.7 MB, free: 11.39 MB / 302.1 MB Notification: Performance of Solve: time 1.599e-05/0.003362, allocations: 11.92 kB / 360.7 MB, free: 11.38 MB / 302.1 MB Notification: Performance of Jacobian: time 3.076e-06/0.003369, allocations: 0 / 360.7 MB, free: 11.38 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 3.719e-05/0.00341, allocations: 28.2 kB / 360.7 MB, free: 11.36 MB / 302.1 MB Notification: Performance of SimCode: time 0.0006787/0.004095, allocations: 0.8373 MB / 361.5 MB, free: 10.51 MB / 302.1 MB Notification: Performance of Templates: time 0.002237/0.006342, allocations: 445.4 kB / 362 MB, free: 10.08 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