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.00136/0.00136, allocations: 109.7 kB / 17.16 MB, free: 6.324 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.001432/0.001432, allocations: 198.9 kB / 18.08 MB, free: 5.422 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.356/1.356, allocations: 222.9 MB / 241.8 MB, free: 13.6 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 46.52 kB / 300.6 MB, free: 6.059 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09326/0.09457, allocations: 49.45 MB / 350.1 MB, free: 4.602 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.002027/0.09663, allocations: 0.5829 MB / 350.6 MB, free: 4.016 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00244/0.0991, allocations: 1.782 MB / 352.4 MB, free: 2.215 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.018e-05/0.09917, allocations: 0 / 352.4 MB, free: 2.215 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002109/0.1013, allocations: 120.2 kB / 352.5 MB, free: 2.117 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.702e-05/0.1014, allocations: 31.91 kB / 352.6 MB, free: 2.086 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001841/0.1016, allocations: 50.88 kB / 352.6 MB, free: 2.039 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 8.194e-05/0.1017, allocations: 47.84 kB / 352.7 MB, free: 1.992 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.636e-05/0.1017, allocations: 4 kB / 352.7 MB, free: 1.988 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.082e-05/0.1018, allocations: 23.91 kB / 352.7 MB, free: 1.965 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001057/0.1019, allocations: 27.86 kB / 352.7 MB, free: 1.938 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.503e-05/0.1019, allocations: 4 kB / 352.7 MB, free: 1.934 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.645e-05/0.102, allocations: 19.97 kB / 352.7 MB, free: 1.914 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001063/0.1021, allocations: 51.89 kB / 352.8 MB, free: 1.863 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.718e-05/0.1021, allocations: 19.88 kB / 352.8 MB, free: 1.844 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001079/0.1023, allocations: 43.94 kB / 352.9 MB, free: 1.801 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1023, allocations: 0 / 352.9 MB, free: 1.801 MB / 286.1 MB Notification: Performance of FrontEnd: time 8.92e-07/0.1023, allocations: 0 / 352.9 MB, free: 1.801 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.539e-06/0.1023, allocations: 0 / 352.9 MB, free: 1.801 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.0004429/0.1027, allocations: 409.1 kB / 353.3 MB, free: 1.348 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.1028, allocations: 8.031 kB / 353.3 MB, free: 1.34 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.573e-05/0.1028, allocations: 8.844 kB / 353.3 MB, free: 1.332 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002398/0.1031, allocations: 202.5 kB / 353.5 MB, free: 1.098 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.758e-06/0.1031, allocations: 12.31 kB / 353.5 MB, free: 1.086 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.1031, allocations: 4.359 kB / 353.5 MB, free: 1.082 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001242/0.1032, allocations: 70.3 kB / 353.6 MB, free: 0.9922 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.1033, allocations: 3.984 kB / 353.6 MB, free: 0.9883 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.1033, allocations: 4 kB / 353.6 MB, free: 0.9844 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.1033, allocations: 0 / 353.6 MB, free: 0.9844 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.016e-05/0.1033, allocations: 11.94 kB / 353.6 MB, free: 0.9727 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003075/0.1036, allocations: 169.7 kB / 353.7 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.228e-05/0.1037, allocations: 22.58 kB / 353.8 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.755e-05/0.1037, allocations: 8.844 kB / 353.8 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.576e-06/0.1037, allocations: 0 / 353.8 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.806e-05/0.1038, allocations: 64.27 kB / 353.8 MB, free: 0.6367 MB / 286.1 MB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/0.1038, allocations: 3.938 kB / 353.8 MB, free: 0.6328 MB / 286.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001361/0.1039, allocations: 49.55 kB / 353.9 MB, free: 0.5781 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.286e-05/0.104, allocations: 162.2 kB / 354 MB, free: 392 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001549/0.1042, allocations: 161.8 kB / 354.2 MB, free: 220 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.439e-05/0.1042, allocations: 25.7 kB / 354.2 MB, free: 188 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.56e-05/0.1042, allocations: 92.14 kB / 354.3 MB, free: 92 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.813e-05/0.1043, allocations: 7.891 kB / 354.3 MB, free: 84 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.577e-05/0.1043, allocations: 17.72 kB / 354.3 MB, free: 60 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.1044, allocations: 322.9 kB / 354.7 MB, free: 15.73 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.004e-05/0.1045, allocations: 7.984 kB / 354.7 MB, free: 15.73 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.857e-05/0.1045, allocations: 36.3 kB / 354.7 MB, free: 15.68 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.4e-05/0.1046, allocations: 20.84 kB / 354.7 MB, free: 15.65 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.1046, allocations: 0 / 354.7 MB, free: 15.65 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.645e-05/0.1047, allocations: 49.48 kB / 354.8 MB, free: 15.6 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.1047, allocations: 14.12 kB / 354.8 MB, free: 15.59 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.1047, allocations: 0 / 354.8 MB, free: 15.59 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.1047, allocations: 0 / 354.8 MB, free: 15.59 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.176e-05/0.1047, allocations: 7.984 kB / 354.8 MB, free: 15.58 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.159e-06/0.1047, allocations: 0 / 354.8 MB, free: 15.58 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.129e-05/0.1048, allocations: 3.938 kB / 354.8 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.616e-06/0.1048, allocations: 8 kB / 354.8 MB, free: 15.57 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 9.397e-05/0.1049, allocations: 125.8 kB / 354.9 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.443e-05/0.105, allocations: 11.84 kB / 354.9 MB, free: 15.42 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.389e-05/0.105, allocations: 11.88 kB / 354.9 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.105, allocations: 0 / 354.9 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.105, allocations: 0 / 354.9 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.215e-06/0.105, allocations: 0 / 354.9 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001888/0.1052, allocations: 173.7 kB / 355.1 MB, free: 15.19 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1052, allocations: 0 / 355.1 MB, free: 15.19 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.803e-05/0.1053, allocations: 7.922 kB / 355.1 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1053, allocations: 4 kB / 355.1 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.1053, allocations: 0 / 355.1 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.1053, allocations: 3.938 kB / 355.1 MB, free: 15.17 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1053, allocations: 0 / 355.1 MB, free: 15.17 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001153/0.1054, allocations: 77.03 kB / 355.2 MB, free: 15.08 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.761e-05/0.1055, allocations: 85.08 kB / 355.3 MB, free: 14.98 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.95e-05/0.1055, allocations: 3.938 kB / 355.3 MB, free: 14.97 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.137e-05/0.1056, allocations: 7.984 kB / 355.3 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.045e-05/0.1056, allocations: 0 / 355.3 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-06/0.1056, allocations: 0 / 355.3 MB, free: 14.96 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.548e-05/0.1057, allocations: 135.3 kB / 355.4 MB, free: 14.83 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1057, allocations: 0 / 355.4 MB, free: 14.83 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002086/0.1059, allocations: 12 kB / 355.4 MB, free: 14.82 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.0003611/0.1063, allocations: 185 kB / 355.6 MB, free: 14.67 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 8.086e-05/0.1064, allocations: 11.94 kB / 355.6 MB, free: 14.66 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.818e-06/0.1064, allocations: 4 kB / 355.6 MB, free: 14.65 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.371e-05/0.1064, allocations: 7.984 kB / 355.6 MB, free: 14.64 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001549/0.1066, allocations: 15.83 kB / 355.7 MB, free: 14.63 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003204/0.1069, allocations: 193 kB / 355.9 MB, free: 14.4 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000248/0.1072, allocations: 0.6887 MB / 356.5 MB, free: 13.69 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.854e-05/0.1072, allocations: 11.44 kB / 356.6 MB, free: 13.68 MB / 302.1 MB Notification: Performance of SimCode: time 2.615e-06/0.1072, allocations: 0 / 356.6 MB, free: 13.68 MB / 302.1 MB Notification: Performance of Templates: time 0.003208/0.1104, allocations: 1.481 MB / 358 MB, free: 12.21 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