Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_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_cpp_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") translateModel(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001414/0.001414, allocations: 195.2 kB / 16.78 MB, free: 5.027 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.387/1.387, allocations: 226.5 MB / 244.1 MB, free: 8.098 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008235/0.0008235, allocations: 88.8 kB / 296.1 MB, free: 6.863 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3488/0.3488, allocations: 44.82 MB / 393 MB, free: 35.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002682/0.0002682, allocations: 8 kB / 465.9 MB, free: 12.7 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3371/0.3374, allocations: 62.96 MB / 0.5165 GB, free: 36.84 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1221/0.4596, allocations: 91.45 MB / 0.6058 GB, free: 13.91 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002233/0.4599, allocations: 67.97 kB / 0.6058 GB, free: 13.84 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02455/0.4844, allocations: 7.482 MB / 0.6131 GB, free: 6.352 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.4845, allocations: 0 / 0.6131 GB, free: 6.352 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.742e-06/0.4845, allocations: 0 / 0.6131 GB, free: 6.352 MB / 426.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.0005568/0.4851, allocations: 411.3 kB / 0.6135 GB, free: 5.898 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.4851, allocations: 12.03 kB / 0.6135 GB, free: 5.887 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.926e-05/0.4852, allocations: 76.22 kB / 0.6136 GB, free: 5.812 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.743e-05/0.4853, allocations: 239.7 kB / 0.6138 GB, free: 5.539 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.867e-05/0.4854, allocations: 150.9 kB / 0.614 GB, free: 5.391 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.563e-05/0.4854, allocations: 150.9 kB / 0.6141 GB, free: 5.242 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.386e-05/0.4855, allocations: 113.5 kB / 0.6142 GB, free: 5.125 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.998e-05/0.4855, allocations: 83.41 kB / 0.6143 GB, free: 5.043 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.273e-05/0.4856, allocations: 154.5 kB / 0.6145 GB, free: 4.891 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.289e-05/0.4857, allocations: 150.6 kB / 0.6146 GB, free: 4.742 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.889e-05/0.4857, allocations: 150.6 kB / 0.6148 GB, free: 4.594 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002824/0.486, allocations: 441.9 kB / 0.6152 GB, free: 4.113 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.784e-05/0.4861, allocations: 181.1 kB / 0.6153 GB, free: 3.926 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.142e-05/0.4862, allocations: 80.14 kB / 0.6154 GB, free: 3.844 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.895e-05/0.4862, allocations: 75.28 kB / 0.6155 GB, free: 3.77 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.994e-05/0.4863, allocations: 105.8 kB / 0.6156 GB, free: 3.656 MB / 426.7 MB Notification: Performance of pre-optimization done (n=0): time 7.81e-07/0.4863, allocations: 0 / 0.6156 GB, free: 3.656 MB / 426.7 MB Notification: Performance of matching and sorting (n=0): time 7.483e-05/0.4864, allocations: 29.64 kB / 0.6156 GB, free: 3.621 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.534e-05/0.4864, allocations: 160.4 kB / 0.6158 GB, free: 3.445 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.365e-05/0.4865, allocations: 89.86 kB / 0.6159 GB, free: 3.348 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.834e-05/0.4865, allocations: 25.7 kB / 0.6159 GB, free: 3.316 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.392e-05/0.4865, allocations: 84.14 kB / 0.616 GB, free: 3.23 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.733e-06/0.4865, allocations: 3.938 kB / 0.616 GB, free: 3.227 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.843e-06/0.4865, allocations: 0 / 0.616 GB, free: 3.227 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.4867, allocations: 318.8 kB / 0.6163 GB, free: 2.906 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.947e-06/0.4867, allocations: 0 / 0.6163 GB, free: 2.906 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.191e-05/0.4867, allocations: 4 kB / 0.6163 GB, free: 2.902 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.605e-05/0.4868, allocations: 79.28 kB / 0.6164 GB, free: 2.824 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.408e-05/0.4868, allocations: 75.28 kB / 0.6164 GB, free: 2.75 MB / 426.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.846e-05/0.4868, allocations: 25.7 kB / 0.6165 GB, free: 2.719 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.509e-05/0.4869, allocations: 79.28 kB / 0.6165 GB, free: 2.641 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-05/0.4869, allocations: 83.22 kB / 0.6166 GB, free: 2.559 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.558e-05/0.487, allocations: 154.5 kB / 0.6168 GB, free: 2.406 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.163e-05/0.487, allocations: 83.31 kB / 0.6168 GB, free: 2.324 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.629e-05/0.4871, allocations: 158.5 kB / 0.617 GB, free: 2.168 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.703e-05/0.4872, allocations: 83.28 kB / 0.6171 GB, free: 2.086 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.743e-05/0.4872, allocations: 83.27 kB / 0.6171 GB, free: 2.004 MB / 426.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 () * Number of clocked 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.0001304/0.4874, allocations: 256.4 kB / 0.6174 GB, free: 1.742 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.018e-05/0.4875, allocations: 109 kB / 0.6175 GB, free: 1.629 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.022e-05/0.4875, allocations: 108 kB / 0.6176 GB, free: 1.516 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.938e-05/0.4876, allocations: 188.2 kB / 0.6178 GB, free: 1.324 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.528e-05/0.4877, allocations: 176.3 kB / 0.6179 GB, free: 1.145 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.89e-05/0.4877, allocations: 184.2 kB / 0.6181 GB, free: 0.957 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002274/0.488, allocations: 393.2 kB / 0.6185 GB, free: 0.5156 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.041e-05/0.488, allocations: 109 kB / 0.6186 GB, free: 412 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.478e-05/0.4881, allocations: 106.2 kB / 0.6187 GB, free: 300 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.971e-05/0.4882, allocations: 184.3 kB / 0.6189 GB, free: 108 kB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.675e-05/0.4883, allocations: 184.1 kB / 0.6191 GB, free: 15.92 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.905e-05/0.4883, allocations: 176.3 kB / 0.6192 GB, free: 15.74 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.586e-05/0.4884, allocations: 192.1 kB / 0.6194 GB, free: 15.54 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001384/0.4885, allocations: 299.8 kB / 0.6197 GB, free: 15.23 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.653e-05/0.4886, allocations: 186 kB / 0.6199 GB, free: 15.02 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.087e-05/0.4887, allocations: 188.2 kB / 0.62 GB, free: 14.83 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.453e-05/0.4888, allocations: 101 kB / 0.6201 GB, free: 14.72 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.855e-05/0.4889, allocations: 184.6 kB / 0.6203 GB, free: 14.54 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.618e-05/0.4889, allocations: 109 kB / 0.6204 GB, free: 14.42 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.825e-05/0.489, allocations: 75.28 kB / 0.6205 GB, free: 14.35 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.403e-06/0.489, allocations: 0 / 0.6205 GB, free: 14.35 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0007682/0.4898, allocations: 175.7 kB / 0.6207 GB, free: 14.18 MB / 442.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 () * Number of clocked 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.0007742/0.4905, allocations: 376.7 kB / 0.621 GB, free: 13.81 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 5.301e-05/0.4906, allocations: 11.92 kB / 0.621 GB, free: 13.8 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.4906, allocations: 0 / 0.621 GB, free: 13.8 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.302e-06/0.4906, allocations: 4 kB / 0.621 GB, free: 13.79 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003907/0.491, allocations: 0.5185 MB / 0.6215 GB, free: 13.27 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001811/0.4912, allocations: 175.6 kB / 0.6217 GB, free: 13.06 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002913/0.4915, allocations: 0.6692 MB / 0.6224 GB, free: 12.37 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.421e-05/0.4915, allocations: 7.438 kB / 0.6224 GB, free: 12.36 MB / 442.7 MB Notification: Performance of SimCode: time 2.1e-07/0.4915, allocations: 0 / 0.6224 GB, free: 12.36 MB / 442.7 MB Notification: Performance of Templates: time 0.005302/0.4968, allocations: 3.02 MB / 0.6253 GB, free: 9.34 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestMatricesExamplesSolveLinearEquations/TestMatricesExamplesSolveLinearEquations.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches