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.0009346/0.0009348, allocations: 98.61 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001318/0.001318, allocations: 206 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.383/1.383, allocations: 227.8 MB / 246.8 MB, free: 9.762 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2089/0.2089, allocations: 46.19 MB / 345.2 MB, free: 11.17 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002504/0.0002505, allocations: 8.375 kB / 419.5 MB, free: 19.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1228, allocations: 63.56 MB / 483.1 MB, free: 4.125 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.0005397/0.1234, allocations: 217.2 kB / 483.3 MB, free: 3.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003788/0.1272, allocations: 2.019 MB / 485.3 MB, free: 1.879 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.404e-06/0.1273, allocations: 3.938 kB / 485.3 MB, free: 1.875 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.002e-06/0.1273, allocations: 0 / 485.3 MB, free: 1.875 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 1.382e-06/0.1273, allocations: 4 kB / 485.3 MB, free: 1.871 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.001991/0.1293, allocations: 466.7 kB / 485.8 MB, free: 1.418 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 1.645e-05/0.1293, allocations: 0 / 485.8 MB, free: 1.418 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.2e-05/0.1294, allocations: 4 kB / 485.8 MB, free: 1.414 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.856e-06/0.1294, allocations: 0 / 485.8 MB, free: 1.414 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.553e-05/0.1294, allocations: 0 / 485.8 MB, free: 1.414 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.392e-06/0.1294, allocations: 0 / 485.8 MB, free: 1.414 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001503/0.1309, allocations: 0.8888 MB / 486.7 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.297e-06/0.131, allocations: 8 kB / 486.7 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.753e-05/0.131, allocations: 25.7 kB / 486.7 MB, free: 496 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001195/0.1322, allocations: 0.7797 MB / 487.5 MB, free: 15.7 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.1322, allocations: 4 kB / 487.5 MB, free: 15.7 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1322, allocations: 0 / 487.5 MB, free: 15.7 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.098e-06/0.1322, allocations: 0 / 487.5 MB, free: 15.7 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.0004949/0.1327, allocations: 379.5 kB / 487.9 MB, free: 15.28 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.07e-05/0.1328, allocations: 8.875 kB / 487.9 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.333e-05/0.1329, allocations: 76.22 kB / 487.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001491/0.133, allocations: 247.6 kB / 488.2 MB, free: 14.92 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.38e-05/0.1331, allocations: 150.9 kB / 488.3 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.512e-05/0.1332, allocations: 154.9 kB / 488.5 MB, free: 14.62 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.621e-05/0.1333, allocations: 105.3 kB / 488.6 MB, free: 14.51 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.624e-05/0.1333, allocations: 75.28 kB / 488.7 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.766e-05/0.1334, allocations: 158.6 kB / 488.8 MB, free: 14.28 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.385e-05/0.1335, allocations: 150.6 kB / 489 MB, free: 14.13 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.174e-05/0.1335, allocations: 150.6 kB / 489.1 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003339/0.1339, allocations: 441.9 kB / 489.5 MB, free: 13.5 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001139/0.134, allocations: 177.1 kB / 489.7 MB, free: 13.32 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.113e-05/0.134, allocations: 84.08 kB / 489.8 MB, free: 13.23 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.299e-05/0.1341, allocations: 75.28 kB / 489.9 MB, free: 13.16 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.71e-05/0.1342, allocations: 113.8 kB / 490 MB, free: 13.04 MB / 366.1 MB Notification: Performance of pre-optimization done (n=0): time 1.502e-06/0.1342, allocations: 0 / 490 MB, free: 13.04 MB / 366.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001055/0.1343, allocations: 29.64 kB / 490 MB, free: 13 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001325/0.1344, allocations: 160.4 kB / 490.2 MB, free: 12.82 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.963e-05/0.1345, allocations: 89.86 kB / 490.2 MB, free: 12.73 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/0.1345, allocations: 25.7 kB / 490.3 MB, free: 12.7 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.425e-05/0.1346, allocations: 80.14 kB / 490.3 MB, free: 12.61 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.925e-06/0.1346, allocations: 0 / 490.3 MB, free: 12.61 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.113e-05/0.1346, allocations: 9.719 kB / 490.4 MB, free: 12.6 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.1348, allocations: 318.8 kB / 490.7 MB, free: 12.28 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.1e-06/0.1348, allocations: 0 / 490.7 MB, free: 12.28 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.081e-05/0.1348, allocations: 0 / 490.7 MB, free: 12.28 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.284e-05/0.1349, allocations: 83.31 kB / 490.8 MB, free: 12.2 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.461e-05/0.135, allocations: 75.28 kB / 490.8 MB, free: 12.12 MB / 366.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.944e-05/0.135, allocations: 33.62 kB / 490.9 MB, free: 12.08 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.714e-05/0.1351, allocations: 87.22 kB / 490.9 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.04e-05/0.1352, allocations: 75.28 kB / 491 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.198e-05/0.1352, allocations: 150.6 kB / 491.2 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.493e-05/0.1353, allocations: 79.27 kB / 491.2 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-05/0.1354, allocations: 162.6 kB / 491.4 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.996e-05/0.1355, allocations: 79.22 kB / 491.5 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.187e-05/0.1355, allocations: 79.28 kB / 491.6 MB, free: 11.38 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.0001645/0.1357, allocations: 264.4 kB / 491.8 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.838e-05/0.1358, allocations: 104.9 kB / 491.9 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.919e-05/0.1359, allocations: 116 kB / 492 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.236e-05/0.1359, allocations: 176.3 kB / 492.2 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.736e-05/0.136, allocations: 188.2 kB / 492.4 MB, free: 10.51 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.363e-05/0.1361, allocations: 180.5 kB / 492.6 MB, free: 10.33 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002894/0.1364, allocations: 393.2 kB / 492.9 MB, free: 9.887 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-05/0.1365, allocations: 112.9 kB / 493.1 MB, free: 9.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.645e-05/0.1365, allocations: 109 kB / 493.2 MB, free: 9.656 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.898e-05/0.1366, allocations: 188.1 kB / 493.3 MB, free: 9.465 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.664e-05/0.1367, allocations: 180.3 kB / 493.5 MB, free: 9.281 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.95e-05/0.1368, allocations: 180.2 kB / 493.7 MB, free: 9.098 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.837e-05/0.1369, allocations: 180.3 kB / 493.9 MB, free: 8.914 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001736/0.1371, allocations: 311.8 kB / 494.2 MB, free: 8.586 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.45e-05/0.1372, allocations: 182.1 kB / 494.4 MB, free: 8.383 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.999e-05/0.1373, allocations: 184.1 kB / 494.5 MB, free: 8.195 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.893e-05/0.1374, allocations: 101 kB / 494.6 MB, free: 8.09 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.59e-05/0.1374, allocations: 184.2 kB / 494.8 MB, free: 7.902 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.821e-05/0.1375, allocations: 112.9 kB / 494.9 MB, free: 7.785 MB / 366.1 MB Notification: Performance of sorting global known variables: time 2.997e-05/0.1375, allocations: 75.28 kB / 495 MB, free: 7.711 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1375, allocations: 0 / 495 MB, free: 7.711 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007474/0.1383, allocations: 144 kB / 495.1 MB, free: 7.57 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.0008728/0.1392, allocations: 347.5 kB / 495.5 MB, free: 7.227 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 3.909e-05/0.1392, allocations: 0 / 495.5 MB, free: 7.227 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1392, allocations: 0 / 495.5 MB, free: 7.227 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.723e-06/0.1392, allocations: 0 / 495.5 MB, free: 7.227 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003505/0.1396, allocations: 0.5302 MB / 496 MB, free: 6.691 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001443/0.1398, allocations: 146 kB / 496.2 MB, free: 6.52 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002657/0.14, allocations: 0.6692 MB / 496.8 MB, free: 5.824 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.498e-06/0.14, allocations: 0 / 496.8 MB, free: 5.824 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.193e-05/0.1401, allocations: 7.438 kB / 496.8 MB, free: 5.82 MB / 366.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1401, allocations: 0 / 496.8 MB, free: 5.82 MB / 366.1 MB Notification: Performance of Templates: time 0.007679/0.1478, allocations: 3.38 MB / 0.4885 GB, free: 2.438 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