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.001343/0.001343, allocations: 115.8 kB / 18.4 MB, free: 4.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001923/0.001923, allocations: 203.4 kB / 19.35 MB, free: 3.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.308/1.308, allocations: 227.4 MB / 247.5 MB, free: 10.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1973/0.1973, allocations: 46.1 MB / 344.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 74.83 kB / 419 MB, free: 19.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1263/0.1276, allocations: 62.44 MB / 481.4 MB, free: 4.566 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001684/0.1294, allocations: 494.8 kB / 481.9 MB, free: 4.082 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002762/0.1321, allocations: 2.031 MB / 484 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.813e-06/0.1322, allocations: 3.938 kB / 484 MB, free: 2.027 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.308e-06/0.1322, allocations: 0 / 484 MB, free: 2.027 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 1.223e-06/0.1322, allocations: 0 / 484 MB, free: 2.027 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.001562/0.1338, allocations: 0.5039 MB / 484.5 MB, free: 1.531 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 2.323e-05/0.1338, allocations: 11.98 kB / 484.5 MB, free: 1.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.364e-05/0.1338, allocations: 3.984 kB / 484.5 MB, free: 1.516 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.096e-05/0.1339, allocations: 0 / 484.5 MB, free: 1.516 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.163e-05/0.1339, allocations: 0 / 484.5 MB, free: 1.516 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.699e-06/0.1339, allocations: 0 / 484.5 MB, free: 1.516 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001242/0.1351, allocations: 0.8927 MB / 485.4 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.204e-05/0.1352, allocations: 3.984 kB / 485.4 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.276e-05/0.1352, allocations: 0 / 485.4 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009018/0.1361, allocations: 0.7914 MB / 486.2 MB, free: 15.82 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1361, allocations: 4 kB / 486.2 MB, free: 15.82 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1361, allocations: 0 / 486.2 MB, free: 15.82 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.192e-06/0.1361, allocations: 4 kB / 486.2 MB, free: 15.82 MB / 366.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.0003475/0.1365, allocations: 379.5 kB / 486.5 MB, free: 15.4 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/0.1365, allocations: 8.031 kB / 486.6 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.59e-05/0.1366, allocations: 80.16 kB / 486.6 MB, free: 15.31 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001259/0.1367, allocations: 235.7 kB / 486.9 MB, free: 15.04 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.59e-05/0.1368, allocations: 158.9 kB / 487 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.374e-05/0.1369, allocations: 150.9 kB / 487.2 MB, free: 14.74 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.084e-05/0.137, allocations: 109.2 kB / 487.3 MB, free: 14.62 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.914e-05/0.137, allocations: 75.28 kB / 487.3 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.128e-05/0.1371, allocations: 154.5 kB / 487.5 MB, free: 14.4 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.619e-05/0.1372, allocations: 150.6 kB / 487.6 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.322e-05/0.1373, allocations: 154.6 kB / 487.8 MB, free: 14.1 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003384/0.1376, allocations: 450 kB / 488.2 MB, free: 13.61 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.555e-05/0.1377, allocations: 173.1 kB / 488.4 MB, free: 13.43 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.837e-05/0.1378, allocations: 84.14 kB / 488.5 MB, free: 13.34 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.331e-05/0.1378, allocations: 79.28 kB / 488.6 MB, free: 13.27 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.264e-05/0.1379, allocations: 113.8 kB / 488.7 MB, free: 13.14 MB / 366.1 MB Notification: Performance of pre-optimization done (n=0): time 1.212e-06/0.1379, allocations: 0 / 488.7 MB, free: 13.14 MB / 366.1 MB Notification: Performance of matching and sorting (n=0): time 8.603e-05/0.138, allocations: 33.75 kB / 488.7 MB, free: 13.11 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.026e-05/0.1381, allocations: 156.4 kB / 488.9 MB, free: 12.93 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.611e-05/0.1381, allocations: 89.86 kB / 488.9 MB, free: 12.84 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.103e-05/0.1382, allocations: 25.7 kB / 489 MB, free: 12.8 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.79e-05/0.1382, allocations: 84.14 kB / 489.1 MB, free: 12.72 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.416e-06/0.1382, allocations: 0 / 489.1 MB, free: 12.72 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.57e-05/0.1383, allocations: 17.66 kB / 489.1 MB, free: 12.7 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001163/0.1384, allocations: 314.8 kB / 489.4 MB, free: 12.38 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.262e-06/0.1384, allocations: 0 / 489.4 MB, free: 12.38 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.416e-05/0.1384, allocations: 0 / 489.4 MB, free: 12.38 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.349e-05/0.1385, allocations: 75.28 kB / 489.5 MB, free: 12.3 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.882e-05/0.1385, allocations: 75.28 kB / 489.5 MB, free: 12.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 8.007e-05/0.1386, allocations: 37.73 kB / 489.6 MB, free: 12.19 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.551e-05/0.1387, allocations: 83.22 kB / 489.6 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.281e-05/0.1387, allocations: 83.2 kB / 489.7 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.802e-05/0.1388, allocations: 154.6 kB / 489.9 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.194e-05/0.1388, allocations: 75.28 kB / 489.9 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.469e-05/0.1389, allocations: 158.5 kB / 490.1 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001116/0.139, allocations: 79.28 kB / 490.2 MB, free: 11.56 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.268e-05/0.1391, allocations: 83.22 kB / 490.3 MB, free: 11.48 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.0001549/0.1392, allocations: 260.4 kB / 490.5 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.858e-05/0.1393, allocations: 108.9 kB / 490.6 MB, free: 11.1 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.125e-05/0.1394, allocations: 108.1 kB / 490.7 MB, free: 10.99 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.042e-05/0.1395, allocations: 180.2 kB / 490.9 MB, free: 10.81 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.956e-05/0.1395, allocations: 180.3 kB / 491.1 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.099e-05/0.1396, allocations: 184.2 kB / 491.3 MB, free: 10.44 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002078/0.1398, allocations: 401.2 kB / 491.7 MB, free: 9.988 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.56e-05/0.1399, allocations: 104.9 kB / 491.8 MB, free: 9.879 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.949e-05/0.1399, allocations: 108.9 kB / 491.9 MB, free: 9.766 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.053e-05/0.14, allocations: 184.2 kB / 492 MB, free: 9.578 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.309e-05/0.1401, allocations: 188.2 kB / 492.2 MB, free: 9.387 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.076e-05/0.1401, allocations: 180.3 kB / 492.4 MB, free: 9.203 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.842e-05/0.1402, allocations: 180.2 kB / 492.6 MB, free: 9.02 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001182/0.1403, allocations: 299.8 kB / 492.9 MB, free: 8.703 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.215e-05/0.1404, allocations: 190 kB / 493.1 MB, free: 8.492 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.216e-05/0.1405, allocations: 184.2 kB / 493.2 MB, free: 8.305 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.005e-05/0.1406, allocations: 104.9 kB / 493.3 MB, free: 8.195 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.921e-05/0.1406, allocations: 176.3 kB / 493.5 MB, free: 8.016 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.095e-05/0.1407, allocations: 109 kB / 493.6 MB, free: 7.902 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.334e-05/0.1407, allocations: 79.28 kB / 493.7 MB, free: 7.824 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1407, allocations: 0 / 493.7 MB, free: 7.824 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005648/0.1413, allocations: 144 kB / 493.8 MB, free: 7.684 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.0006602/0.142, allocations: 340.7 kB / 494.2 MB, free: 7.344 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 6.711e-05/0.1421, allocations: 3.938 kB / 494.2 MB, free: 7.34 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.1421, allocations: 0 / 494.2 MB, free: 7.34 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.332e-06/0.1421, allocations: 0 / 494.2 MB, free: 7.34 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003447/0.1424, allocations: 455.7 kB / 494.6 MB, free: 6.891 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001457/0.1426, allocations: 156.2 kB / 494.8 MB, free: 6.711 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002321/0.1428, allocations: 0.6729 MB / 495.4 MB, free: 6.012 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.756e-06/0.1428, allocations: 0 / 495.4 MB, free: 6.012 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.118e-05/0.1428, allocations: 7.438 kB / 495.4 MB, free: 6.008 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1429, allocations: 4 kB / 495.5 MB, free: 6.004 MB / 366.1 MB Notification: Performance of Templates: time 0.006535/0.1494, allocations: 3.391 MB / 498.8 MB, free: 2.613 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 -s cvode -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