Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.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.ReadRealMatrixFromFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x",fileNamePrefix="Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile") translateModel(Modelica.Utilities.Examples.ReadRealMatrixFromFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x",fileNamePrefix="Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007869/0.0007869, allocations: 92.73 kB / 17.31 MB, free: 5.629 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.0009368, allocations: 177.2 kB / 18.21 MB, free: 5.203 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.31/1.31, allocations: 223.3 MB / 242.3 MB, free: 14.27 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002799/0.0002799, allocations: 17.02 kB / 302.1 MB, free: 5.863 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09533/0.09562, allocations: 50.41 MB / 352.5 MB, free: 3.441 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.0006865/0.09635, allocations: 257.9 kB / 352.7 MB, free: 3.191 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002378/0.09876, allocations: 1.769 MB / 354.5 MB, free: 1.402 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.389e-05/0.09882, allocations: 0 / 354.5 MB, free: 1.402 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002433/0.1013, allocations: 130.4 kB / 354.6 MB, free: 1.297 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.492e-05/0.1013, allocations: 31.84 kB / 354.7 MB, free: 1.266 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001953/0.1015, allocations: 43.95 kB / 354.7 MB, free: 1.223 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.099e-05/0.1016, allocations: 47.83 kB / 354.8 MB, free: 1.176 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.045e-05/0.1017, allocations: 4 kB / 354.8 MB, free: 1.172 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.651e-05/0.1018, allocations: 27.86 kB / 354.8 MB, free: 1.145 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001131/0.1019, allocations: 27.91 kB / 354.8 MB, free: 1.117 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.938e-05/0.1019, allocations: 4 kB / 354.8 MB, free: 1.113 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.064e-05/0.102, allocations: 15.98 kB / 354.8 MB, free: 1.098 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001095/0.1021, allocations: 55.88 kB / 354.9 MB, free: 1.043 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.706e-05/0.1021, allocations: 45.58 kB / 354.9 MB, free: 0.9922 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001115/0.1023, allocations: 39.94 kB / 355 MB, free: 0.9531 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1023, allocations: 0 / 355 MB, free: 0.9531 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.916e-06/0.1023, allocations: 0 / 355 MB, free: 0.9531 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.1023, allocations: 7.938 kB / 355 MB, free: 0.9453 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004089/0.1027, allocations: 385.3 kB / 355.4 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.1028, allocations: 8.031 kB / 355.4 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.116e-05/0.1028, allocations: 8.844 kB / 355.4 MB, free: 0.5 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002416/0.1031, allocations: 216.1 kB / 355.6 MB, free: 256 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.137e-06/0.1031, allocations: 384 / 355.6 MB, free: 256 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.484e-05/0.1031, allocations: 8.359 kB / 355.6 MB, free: 248 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001184/0.1032, allocations: 70.3 kB / 355.7 MB, free: 156 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.1032, allocations: 3.938 kB / 355.7 MB, free: 152 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.1033, allocations: 4 kB / 355.7 MB, free: 148 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.1033, allocations: 0 / 355.7 MB, free: 148 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.952e-05/0.1033, allocations: 8 kB / 355.7 MB, free: 140 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003419/0.1036, allocations: 177.7 kB / 355.8 MB, free: 15.91 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.301e-05/0.1037, allocations: 22.52 kB / 355.9 MB, free: 15.88 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.826e-05/0.1037, allocations: 8.859 kB / 355.9 MB, free: 15.87 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.718e-06/0.1037, allocations: 4.062 kB / 355.9 MB, free: 15.87 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.306e-05/0.1038, allocations: 60.2 kB / 355.9 MB, free: 15.79 MB / 302.1 MB Notification: Performance of pre-optimization done (n=1): time 2.535e-06/0.1038, allocations: 0 / 355.9 MB, free: 15.79 MB / 302.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001323/0.1039, allocations: 53.56 kB / 356 MB, free: 15.73 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.193e-05/0.104, allocations: 154.2 kB / 356.1 MB, free: 15.55 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001546/0.1042, allocations: 172.8 kB / 356.3 MB, free: 15.37 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/0.1042, allocations: 25.7 kB / 356.3 MB, free: 15.34 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.189e-05/0.1043, allocations: 96.12 kB / 356.4 MB, free: 15.24 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.77e-05/0.1043, allocations: 0 / 356.4 MB, free: 15.24 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.101e-05/0.1043, allocations: 13.72 kB / 356.4 MB, free: 15.22 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.413e-05/0.1044, allocations: 318.8 kB / 356.8 MB, free: 14.9 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.551e-05/0.1044, allocations: 8.125 kB / 356.8 MB, free: 14.89 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.739e-05/0.1045, allocations: 40.28 kB / 356.8 MB, free: 14.84 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.919e-05/0.1045, allocations: 16.8 kB / 356.8 MB, free: 14.82 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.1045, allocations: 0 / 356.8 MB, free: 14.82 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.35e-05/0.1046, allocations: 53.55 kB / 356.9 MB, free: 14.76 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.1046, allocations: 7.984 kB / 356.9 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.1046, allocations: 4.094 kB / 356.9 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.1046, allocations: 0 / 356.9 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.15e-05/0.1047, allocations: 4 kB / 356.9 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.1047, allocations: 0 / 356.9 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.208e-05/0.1048, allocations: 3.938 kB / 356.9 MB, free: 14.74 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.1048, allocations: 4 kB / 356.9 MB, free: 14.74 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.711e-05/0.1049, allocations: 121.8 kB / 357 MB, free: 14.61 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.738e-05/0.1049, allocations: 11.84 kB / 357 MB, free: 14.6 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.34e-05/0.1049, allocations: 11.88 kB / 357 MB, free: 14.58 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.1049, allocations: 7.938 kB / 357 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.105, allocations: 0 / 357 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.105, allocations: 0 / 357 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001687/0.1051, allocations: 173.6 kB / 357.2 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.1051, allocations: 0 / 357.2 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.995e-05/0.1052, allocations: 7.938 kB / 357.2 MB, free: 14.35 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.1052, allocations: 0 / 357.2 MB, free: 14.35 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.012e-06/0.1052, allocations: 0 / 357.2 MB, free: 14.35 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1052, allocations: 0 / 357.2 MB, free: 14.35 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1052, allocations: 0 / 357.2 MB, free: 14.35 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001155/0.1053, allocations: 77.03 kB / 357.3 MB, free: 14.25 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.317e-05/0.1054, allocations: 96.97 kB / 357.4 MB, free: 14.14 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.209e-05/0.1054, allocations: 4 kB / 357.4 MB, free: 14.14 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.703e-05/0.1055, allocations: 3.938 kB / 357.4 MB, free: 14.13 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.116e-05/0.1055, allocations: 3.938 kB / 357.4 MB, free: 14.13 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.629e-06/0.1055, allocations: 7.984 kB / 357.4 MB, free: 14.12 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.486e-05/0.1056, allocations: 127.2 kB / 357.5 MB, free: 14 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1056, allocations: 4.031 kB / 357.5 MB, free: 13.99 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002047/0.1058, allocations: 20 kB / 357.6 MB, free: 13.97 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003665/0.1062, allocations: 172 kB / 357.7 MB, free: 13.83 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 8.044e-05/0.1063, allocations: 8 kB / 357.7 MB, free: 13.82 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.1063, allocations: 4 kB / 357.7 MB, free: 13.82 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.656e-06/0.1063, allocations: 0 / 357.7 MB, free: 13.82 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001656/0.1065, allocations: 26.28 kB / 357.8 MB, free: 13.8 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003105/0.1068, allocations: 194.5 kB / 358 MB, free: 13.57 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002268/0.1071, allocations: 0.6857 MB / 358.6 MB, free: 12.86 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.784e-05/0.1071, allocations: 15.44 kB / 358.7 MB, free: 12.84 MB / 302.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1071, allocations: 0 / 358.7 MB, free: 12.84 MB / 302.1 MB Notification: Performance of Templates: time 0.003199/0.1103, allocations: 1.467 MB / 360.1 MB, free: 11.39 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.makefile (rm -f Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; mkfifo Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe >> ../files/Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.sim & ./Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Utilities/Examples/ReadRealMatrixFromFile/ReadRealMatrixFromFile.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches