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.0009353/0.0009352, allocations: 102.2 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001186/0.001186, allocations: 191.9 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.546/1.546, allocations: 227.7 MB / 246.4 MB, free: 11.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2793/0.2793, allocations: 46.18 MB / 344.8 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003162/0.0003164, allocations: 8 kB / 418.8 MB, free: 20.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.1378, allocations: 63.57 MB / 482.4 MB, free: 4.555 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.0005283/0.1383, allocations: 213.2 kB / 482.6 MB, free: 4.344 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002791/0.1412, allocations: 1.939 MB / 484.5 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.4e-06/0.1412, allocations: 7.938 kB / 484.6 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.633e-06/0.1412, allocations: 0 / 484.6 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 1.332e-06/0.1412, allocations: 0 / 484.6 MB, free: 2.383 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.001526/0.1427, allocations: 458.6 kB / 485 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 1.364e-05/0.1428, allocations: 0 / 485 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.813e-05/0.1428, allocations: 0 / 485 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.786e-06/0.1428, allocations: 0 / 485 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.271e-05/0.1428, allocations: 4 kB / 485 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.709e-06/0.1428, allocations: 0 / 485 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001375/0.1442, allocations: 0.8498 MB / 485.9 MB, free: 1.082 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.508e-06/0.1442, allocations: 0 / 485.9 MB, free: 1.082 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.847e-05/0.1443, allocations: 25.7 kB / 485.9 MB, free: 1.051 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007176/0.145, allocations: 0.542 MB / 486.4 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.145, allocations: 0 / 486.4 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.145, allocations: 4 kB / 486.4 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.615e-06/0.145, allocations: 0 / 486.4 MB, free: 0.5039 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.0004586/0.1455, allocations: 375.4 kB / 486.8 MB, free: 92 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.1455, allocations: 12.03 kB / 486.8 MB, free: 80 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.071e-05/0.1456, allocations: 75.28 kB / 486.9 MB, free: 4 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001338/0.1458, allocations: 246.2 kB / 487.1 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.868e-05/0.1458, allocations: 150.6 kB / 487.3 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.015e-05/0.1459, allocations: 150.6 kB / 487.4 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.942e-05/0.146, allocations: 105 kB / 487.5 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.002e-05/0.146, allocations: 83.28 kB / 487.6 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.972e-05/0.1461, allocations: 150.6 kB / 487.7 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.744e-05/0.1461, allocations: 150.6 kB / 487.9 MB, free: 14.94 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.326e-05/0.1462, allocations: 150.6 kB / 488 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002926/0.1465, allocations: 445.8 kB / 488.5 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.493e-05/0.1466, allocations: 177.1 kB / 488.6 MB, free: 14.12 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.551e-05/0.1466, allocations: 80.14 kB / 488.7 MB, free: 14.04 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.96e-05/0.1467, allocations: 79.27 kB / 488.8 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.59e-05/0.1467, allocations: 113.7 kB / 488.9 MB, free: 13.84 MB / 366.1 MB Notification: Performance of pre-optimization done (n=0): time 9.31e-07/0.1468, allocations: 0 / 488.9 MB, free: 13.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=0): time 8.032e-05/0.1468, allocations: 33.64 kB / 488.9 MB, free: 13.8 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.452e-05/0.1469, allocations: 156.4 kB / 489.1 MB, free: 13.63 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.424e-05/0.147, allocations: 89.86 kB / 489.2 MB, free: 13.53 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.559e-05/0.147, allocations: 25.7 kB / 489.2 MB, free: 13.5 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.472e-05/0.1471, allocations: 80.14 kB / 489.3 MB, free: 13.42 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.705e-06/0.1471, allocations: 0 / 489.3 MB, free: 13.42 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.1e-07/0.1471, allocations: 0 / 489.3 MB, free: 13.42 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.1472, allocations: 314.8 kB / 489.6 MB, free: 13.1 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.751e-06/0.1472, allocations: 4 kB / 489.6 MB, free: 13.1 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.329e-05/0.1473, allocations: 0 / 489.6 MB, free: 13.1 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.197e-05/0.1473, allocations: 79.28 kB / 489.7 MB, free: 13.02 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.76e-05/0.1474, allocations: 75.28 kB / 489.8 MB, free: 12.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.475e-05/0.1474, allocations: 37.58 kB / 489.8 MB, free: 12.9 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.159e-05/0.1475, allocations: 83.28 kB / 489.9 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.106e-05/0.1475, allocations: 79.28 kB / 489.9 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.814e-05/0.1476, allocations: 150.6 kB / 490.1 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.78e-05/0.1476, allocations: 83.3 kB / 490.2 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.98e-05/0.1477, allocations: 158.6 kB / 490.3 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.774e-05/0.1478, allocations: 83.22 kB / 490.4 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.025e-05/0.1478, allocations: 75.28 kB / 490.5 MB, free: 12.2 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001263/0.1479, allocations: 260.9 kB / 490.7 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.825e-05/0.148, allocations: 116.9 kB / 490.9 MB, free: 11.81 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5e-05/0.1481, allocations: 104.1 kB / 491 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.829e-05/0.1481, allocations: 180.3 kB / 491.1 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.475e-05/0.1482, allocations: 180.2 kB / 491.3 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.847e-05/0.1483, allocations: 188.5 kB / 491.5 MB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002573/0.1485, allocations: 401.2 kB / 491.9 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.485e-05/0.1486, allocations: 105 kB / 492 MB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.687e-05/0.1486, allocations: 101 kB / 492.1 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.008e-05/0.1487, allocations: 196.1 kB / 492.3 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.195e-05/0.1488, allocations: 176.3 kB / 492.4 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.781e-05/0.1489, allocations: 180.2 kB / 492.6 MB, free: 9.922 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.303e-05/0.1489, allocations: 184.3 kB / 492.8 MB, free: 9.734 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001452/0.1491, allocations: 307.8 kB / 493.1 MB, free: 9.41 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.938e-05/0.1492, allocations: 186 kB / 493.3 MB, free: 9.203 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.732e-05/0.1493, allocations: 184.2 kB / 493.5 MB, free: 9.016 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.922e-05/0.1493, allocations: 101 kB / 493.6 MB, free: 8.91 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.153e-05/0.1494, allocations: 188.2 kB / 493.7 MB, free: 8.719 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.583e-05/0.1495, allocations: 108.9 kB / 493.9 MB, free: 8.605 MB / 366.1 MB Notification: Performance of sorting global known variables: time 2.826e-05/0.1495, allocations: 75.28 kB / 493.9 MB, free: 8.531 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1495, allocations: 3.938 kB / 493.9 MB, free: 8.527 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000638/0.1502, allocations: 140 kB / 494.1 MB, free: 8.391 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 (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.0006718/0.1509, allocations: 331.6 kB / 494.4 MB, free: 8.062 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 4.228e-05/0.1509, allocations: 0 / 494.4 MB, free: 8.062 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1509, allocations: 0 / 494.4 MB, free: 8.062 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.523e-06/0.1509, allocations: 4 kB / 494.4 MB, free: 8.059 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004246/0.1514, allocations: 0.5298 MB / 494.9 MB, free: 7.527 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001483/0.1515, allocations: 150 kB / 495.1 MB, free: 7.352 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002211/0.1517, allocations: 0.6692 MB / 495.7 MB, free: 6.656 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.644e-06/0.1518, allocations: 0 / 495.7 MB, free: 6.656 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.167e-06/0.1518, allocations: 7.438 kB / 495.7 MB, free: 6.652 MB / 366.1 MB Notification: Performance of SimCode: time 3.7e-07/0.1518, allocations: 4 kB / 495.8 MB, free: 6.648 MB / 366.1 MB Notification: Performance of Templates: time 0.007694/0.1595, allocations: 3.417 MB / 499.2 MB, free: 3.23 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestMatricesExamplesSolveLinearEquations/TestMatricesExamplesSolveLinearEquations.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches