Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") translateModel(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009879/0.000988, allocations: 196.2 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.262/1.262, allocations: 225.4 MB / 240.1 MB, free: 15.11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008464/0.0008465, allocations: 88.08 kB / 292.1 MB, free: 5.961 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1807/0.1807, allocations: 45.14 MB / 389.3 MB, free: 11.87 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.518e-05/2.52e-05, allocations: 4 kB / 460.4 MB, free: 70.03 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1076, allocations: 63.24 MB / 0.5113 GB, free: 6.805 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3725/0.4802, allocations: 91.58 MB / 0.6008 GB, free: 2.41 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001711/0.4804, allocations: 61.03 kB / 0.6008 GB, free: 2.383 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02395/0.5044, allocations: 7.521 MB / 0.6082 GB, free: 11.79 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.5044, allocations: 4 kB / 0.6082 GB, free: 11.78 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.948e-06/0.5045, allocations: 0 / 0.6082 GB, free: 11.78 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.000408/0.5049, allocations: 402 kB / 0.6086 GB, free: 11.35 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.5049, allocations: 15.97 kB / 0.6086 GB, free: 11.33 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.91e-05/0.505, allocations: 75.28 kB / 0.6087 GB, free: 11.26 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000114/0.5051, allocations: 238.3 kB / 0.6089 GB, free: 10.98 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.514e-05/0.5051, allocations: 153.8 kB / 0.609 GB, free: 10.84 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.298e-05/0.5052, allocations: 154.6 kB / 0.6092 GB, free: 10.68 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.118e-05/0.5053, allocations: 108.9 kB / 0.6093 GB, free: 10.57 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.374e-05/0.5053, allocations: 79.22 kB / 0.6094 GB, free: 10.49 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.87e-05/0.5054, allocations: 150.6 kB / 0.6095 GB, free: 10.34 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.332e-05/0.5054, allocations: 154.6 kB / 0.6096 GB, free: 10.19 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.177e-05/0.5055, allocations: 150.6 kB / 0.6098 GB, free: 10.04 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002615/0.5057, allocations: 445.8 kB / 0.6102 GB, free: 9.562 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.586e-05/0.5058, allocations: 165.1 kB / 0.6104 GB, free: 9.391 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.292e-05/0.5059, allocations: 84.08 kB / 0.6105 GB, free: 9.305 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.766e-05/0.5059, allocations: 75.28 kB / 0.6105 GB, free: 9.23 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.807e-05/0.506, allocations: 125.7 kB / 0.6106 GB, free: 9.098 MB / 410.7 MB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.506, allocations: 0 / 0.6106 GB, free: 9.098 MB / 410.7 MB Notification: Performance of matching and sorting (n=0): time 7.6e-05/0.5061, allocations: 33.59 kB / 0.6107 GB, free: 9.062 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.711e-05/0.5061, allocations: 152.4 kB / 0.6108 GB, free: 8.895 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.739e-05/0.5062, allocations: 85 kB / 0.6109 GB, free: 8.805 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.192e-05/0.5062, allocations: 25.7 kB / 0.6109 GB, free: 8.773 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.143e-05/0.5062, allocations: 80.14 kB / 0.611 GB, free: 8.691 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.733e-06/0.5063, allocations: 4 kB / 0.611 GB, free: 8.688 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.4e-07/0.5063, allocations: 0 / 0.611 GB, free: 8.688 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.5064, allocations: 314.8 kB / 0.6113 GB, free: 8.371 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.159e-06/0.5064, allocations: 3.938 kB / 0.6113 GB, free: 8.367 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.371e-05/0.5064, allocations: 0 / 0.6113 GB, free: 8.367 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.01e-05/0.5065, allocations: 75.28 kB / 0.6114 GB, free: 8.293 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.009e-05/0.5065, allocations: 75.28 kB / 0.6115 GB, free: 8.219 MB / 410.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.982e-05/0.5065, allocations: 29.7 kB / 0.6115 GB, free: 8.184 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.742e-05/0.5066, allocations: 83.27 kB / 0.6116 GB, free: 8.102 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-05/0.5066, allocations: 82 kB / 0.6116 GB, free: 8.023 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.438e-05/0.5067, allocations: 162.3 kB / 0.6118 GB, free: 7.867 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.038e-05/0.5067, allocations: 79.23 kB / 0.6119 GB, free: 7.789 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-05/0.5068, allocations: 154.5 kB / 0.612 GB, free: 7.637 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.672e-05/0.5068, allocations: 79.33 kB / 0.6121 GB, free: 7.559 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.537e-05/0.5069, allocations: 83.22 kB / 0.6122 GB, free: 7.477 MB / 410.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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 0.0001048/0.507, allocations: 257.6 kB / 0.6124 GB, free: 7.219 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.732e-05/0.507, allocations: 107.5 kB / 0.6125 GB, free: 7.109 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.548e-05/0.5071, allocations: 108.1 kB / 0.6126 GB, free: 6.996 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.257e-05/0.5072, allocations: 180.2 kB / 0.6128 GB, free: 6.812 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-05/0.5072, allocations: 180.2 kB / 0.613 GB, free: 6.629 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.82e-05/0.5073, allocations: 184 kB / 0.6131 GB, free: 6.445 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002107/0.5075, allocations: 405.2 kB / 0.6135 GB, free: 5.992 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.991e-05/0.5076, allocations: 101 kB / 0.6136 GB, free: 5.887 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.654e-05/0.5076, allocations: 104.9 kB / 0.6137 GB, free: 5.777 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.285e-05/0.5077, allocations: 176.3 kB / 0.6139 GB, free: 5.598 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.799e-05/0.5077, allocations: 191.7 kB / 0.6141 GB, free: 5.406 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.548e-05/0.5078, allocations: 180.3 kB / 0.6143 GB, free: 5.223 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.468e-05/0.5079, allocations: 180.2 kB / 0.6144 GB, free: 5.039 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001313/0.508, allocations: 303.3 kB / 0.6147 GB, free: 4.723 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.626e-05/0.5081, allocations: 194 kB / 0.6149 GB, free: 4.508 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.63e-05/0.5082, allocations: 180.3 kB / 0.6151 GB, free: 4.324 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.577e-05/0.5083, allocations: 105.4 kB / 0.6152 GB, free: 4.215 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.054e-05/0.5083, allocations: 184 kB / 0.6153 GB, free: 4.031 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.959e-05/0.5084, allocations: 109 kB / 0.6155 GB, free: 3.918 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.79e-05/0.5084, allocations: 79.33 kB / 0.6155 GB, free: 3.84 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5084, allocations: 3.938 kB / 0.6155 GB, free: 3.836 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005672/0.509, allocations: 175.6 kB / 0.6157 GB, free: 3.668 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0007573/0.5098, allocations: 386.8 kB / 0.6161 GB, free: 3.297 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 3.861e-05/0.5098, allocations: 0 / 0.6161 GB, free: 3.297 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.818e-06/0.5098, allocations: 4 kB / 0.6161 GB, free: 3.293 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.643e-06/0.5098, allocations: 0 / 0.6161 GB, free: 3.293 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002599/0.5101, allocations: 0.5185 MB / 0.6166 GB, free: 2.77 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001116/0.5102, allocations: 123.3 kB / 0.6167 GB, free: 2.629 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002458/0.5105, allocations: 0.6731 MB / 0.6174 GB, free: 1.93 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.518e-06/0.5105, allocations: 3.938 kB / 0.6174 GB, free: 1.926 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.478e-06/0.5105, allocations: 11.44 kB / 0.6174 GB, free: 1.914 MB / 410.7 MB Notification: Performance of SimCode: time 2.31e-07/0.5105, allocations: 0 / 0.6174 GB, free: 1.914 MB / 410.7 MB Notification: Performance of Templates: time 0.007203/0.5177, allocations: 3.702 MB / 0.621 GB, free: 14.22 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestMatricesExamplesSolveLinearEquations/TestMatricesExamplesSolveLinearEquations.csv","../files/ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches