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.001284/0.001284, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00142/0.00142, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.336/1.336, allocations: 227.4 MB / 246.9 MB, free: 9.051 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 61.47 kB / 306.9 MB, free: 0.8516 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09249/0.09373, allocations: 50.53 MB / 357.4 MB, free: 14.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.001855/0.09563, allocations: 0.5665 MB / 358 MB, free: 13.75 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002459/0.09812, allocations: 1.838 MB / 359.8 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.268e-05/0.09817, allocations: 4 kB / 359.8 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003022/0.1012, allocations: 150.2 kB / 360 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 6.188e-05/0.1013, allocations: 31.91 kB / 360 MB, free: 11.74 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001865/0.1015, allocations: 43.95 kB / 360 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.096e-05/0.1016, allocations: 47.77 kB / 360.1 MB, free: 11.65 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.053e-05/0.1016, allocations: 4 kB / 360.1 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.871e-05/0.1017, allocations: 23.92 kB / 360.1 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001115/0.1018, allocations: 27.91 kB / 360.1 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.581e-05/0.1019, allocations: 0 / 360.1 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.472e-05/0.1019, allocations: 12 kB / 360.2 MB, free: 11.58 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.864e-05/0.102, allocations: 55.83 kB / 360.2 MB, free: 11.53 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.509e-05/0.1021, allocations: 23.84 kB / 360.2 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001077/0.1022, allocations: 43.89 kB / 360.3 MB, free: 11.46 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1022, allocations: 0 / 360.3 MB, free: 11.46 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1022, allocations: 0 / 360.3 MB, free: 11.46 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.1022, allocations: 0 / 360.3 MB, free: 11.46 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.0004722/0.1027, allocations: 391.5 kB / 360.7 MB, free: 11.03 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/0.1028, allocations: 19.95 kB / 360.7 MB, free: 11.01 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.871e-05/0.1028, allocations: 8.844 kB / 360.7 MB, free: 11 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002546/0.1031, allocations: 212.2 kB / 360.9 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.1031, allocations: 384 / 360.9 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.251e-05/0.1031, allocations: 8.281 kB / 360.9 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001441/0.1033, allocations: 74.23 kB / 361 MB, free: 10.65 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.1033, allocations: 0 / 361 MB, free: 10.65 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.519e-05/0.1033, allocations: 4 kB / 361 MB, free: 10.65 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.1033, allocations: 4 kB / 361 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.769e-05/0.1033, allocations: 0 / 361 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003426/0.1037, allocations: 177.7 kB / 361.2 MB, free: 10.42 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.145e-05/0.1037, allocations: 14.58 kB / 361.2 MB, free: 10.4 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.522e-05/0.1038, allocations: 12.91 kB / 361.2 MB, free: 10.38 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.021e-05/0.1038, allocations: 3.938 kB / 361.2 MB, free: 10.38 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.9e-05/0.1039, allocations: 68.2 kB / 361.3 MB, free: 10.3 MB / 302.1 MB Notification: Performance of pre-optimization done (n=1): time 1.232e-06/0.1039, allocations: 0 / 361.3 MB, free: 10.3 MB / 302.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001544/0.104, allocations: 37.7 kB / 361.3 MB, free: 10.25 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001255/0.1042, allocations: 162.2 kB / 361.5 MB, free: 10.06 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001874/0.1043, allocations: 168.7 kB / 361.6 MB, free: 9.887 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/0.1044, allocations: 25.7 kB / 361.6 MB, free: 9.855 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.273e-05/0.1044, allocations: 96.12 kB / 361.7 MB, free: 9.758 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.022e-05/0.1045, allocations: 3.906 kB / 361.7 MB, free: 9.754 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.262e-05/0.1045, allocations: 21.84 kB / 361.8 MB, free: 9.727 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.1046, allocations: 318.8 kB / 362.1 MB, free: 9.406 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.174e-05/0.1047, allocations: 4 kB / 362.1 MB, free: 9.402 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.131e-05/0.1047, allocations: 44.22 kB / 362.1 MB, free: 9.344 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.295e-05/0.1048, allocations: 16.86 kB / 362.1 MB, free: 9.324 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.1048, allocations: 4.062 kB / 362.1 MB, free: 9.32 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.995e-05/0.1049, allocations: 45.61 kB / 362.2 MB, free: 9.27 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.1049, allocations: 11.94 kB / 362.2 MB, free: 9.258 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.1049, allocations: 0 / 362.2 MB, free: 9.258 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.1049, allocations: 3.984 kB / 362.2 MB, free: 9.254 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.746e-05/0.105, allocations: 4 kB / 362.2 MB, free: 9.25 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.105, allocations: 7.875 kB / 362.2 MB, free: 9.242 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.371e-05/0.1051, allocations: 3.938 kB / 362.2 MB, free: 9.238 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.572e-06/0.1051, allocations: 4 kB / 362.2 MB, free: 9.234 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 0.0001011/0.1052, allocations: 133.8 kB / 362.4 MB, free: 9.094 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.283e-05/0.1052, allocations: 11.84 kB / 362.4 MB, free: 9.082 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.871e-05/0.1053, allocations: 11.83 kB / 362.4 MB, free: 9.066 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.1053, allocations: 0 / 362.4 MB, free: 9.066 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.1053, allocations: 0 / 362.4 MB, free: 9.066 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.1053, allocations: 0 / 362.4 MB, free: 9.066 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000199/0.1055, allocations: 185.6 kB / 362.6 MB, free: 8.836 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1055, allocations: 0 / 362.6 MB, free: 8.836 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.009e-05/0.1055, allocations: 4 kB / 362.6 MB, free: 8.832 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.1055, allocations: 3.938 kB / 362.6 MB, free: 8.828 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.1055, allocations: 0 / 362.6 MB, free: 8.828 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1056, allocations: 4 kB / 362.6 MB, free: 8.824 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1056, allocations: 0 / 362.6 MB, free: 8.824 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001392/0.1057, allocations: 77.02 kB / 362.6 MB, free: 8.73 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.097e-05/0.1058, allocations: 93.05 kB / 362.7 MB, free: 8.621 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.126e-05/0.1058, allocations: 0 / 362.7 MB, free: 8.621 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.391e-05/0.1059, allocations: 4 kB / 362.7 MB, free: 8.617 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.099e-05/0.1059, allocations: 96 / 362.7 MB, free: 8.617 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.374e-06/0.1059, allocations: 4 kB / 362.7 MB, free: 8.613 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001079/0.106, allocations: 135.2 kB / 362.9 MB, free: 8.48 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.106, allocations: 0 / 362.9 MB, free: 8.48 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000205/0.1062, allocations: 11.98 kB / 362.9 MB, free: 8.469 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.0002962/0.1065, allocations: 140.3 kB / 363 MB, free: 8.34 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 7.781e-05/0.1066, allocations: 11.98 kB / 363 MB, free: 8.328 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1066, allocations: 0 / 363 MB, free: 8.328 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.355e-05/0.1066, allocations: 8 kB / 363 MB, free: 8.32 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001515/0.1068, allocations: 6.812 kB / 363 MB, free: 8.316 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003233/0.1071, allocations: 205.1 kB / 363.2 MB, free: 8.082 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002554/0.1074, allocations: 0.6894 MB / 363.9 MB, free: 7.367 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.085e-05/0.1074, allocations: 19.42 kB / 364 MB, free: 7.348 MB / 302.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1074, allocations: 0 / 364 MB, free: 7.348 MB / 302.1 MB Notification: Performance of Templates: time 0.003242/0.1107, allocations: 1.424 MB / 365.4 MB, free: 5.941 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/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_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches