Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile.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.ReadRealMatrixFromFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x",fileNamePrefix="Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile") translateModel(Modelica.Utilities.Examples.ReadRealMatrixFromFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x",fileNamePrefix="Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008707/0.0008707, allocations: 101.6 kB / 17 MB, free: 6.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009608/0.0009609, allocations: 191.8 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.369/1.369, allocations: 227.7 MB / 246.4 MB, free: 9.801 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002386/0.0002386, allocations: 4 kB / 307.1 MB, free: 0.9609 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08659/0.08685, allocations: 51.52 MB / 358.6 MB, free: 13.44 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.0005204/0.0874, allocations: 246 kB / 358.9 MB, free: 13.2 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00203/0.08944, allocations: 1.782 MB / 360.6 MB, free: 11.4 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.62e-05/0.0895, allocations: 0 / 360.6 MB, free: 11.4 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008813/0.09832, allocations: 103.7 kB / 360.7 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 6.625e-05/0.09841, allocations: 31.91 kB / 360.8 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002078/0.09863, allocations: 43.38 kB / 360.8 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.755e-05/0.09873, allocations: 39.84 kB / 360.8 MB, free: 11.19 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.335e-05/0.09877, allocations: 4 kB / 360.9 MB, free: 11.19 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.517e-05/0.09883, allocations: 23.91 kB / 360.9 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.583e-05/0.09893, allocations: 27.86 kB / 360.9 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.024e-05/0.09896, allocations: 4 kB / 360.9 MB, free: 11.13 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.218e-05/0.09902, allocations: 15.98 kB / 360.9 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.519e-05/0.09912, allocations: 55.88 kB / 361 MB, free: 11.06 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.408e-05/0.09916, allocations: 33.7 kB / 361 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 8.198e-05/0.09925, allocations: 31.95 kB / 361 MB, free: 10.99 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.09926, allocations: 3.938 kB / 361 MB, free: 10.99 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.09927, allocations: 0 / 361 MB, free: 10.99 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.066e-06/0.09927, allocations: 0 / 361 MB, free: 10.99 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003465/0.09962, allocations: 393 kB / 361.4 MB, free: 10.55 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.093e-05/0.09966, allocations: 8.031 kB / 361.4 MB, free: 10.54 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.528e-05/0.09971, allocations: 8 kB / 361.4 MB, free: 10.54 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002171/0.09993, allocations: 205.5 kB / 361.6 MB, free: 10.3 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.758e-06/0.09995, allocations: 4 kB / 361.6 MB, free: 10.29 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.41e-05/0.09997, allocations: 3.953 kB / 361.7 MB, free: 10.29 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001013/0.1001, allocations: 65.92 kB / 361.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.6e-06/0.1001, allocations: 4 kB / 361.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.1001, allocations: 4 kB / 361.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.758e-06/0.1001, allocations: 7.922 kB / 361.7 MB, free: 10.19 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.484e-05/0.1001, allocations: 0 / 361.7 MB, free: 10.19 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000292/0.1004, allocations: 181.7 kB / 361.9 MB, free: 9.961 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.654e-05/0.1005, allocations: 22.52 kB / 361.9 MB, free: 9.93 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.654e-05/0.1005, allocations: 8.859 kB / 361.9 MB, free: 9.918 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.844e-06/0.1005, allocations: 0 / 361.9 MB, free: 9.918 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.691e-05/0.1006, allocations: 68.28 kB / 362 MB, free: 9.836 MB / 302.1 MB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/0.1006, allocations: 0 / 362 MB, free: 9.836 MB / 302.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001212/0.1007, allocations: 49.53 kB / 362.1 MB, free: 9.781 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.466e-05/0.1008, allocations: 154.2 kB / 362.2 MB, free: 9.594 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001416/0.1009, allocations: 166.1 kB / 362.4 MB, free: 9.418 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.363e-05/0.1009, allocations: 25.7 kB / 362.4 MB, free: 9.387 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.819e-05/0.101, allocations: 100.1 kB / 362.5 MB, free: 9.285 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.75e-05/0.101, allocations: 3.906 kB / 362.5 MB, free: 9.281 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.725e-06/0.101, allocations: 4.125 kB / 362.5 MB, free: 9.277 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.332e-05/0.1011, allocations: 322.8 kB / 362.8 MB, free: 8.953 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.166e-05/0.1011, allocations: 0 / 362.8 MB, free: 8.953 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.254e-05/0.1012, allocations: 44.28 kB / 362.9 MB, free: 8.895 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.893e-05/0.1012, allocations: 4 kB / 362.9 MB, free: 8.891 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.1012, allocations: 4.062 kB / 362.9 MB, free: 8.887 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.229e-05/0.1013, allocations: 53.59 kB / 362.9 MB, free: 8.828 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.1013, allocations: 4 kB / 362.9 MB, free: 8.824 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.1013, allocations: 0 / 362.9 MB, free: 8.824 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.039e-05/0.1013, allocations: 3.984 kB / 362.9 MB, free: 8.82 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.053e-05/0.1014, allocations: 4 kB / 362.9 MB, free: 8.816 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.1014, allocations: 0 / 362.9 MB, free: 8.816 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.786e-05/0.1015, allocations: 11.84 kB / 362.9 MB, free: 8.805 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.949e-06/0.1015, allocations: 0 / 362.9 MB, free: 8.805 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.369e-05/0.1016, allocations: 125.9 kB / 363.1 MB, free: 8.672 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.482e-05/0.1016, allocations: 7.953 kB / 363.1 MB, free: 8.664 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.172e-05/0.1016, allocations: 19.77 kB / 363.1 MB, free: 8.641 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.1016, allocations: 0 / 363.1 MB, free: 8.641 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.1016, allocations: 0 / 363.1 MB, free: 8.641 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.883e-06/0.1016, allocations: 0 / 363.1 MB, free: 8.641 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001631/0.1018, allocations: 177.5 kB / 363.3 MB, free: 8.418 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.1018, allocations: 4 kB / 363.3 MB, free: 8.414 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.51e-05/0.1018, allocations: 7.938 kB / 363.3 MB, free: 8.406 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.1019, allocations: 0 / 363.3 MB, free: 8.406 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.234e-06/0.1019, allocations: 7.953 kB / 363.3 MB, free: 8.398 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1019, allocations: 0 / 363.3 MB, free: 8.398 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.1019, allocations: 0 / 363.3 MB, free: 8.398 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001041/0.102, allocations: 73.06 kB / 363.4 MB, free: 8.309 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.146e-05/0.1021, allocations: 97.03 kB / 363.5 MB, free: 8.195 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.785e-05/0.1021, allocations: 0 / 363.5 MB, free: 8.195 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.505e-05/0.1021, allocations: 3.953 kB / 363.5 MB, free: 8.191 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.003e-05/0.1022, allocations: 4.094 kB / 363.5 MB, free: 8.188 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-06/0.1022, allocations: 4 kB / 363.5 MB, free: 8.184 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.407e-05/0.1023, allocations: 133.5 kB / 363.6 MB, free: 8.055 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1023, allocations: 0 / 363.6 MB, free: 8.055 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001982/0.1025, allocations: 12 kB / 363.6 MB, free: 8.043 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002626/0.1027, allocations: 141.8 kB / 363.7 MB, free: 7.91 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 6.967e-05/0.1028, allocations: 15.92 kB / 363.8 MB, free: 7.895 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1028, allocations: 0 / 363.8 MB, free: 7.895 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.017e-05/0.1028, allocations: 4 kB / 363.8 MB, free: 7.891 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001436/0.103, allocations: 8 kB / 363.8 MB, free: 7.883 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003363/0.1033, allocations: 253.2 kB / 364 MB, free: 7.602 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002295/0.1036, allocations: 0.7121 MB / 364.7 MB, free: 6.863 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.823e-05/0.1036, allocations: 8.188 kB / 364.7 MB, free: 6.855 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.335e-05/0.1037, allocations: 19.38 kB / 364.8 MB, free: 6.836 MB / 302.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1037, allocations: 0 / 364.8 MB, free: 6.836 MB / 302.1 MB Notification: Performance of Templates: time 0.003337/0.107, allocations: 1.078 MB / 365.8 MB, free: 5.781 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile.makefile (rm -f Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; mkfifo Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe >> ../files/Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile.sim & ./Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Utilities/Examples/ReadRealMatrixFromFile/ReadRealMatrixFromFile.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches