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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001795/0.001795, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002107/0.002107, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.463/2.463, allocations: 227.4 MB / 246.9 MB, free: 10.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4535/0.4535, allocations: 46.12 MB / 344.3 MB, free: 11.8 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002434/0.002435, allocations: 78.45 kB / 417.5 MB, free: 20.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1625/0.165, allocations: 62.44 MB / 479.9 MB, free: 5.742 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.002289/0.1674, allocations: 0.5489 MB / 480.5 MB, free: 5.188 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003816/0.1712, allocations: 2.046 MB / 482.5 MB, free: 3.129 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.053e-06/0.1713, allocations: 7.938 kB / 482.5 MB, free: 3.121 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.489e-06/0.1713, allocations: 0 / 482.5 MB, free: 3.121 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 1.493e-06/0.1713, allocations: 0 / 482.5 MB, free: 3.121 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Math/package.mo:697:5-750:29:writable] Warning: Pure function ‘Modelica.Math.Matrices.Examples.solveLinearEquations‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.002109/0.1734, allocations: 461.4 kB / 483 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 1.745e-05/0.1735, allocations: 0 / 483 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.006e-05/0.1735, allocations: 0 / 483 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.168e-05/0.1735, allocations: 4 kB / 483 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.059e-05/0.1736, allocations: 3.984 kB / 483 MB, free: 2.668 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.62e-06/0.1736, allocations: 0 / 483 MB, free: 2.668 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001532/0.1751, allocations: 0.8888 MB / 483.9 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.315e-06/0.1751, allocations: 0 / 483.9 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.708e-05/0.1752, allocations: 0 / 483.9 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001001/0.1762, allocations: 0.5498 MB / 484.4 MB, free: 1.227 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.1762, allocations: 0 / 484.4 MB, free: 1.227 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1762, allocations: 0 / 484.4 MB, free: 1.227 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.492e-05/0.1762, allocations: 0 / 484.4 MB, free: 1.227 MB / 350.1 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.0005384/0.1768, allocations: 379.5 kB / 484.8 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.547e-05/0.1768, allocations: 12.88 kB / 484.8 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.208e-05/0.1769, allocations: 80.16 kB / 484.9 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001345/0.177, allocations: 239.7 kB / 485.1 MB, free: 456 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.236e-05/0.1771, allocations: 150.9 kB / 485.3 MB, free: 304 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.367e-05/0.1772, allocations: 150.9 kB / 485.4 MB, free: 152 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.151e-05/0.1773, allocations: 113.3 kB / 485.5 MB, free: 32 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.338e-05/0.1773, allocations: 79.28 kB / 485.6 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.642e-05/0.1774, allocations: 150.6 kB / 485.8 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.249e-05/0.1775, allocations: 154.5 kB / 485.9 MB, free: 15.65 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.82e-05/0.1776, allocations: 158.5 kB / 486.1 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003413/0.1779, allocations: 441.9 kB / 486.5 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001115/0.178, allocations: 173.1 kB / 486.7 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.667e-05/0.1781, allocations: 80.14 kB / 486.7 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.04e-05/0.1781, allocations: 79.28 kB / 486.8 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.664e-05/0.1782, allocations: 109.8 kB / 486.9 MB, free: 14.56 MB / 366.1 MB Notification: Performance of pre-optimization done (n=0): time 1.353e-06/0.1782, allocations: 0 / 486.9 MB, free: 14.56 MB / 366.1 MB Notification: Performance of matching and sorting (n=0): time 9.791e-05/0.1783, allocations: 37.62 kB / 487 MB, free: 14.52 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001108/0.1784, allocations: 152.4 kB / 487.1 MB, free: 14.35 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.361e-05/0.1785, allocations: 93.86 kB / 487.2 MB, free: 14.25 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.727e-05/0.1785, allocations: 25.7 kB / 487.2 MB, free: 14.21 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.372e-05/0.1786, allocations: 80.14 kB / 487.3 MB, free: 14.13 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.705e-06/0.1786, allocations: 3.938 kB / 487.3 MB, free: 14.13 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.24e-05/0.1786, allocations: 13.66 kB / 487.3 MB, free: 14.11 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001494/0.1788, allocations: 310.8 kB / 487.6 MB, free: 13.8 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.225e-06/0.1788, allocations: 8 kB / 487.6 MB, free: 13.79 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.368e-05/0.1788, allocations: 4 kB / 487.6 MB, free: 13.79 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.792e-05/0.1789, allocations: 75.28 kB / 487.7 MB, free: 13.71 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.087e-05/0.1789, allocations: 75.28 kB / 487.8 MB, free: 13.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.824e-05/0.179, allocations: 33.64 kB / 487.8 MB, free: 13.6 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.477e-05/0.1791, allocations: 87.2 kB / 487.9 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.312e-05/0.1791, allocations: 75.28 kB / 488 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.971e-05/0.1792, allocations: 158.5 kB / 488.1 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.97e-05/0.1793, allocations: 83.33 kB / 488.2 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.666e-05/0.1793, allocations: 150.6 kB / 488.4 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001064/0.1794, allocations: 79.22 kB / 488.4 MB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.679e-05/0.1795, allocations: 79.28 kB / 488.5 MB, free: 12.89 MB / 366.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 (0): * Single equations (assignments): 0 * 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 0.0001995/0.1797, allocations: 260.4 kB / 488.8 MB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.63e-05/0.1798, allocations: 116.8 kB / 488.9 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.86e-05/0.1798, allocations: 104.1 kB / 489 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.127e-05/0.1799, allocations: 176.3 kB / 489.2 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.682e-05/0.18, allocations: 184.4 kB / 489.3 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.212e-05/0.1801, allocations: 180.3 kB / 489.5 MB, free: 11.85 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003791/0.1805, allocations: 409.2 kB / 489.9 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.443e-05/0.1806, allocations: 105 kB / 490 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.482e-05/0.1806, allocations: 101 kB / 490.1 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.124e-05/0.1807, allocations: 184.1 kB / 490.3 MB, free: 10.99 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001106/0.1809, allocations: 184.2 kB / 490.5 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.065e-05/0.1809, allocations: 184.2 kB / 490.6 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.385e-05/0.181, allocations: 180.3 kB / 490.8 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001777/0.1812, allocations: 311.8 kB / 491.1 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.629e-05/0.1813, allocations: 182.1 kB / 491.3 MB, free: 9.902 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.006e-05/0.1814, allocations: 184.1 kB / 491.5 MB, free: 9.715 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001221/0.1815, allocations: 109 kB / 491.6 MB, free: 9.602 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.771e-05/0.1816, allocations: 176.3 kB / 491.8 MB, free: 9.422 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.377e-05/0.1817, allocations: 108.9 kB / 491.9 MB, free: 9.309 MB / 366.1 MB Notification: Performance of sorting global known variables: time 3.473e-05/0.1817, allocations: 75.28 kB / 491.9 MB, free: 9.234 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.513e-06/0.1817, allocations: 0 / 491.9 MB, free: 9.234 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000782/0.1825, allocations: 151.9 kB / 492.1 MB, free: 9.086 MB / 366.1 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 (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.001216/0.1837, allocations: 340.7 kB / 492.4 MB, free: 8.75 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 5.701e-05/0.1838, allocations: 0 / 492.4 MB, free: 8.75 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.676e-06/0.1838, allocations: 4 kB / 492.4 MB, free: 8.746 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.534e-06/0.1839, allocations: 4 kB / 492.4 MB, free: 8.742 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005983/0.1845, allocations: 0.5248 MB / 493 MB, free: 8.215 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002672/0.1847, allocations: 167.8 kB / 493.1 MB, free: 8.016 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004029/0.1852, allocations: 0.677 MB / 493.8 MB, free: 7.312 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.961e-05/0.1852, allocations: 11.44 kB / 493.8 MB, free: 7.305 MB / 366.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1852, allocations: 0 / 493.8 MB, free: 7.305 MB / 366.1 MB Notification: Performance of Templates: time 0.008695/0.1939, allocations: 2.911 MB / 496.7 MB, free: 4.391 MB / 366.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestMatricesExamplesSolveLinearEquations/TestMatricesExamplesSolveLinearEquations.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches