Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") translateModel(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001094/0.001094, allocations: 178.3 kB / 17.41 MB, free: 4.41 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.454/1.454, allocations: 205.4 MB / 223.6 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008165/0.0008167, allocations: 74.44 kB / 271.9 MB, free: 8.262 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3177/0.3177, allocations: 43.55 MB / 363.7 MB, free: 52.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003722/0.0003722, allocations: 12 kB / 432.6 MB, free: 5.883 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1081, allocations: 58.85 MB / 491.4 MB, free: 10.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3031/0.4112, allocations: 89.09 MB / 0.5669 GB, free: 13.34 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001601/0.4114, allocations: 67.97 kB / 0.567 GB, free: 13.27 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02419/0.4356, allocations: 7.369 MB / 0.5742 GB, free: 5.93 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.414e-06/0.4357, allocations: 0 / 0.5742 GB, free: 5.93 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.4357, allocations: 0 / 0.5742 GB, free: 5.93 MB / 394.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.000539/0.4362, allocations: 403.3 kB / 0.5746 GB, free: 5.484 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.4363, allocations: 12.03 kB / 0.5746 GB, free: 5.473 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.342e-05/0.4363, allocations: 76.22 kB / 0.5747 GB, free: 5.398 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001039/0.4365, allocations: 239.6 kB / 0.5749 GB, free: 5.125 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.214e-05/0.4365, allocations: 154.9 kB / 0.575 GB, free: 4.973 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.824e-05/0.4366, allocations: 150.9 kB / 0.5752 GB, free: 4.824 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.51e-05/0.4367, allocations: 109.5 kB / 0.5753 GB, free: 4.711 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.322e-05/0.4367, allocations: 75.47 kB / 0.5754 GB, free: 4.637 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.515e-05/0.4368, allocations: 158.5 kB / 0.5755 GB, free: 4.48 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.742e-05/0.4368, allocations: 150.6 kB / 0.5756 GB, free: 4.332 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.365e-05/0.4369, allocations: 158.5 kB / 0.5758 GB, free: 4.176 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002544/0.4371, allocations: 442 kB / 0.5762 GB, free: 3.695 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.695e-05/0.4372, allocations: 165.8 kB / 0.5764 GB, free: 3.523 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.573e-05/0.4373, allocations: 84.14 kB / 0.5765 GB, free: 3.438 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.718e-05/0.4373, allocations: 79.28 kB / 0.5765 GB, free: 3.359 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.852e-05/0.4374, allocations: 109.8 kB / 0.5766 GB, free: 3.242 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.4374, allocations: 0 / 0.5766 GB, free: 3.242 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 7.707e-05/0.4374, allocations: 37.56 kB / 0.5767 GB, free: 3.199 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.926e-05/0.4375, allocations: 152.4 kB / 0.5768 GB, free: 3.031 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.322e-05/0.4376, allocations: 90.52 kB / 0.5769 GB, free: 2.934 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.317e-05/0.4376, allocations: 29.7 kB / 0.5769 GB, free: 2.898 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.764e-05/0.4376, allocations: 84.12 kB / 0.577 GB, free: 2.812 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.994e-06/0.4376, allocations: 0 / 0.577 GB, free: 2.812 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.2e-07/0.4376, allocations: 0 / 0.577 GB, free: 2.812 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001031/0.4377, allocations: 318.8 kB / 0.5773 GB, free: 2.492 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.767e-06/0.4378, allocations: 0 / 0.5773 GB, free: 2.492 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.781e-05/0.4378, allocations: 1.969 kB / 0.5773 GB, free: 2.492 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.696e-05/0.4378, allocations: 75.28 kB / 0.5774 GB, free: 2.418 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.748e-05/0.4378, allocations: 79.28 kB / 0.5775 GB, free: 2.34 MB / 394.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.126e-05/0.4379, allocations: 33.64 kB / 0.5775 GB, free: 2.301 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.597e-05/0.4379, allocations: 79.28 kB / 0.5776 GB, free: 2.223 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.8e-05/0.438, allocations: 83.27 kB / 0.5777 GB, free: 2.141 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.013e-05/0.438, allocations: 158.5 kB / 0.5778 GB, free: 1.984 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.338e-05/0.4381, allocations: 79.22 kB / 0.5779 GB, free: 1.906 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-05/0.4381, allocations: 150.6 kB / 0.578 GB, free: 1.758 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.195e-05/0.4382, allocations: 87.16 kB / 0.5781 GB, free: 1.672 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.513e-05/0.4382, allocations: 77.23 kB / 0.5782 GB, free: 1.598 MB / 394.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.0001163/0.4384, allocations: 268.4 kB / 0.5784 GB, free: 1.324 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.275e-05/0.4384, allocations: 108.9 kB / 0.5785 GB, free: 1.211 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.58e-05/0.4385, allocations: 112 kB / 0.5786 GB, free: 1.098 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.328e-05/0.4385, allocations: 178.2 kB / 0.5788 GB, free: 0.918 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-05/0.4386, allocations: 180.2 kB / 0.579 GB, free: 0.7344 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.908e-05/0.4387, allocations: 180.3 kB / 0.5792 GB, free: 0.5508 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002012/0.4389, allocations: 409.2 kB / 0.5796 GB, free: 96 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.781e-05/0.4389, allocations: 101 kB / 0.5796 GB, free: 15.99 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.73e-05/0.439, allocations: 101 kB / 0.5797 GB, free: 15.88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.667e-05/0.439, allocations: 184.2 kB / 0.5799 GB, free: 15.7 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.105e-05/0.4391, allocations: 190.3 kB / 0.5801 GB, free: 15.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.137e-05/0.4392, allocations: 188.2 kB / 0.5803 GB, free: 15.31 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.795e-05/0.4392, allocations: 176.3 kB / 0.5805 GB, free: 15.13 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001195/0.4394, allocations: 303.8 kB / 0.5807 GB, free: 14.81 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.802e-05/0.4394, allocations: 182.1 kB / 0.5809 GB, free: 14.61 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.411e-05/0.4395, allocations: 188.1 kB / 0.5811 GB, free: 14.42 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.844e-05/0.4396, allocations: 105 kB / 0.5812 GB, free: 14.31 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.524e-05/0.4397, allocations: 176.7 kB / 0.5814 GB, free: 14.13 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.944e-05/0.4397, allocations: 116.9 kB / 0.5815 GB, free: 14.01 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.572e-05/0.4397, allocations: 75.28 kB / 0.5815 GB, free: 13.93 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4398, allocations: 0 / 0.5815 GB, free: 13.93 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006782/0.4404, allocations: 175.7 kB / 0.5817 GB, free: 13.76 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 () * 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.0008913/0.4413, allocations: 377.7 kB / 0.5821 GB, free: 13.39 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 4.609e-05/0.4414, allocations: 0 / 0.5821 GB, free: 13.39 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.4414, allocations: 0 / 0.5821 GB, free: 13.39 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.734e-06/0.4414, allocations: 8 kB / 0.5821 GB, free: 13.38 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003434/0.4418, allocations: 0.5224 MB / 0.5826 GB, free: 12.85 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001464/0.4419, allocations: 170.9 kB / 0.5828 GB, free: 12.65 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002246/0.4422, allocations: 0.6731 MB / 0.5834 GB, free: 11.95 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.372e-05/0.4422, allocations: 7.438 kB / 0.5834 GB, free: 11.95 MB / 410.7 MB Notification: Performance of SimCode: time 2.2e-07/0.4422, allocations: 4 kB / 0.5834 GB, free: 11.94 MB / 410.7 MB Notification: Performance of Templates: time 0.005338/0.4475, allocations: 3.008 MB / 0.5864 GB, free: 8.945 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/TestMatricesExamplesSolveLinearEquations/TestMatricesExamplesSolveLinearEquations.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches