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.001165/0.001165, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001153/0.001153, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.452/1.452, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2116/0.2116, allocations: 46.11 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001434/0.001434, allocations: 82.89 kB / 417.6 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.116, allocations: 62.43 MB / 480 MB, free: 5.289 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001629/0.1176, allocations: 487.7 kB / 480.5 MB, free: 4.809 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002705/0.1204, allocations: 2.042 MB / 482.5 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.637e-06/0.1204, allocations: 0 / 482.5 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.691e-06/0.1204, allocations: 4 kB / 482.5 MB, free: 2.746 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 1.032e-06/0.1204, allocations: 0 / 482.5 MB, free: 2.746 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.001431/0.1219, allocations: 0.5109 MB / 483 MB, free: 2.242 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 1.576e-05/0.1219, allocations: 0 / 483 MB, free: 2.242 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.534e-05/0.1219, allocations: 4 kB / 483 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.526e-06/0.1219, allocations: 0 / 483 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.405e-06/0.1219, allocations: 0 / 483 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.047e-06/0.1219, allocations: 0 / 483 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001284/0.1232, allocations: 0.8927 MB / 483.9 MB, free: 1.344 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.905e-06/0.1233, allocations: 8 kB / 483.9 MB, free: 1.336 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.504e-05/0.1233, allocations: 0 / 483.9 MB, free: 1.336 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001053/0.1243, allocations: 0.7875 MB / 484.7 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1244, allocations: 0 / 484.7 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.968e-06/0.1244, allocations: 3.984 kB / 484.7 MB, free: 0.543 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.672e-06/0.1244, allocations: 0 / 484.7 MB, free: 0.543 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.0004204/0.1248, allocations: 379.5 kB / 485.1 MB, free: 128 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.1248, allocations: 8.031 kB / 485.1 MB, free: 120 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.162e-05/0.1249, allocations: 80.22 kB / 485.2 MB, free: 40 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001184/0.125, allocations: 239.7 kB / 485.4 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.789e-05/0.1251, allocations: 150.9 kB / 485.6 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.038e-05/0.1252, allocations: 154.9 kB / 485.7 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.397e-05/0.1252, allocations: 113.2 kB / 485.8 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.363e-05/0.1253, allocations: 75.28 kB / 485.9 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.483e-05/0.1253, allocations: 154.5 kB / 486.1 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-05/0.1254, allocations: 154.6 kB / 486.2 MB, free: 14.97 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.865e-05/0.1254, allocations: 154.6 kB / 486.4 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002686/0.1257, allocations: 445.9 kB / 486.8 MB, free: 14.33 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.273e-05/0.1258, allocations: 169.1 kB / 487 MB, free: 14.16 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.384e-05/0.1259, allocations: 88.14 kB / 487.1 MB, free: 14.07 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.803e-05/0.1259, allocations: 79.28 kB / 487.1 MB, free: 13.99 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.695e-05/0.126, allocations: 109.8 kB / 487.2 MB, free: 13.87 MB / 366.1 MB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.126, allocations: 0 / 487.2 MB, free: 13.87 MB / 366.1 MB Notification: Performance of matching and sorting (n=0): time 8.211e-05/0.126, allocations: 33.75 kB / 487.3 MB, free: 13.83 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.831e-05/0.1261, allocations: 152.4 kB / 487.4 MB, free: 13.66 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.729e-05/0.1262, allocations: 97.8 kB / 487.5 MB, free: 13.56 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.135e-05/0.1262, allocations: 25.7 kB / 487.5 MB, free: 13.53 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.825e-05/0.1262, allocations: 80.14 kB / 487.6 MB, free: 13.45 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.415e-06/0.1262, allocations: 3.938 kB / 487.6 MB, free: 13.44 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.472e-05/0.1263, allocations: 17.7 kB / 487.6 MB, free: 13.42 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001119/0.1264, allocations: 310.8 kB / 487.9 MB, free: 13.11 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.931e-06/0.1264, allocations: 0 / 487.9 MB, free: 13.11 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.067e-05/0.1264, allocations: 4 kB / 487.9 MB, free: 13.1 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.604e-05/0.1264, allocations: 79.31 kB / 488 MB, free: 13.02 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.271e-05/0.1265, allocations: 75.28 kB / 488.1 MB, free: 12.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.636e-05/0.1265, allocations: 29.7 kB / 488.1 MB, free: 12.91 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.363e-05/0.1266, allocations: 83.22 kB / 488.2 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.643e-05/0.1266, allocations: 79.22 kB / 488.3 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.319e-05/0.1267, allocations: 154.6 kB / 488.4 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.788e-05/0.1267, allocations: 79.27 kB / 488.5 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.073e-05/0.1268, allocations: 158.5 kB / 488.7 MB, free: 12.37 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.62e-05/0.1269, allocations: 75.28 kB / 488.7 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.805e-05/0.1269, allocations: 87.22 kB / 488.8 MB, free: 12.21 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.000115/0.127, allocations: 256.4 kB / 489.1 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.492e-05/0.1271, allocations: 104.9 kB / 489.2 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.777e-05/0.1272, allocations: 120 kB / 489.3 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.255e-05/0.1272, allocations: 176.3 kB / 489.5 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.78e-05/0.1273, allocations: 176.3 kB / 489.6 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.745e-05/0.1274, allocations: 184.2 kB / 489.8 MB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002222/0.1276, allocations: 401.2 kB / 490.2 MB, free: 10.72 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.953e-05/0.1277, allocations: 104.9 kB / 490.3 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.259e-05/0.1277, allocations: 109 kB / 490.4 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.583e-05/0.1278, allocations: 180.2 kB / 490.6 MB, free: 10.31 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.289e-05/0.1278, allocations: 188.2 kB / 490.8 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.372e-05/0.1279, allocations: 180.2 kB / 491 MB, free: 9.938 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-05/0.128, allocations: 184.2 kB / 491.1 MB, free: 9.75 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001446/0.1281, allocations: 307.8 kB / 491.4 MB, free: 9.426 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.286e-05/0.1282, allocations: 182 kB / 491.6 MB, free: 9.223 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.638e-05/0.1283, allocations: 188.2 kB / 491.8 MB, free: 9.031 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.951e-05/0.1284, allocations: 104.9 kB / 491.9 MB, free: 8.922 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.555e-05/0.1285, allocations: 176.3 kB / 492.1 MB, free: 8.742 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.035e-05/0.1285, allocations: 105 kB / 492.2 MB, free: 8.633 MB / 366.1 MB Notification: Performance of sorting global known variables: time 3.161e-05/0.1285, allocations: 75.28 kB / 492.2 MB, free: 8.559 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.563e-06/0.1285, allocations: 3.938 kB / 492.3 MB, free: 8.555 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005895/0.1291, allocations: 155.9 kB / 492.4 MB, free: 8.402 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.0007479/0.1299, allocations: 339.2 kB / 492.7 MB, free: 8.066 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 5.168e-05/0.1299, allocations: 0 / 492.7 MB, free: 8.066 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.13, allocations: 0 / 492.7 MB, free: 8.066 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.613e-06/0.13, allocations: 0 / 492.7 MB, free: 8.066 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003506/0.1303, allocations: 463.6 kB / 493.2 MB, free: 7.609 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001636/0.1305, allocations: 148.2 kB / 493.3 MB, free: 7.438 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002451/0.1307, allocations: 0.669 MB / 494 MB, free: 6.742 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.009e-05/0.1308, allocations: 0 / 494 MB, free: 6.742 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.505e-05/0.1308, allocations: 7.438 kB / 494 MB, free: 6.738 MB / 366.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1308, allocations: 3.938 kB / 494 MB, free: 6.734 MB / 366.1 MB Notification: Performance of Templates: time 0.006741/0.1375, allocations: 3.392 MB / 497.4 MB, free: 3.344 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