Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") translateModel(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001198/0.001198, allocations: 175.8 kB / 16.76 MB, free: 5.051 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.588/1.588, allocations: 205.4 MB / 222.9 MB, free: 9.02 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.0007429/0.0007429, allocations: 92.69 kB / 271.3 MB, free: 8.238 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.3852/0.3852, allocations: 43.56 MB / 363.1 MB, free: 52.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003904/0.0003906, allocations: 15.98 kB / 432.6 MB, free: 5.215 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.1294, allocations: 58.85 MB / 491.5 MB, free: 10.28 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3558/0.4853, allocations: 89.09 MB / 0.567 GB, free: 12.9 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002007/0.4855, allocations: 59.97 kB / 0.567 GB, free: 12.84 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02474/0.5103, allocations: 7.377 MB / 0.5742 GB, free: 5.496 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.495e-06/0.5103, allocations: 4 kB / 0.5742 GB, free: 5.492 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.479e-06/0.5103, allocations: 0 / 0.5742 GB, free: 5.492 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.0005604/0.5109, allocations: 395.3 kB / 0.5746 GB, free: 5.055 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.511, allocations: 8.031 kB / 0.5746 GB, free: 5.047 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.837e-05/0.511, allocations: 80.22 kB / 0.5747 GB, free: 4.969 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001262/0.5112, allocations: 243.5 kB / 0.5749 GB, free: 4.691 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.541e-05/0.5112, allocations: 150.9 kB / 0.5751 GB, free: 4.543 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.582e-05/0.5113, allocations: 158.9 kB / 0.5752 GB, free: 4.387 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.873e-05/0.5114, allocations: 101.5 kB / 0.5753 GB, free: 4.281 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.844e-05/0.5114, allocations: 79.03 kB / 0.5754 GB, free: 4.207 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.712e-05/0.5115, allocations: 154.5 kB / 0.5755 GB, free: 4.055 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.088e-05/0.5115, allocations: 150.6 kB / 0.5757 GB, free: 3.906 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.561e-05/0.5116, allocations: 158.6 kB / 0.5758 GB, free: 3.75 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002801/0.5119, allocations: 449.9 kB / 0.5763 GB, free: 3.262 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.44e-05/0.512, allocations: 165.8 kB / 0.5764 GB, free: 3.09 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.242e-05/0.512, allocations: 84.12 kB / 0.5765 GB, free: 3.004 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.628e-05/0.512, allocations: 79.28 kB / 0.5766 GB, free: 2.926 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.054e-05/0.5121, allocations: 109.8 kB / 0.5767 GB, free: 2.809 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.5121, allocations: 0 / 0.5767 GB, free: 2.809 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 6.815e-05/0.5122, allocations: 33.58 kB / 0.5767 GB, free: 2.77 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.698e-05/0.5123, allocations: 152.4 kB / 0.5768 GB, free: 2.602 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.742e-05/0.5123, allocations: 93.86 kB / 0.5769 GB, free: 2.5 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.301e-05/0.5123, allocations: 29.69 kB / 0.577 GB, free: 2.465 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.124e-05/0.5124, allocations: 84.14 kB / 0.577 GB, free: 2.379 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.014e-06/0.5124, allocations: 0 / 0.577 GB, free: 2.379 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.4e-07/0.5124, allocations: 4 kB / 0.577 GB, free: 2.375 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.5125, allocations: 314.8 kB / 0.5773 GB, free: 2.059 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.496e-06/0.5125, allocations: 0 / 0.5773 GB, free: 2.059 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.785e-05/0.5125, allocations: 0 / 0.5773 GB, free: 2.059 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.947e-05/0.5126, allocations: 75.28 kB / 0.5774 GB, free: 1.984 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.548e-05/0.5126, allocations: 75.28 kB / 0.5775 GB, free: 1.91 MB / 394.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.146e-05/0.5127, allocations: 33.64 kB / 0.5775 GB, free: 1.871 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.209e-05/0.5127, allocations: 83.31 kB / 0.5776 GB, free: 1.789 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.165e-05/0.5128, allocations: 75.28 kB / 0.5777 GB, free: 1.715 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.219e-05/0.5128, allocations: 158.5 kB / 0.5778 GB, free: 1.559 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.697e-05/0.5129, allocations: 83.2 kB / 0.5779 GB, free: 1.477 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.395e-05/0.5129, allocations: 154.6 kB / 0.5781 GB, free: 1.324 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.395e-05/0.513, allocations: 79.22 kB / 0.5781 GB, free: 1.246 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.511e-05/0.5131, allocations: 79.28 kB / 0.5782 GB, free: 1.168 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.0001314/0.5132, allocations: 264.4 kB / 0.5785 GB, free: 0.8984 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.07e-05/0.5133, allocations: 101 kB / 0.5786 GB, free: 0.793 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.451e-05/0.5133, allocations: 123.9 kB / 0.5787 GB, free: 0.668 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.888e-05/0.5134, allocations: 182.2 kB / 0.5788 GB, free: 496 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.06e-05/0.5135, allocations: 184.2 kB / 0.579 GB, free: 304 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-05/0.5135, allocations: 176.3 kB / 0.5792 GB, free: 120 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002558/0.5138, allocations: 405.2 kB / 0.5796 GB, free: 15.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.904e-05/0.5139, allocations: 101 kB / 0.5797 GB, free: 15.56 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.608e-05/0.5139, allocations: 105.7 kB / 0.5798 GB, free: 15.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.871e-05/0.514, allocations: 184.2 kB / 0.5799 GB, free: 15.26 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.506e-05/0.5141, allocations: 184.2 kB / 0.5801 GB, free: 15.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.142e-05/0.5141, allocations: 184.2 kB / 0.5803 GB, free: 14.89 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.018e-05/0.5142, allocations: 180.2 kB / 0.5805 GB, free: 14.7 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001504/0.5144, allocations: 303.8 kB / 0.5808 GB, free: 14.38 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.57e-05/0.5145, allocations: 186.1 kB / 0.5809 GB, free: 14.18 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001112/0.5146, allocations: 188.1 kB / 0.5811 GB, free: 13.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.454e-05/0.5147, allocations: 108.9 kB / 0.5812 GB, free: 13.87 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.973e-05/0.5147, allocations: 180.7 kB / 0.5814 GB, free: 13.69 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.921e-05/0.5148, allocations: 104.9 kB / 0.5815 GB, free: 13.58 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.654e-05/0.5148, allocations: 75.28 kB / 0.5816 GB, free: 13.5 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5149, allocations: 0 / 0.5816 GB, free: 13.5 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007589/0.5156, allocations: 187.7 kB / 0.5817 GB, free: 13.32 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.0008807/0.5165, allocations: 372.1 kB / 0.5821 GB, free: 12.96 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 6.345e-05/0.5166, allocations: 4 kB / 0.5821 GB, free: 12.95 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.5166, allocations: 0 / 0.5821 GB, free: 12.95 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.964e-06/0.5166, allocations: 0 / 0.5821 GB, free: 12.95 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004066/0.517, allocations: 0.5224 MB / 0.5826 GB, free: 12.43 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000195/0.5172, allocations: 150.9 kB / 0.5828 GB, free: 12.25 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003807/0.5176, allocations: 0.6731 MB / 0.5834 GB, free: 11.55 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.205e-05/0.5176, allocations: 0 / 0.5834 GB, free: 11.55 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.962e-05/0.5177, allocations: 7.438 kB / 0.5834 GB, free: 11.55 MB / 410.7 MB Notification: Performance of SimCode: time 1.9e-07/0.5177, allocations: 0 / 0.5834 GB, free: 11.55 MB / 410.7 MB Notification: Performance of Templates: time 0.007214/0.5249, allocations: 3.627 MB / 0.587 GB, free: 7.93 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.sim & ./ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches