Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") translateModel(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001008/0.001008, allocations: 95.78 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001239/0.001239, allocations: 181.2 kB / 18.26 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.392/1.392, allocations: 223.3 MB / 242.3 MB, free: 200 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2014/0.2014, allocations: 44.25 MB / 337.7 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000356/0.000356, allocations: 8 kB / 410.3 MB, free: 27.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.1393, allocations: 61.92 MB / 472.2 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.0005432/0.1399, allocations: 221.2 kB / 472.5 MB, free: 13.13 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00264/0.1426, allocations: 1.965 MB / 474.4 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.188e-06/0.1426, allocations: 4 kB / 474.4 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.797e-06/0.1426, allocations: 0 / 474.4 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 1.243e-06/0.1426, allocations: 0 / 474.4 MB, free: 11.14 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/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.001367/0.144, allocations: 471.6 kB / 474.9 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 1.468e-05/0.144, allocations: 0 / 474.9 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.236e-05/0.144, allocations: 7.938 kB / 474.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.604e-06/0.1441, allocations: 0 / 474.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.617e-05/0.1441, allocations: 3.938 kB / 474.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.937e-06/0.1441, allocations: 0 / 474.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001183/0.1453, allocations: 0.8693 MB / 475.8 MB, free: 9.809 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.973e-06/0.1453, allocations: 0 / 475.8 MB, free: 9.809 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.668e-05/0.1453, allocations: 25.7 kB / 475.8 MB, free: 9.777 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00101/0.1464, allocations: 0.7875 MB / 476.6 MB, free: 8.988 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.1464, allocations: 0 / 476.6 MB, free: 8.988 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.1464, allocations: 0 / 476.6 MB, free: 8.988 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.1464, allocations: 0 / 476.6 MB, free: 8.988 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.000363/0.1468, allocations: 375.5 kB / 476.9 MB, free: 8.574 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.392e-05/0.1468, allocations: 12.03 kB / 477 MB, free: 8.562 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.724e-05/0.1469, allocations: 76.22 kB / 477 MB, free: 8.488 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001305/0.147, allocations: 239.7 kB / 477.3 MB, free: 8.215 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.02e-05/0.1471, allocations: 158.9 kB / 477.4 MB, free: 8.059 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.834e-05/0.1472, allocations: 150.9 kB / 477.6 MB, free: 7.91 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.022e-05/0.1473, allocations: 105.3 kB / 477.7 MB, free: 7.801 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.195e-05/0.1473, allocations: 79.28 kB / 477.7 MB, free: 7.723 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.969e-05/0.1474, allocations: 150.6 kB / 477.9 MB, free: 7.574 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.708e-05/0.1474, allocations: 150.6 kB / 478 MB, free: 7.426 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.69e-05/0.1475, allocations: 158.5 kB / 478.2 MB, free: 7.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003184/0.1478, allocations: 445.9 kB / 478.6 MB, free: 6.785 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001032/0.1479, allocations: 165.1 kB / 478.8 MB, free: 6.613 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.332e-05/0.148, allocations: 84.14 kB / 478.9 MB, free: 6.527 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.115e-05/0.148, allocations: 79.28 kB / 479 MB, free: 6.449 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.152e-05/0.1481, allocations: 109.8 kB / 479.1 MB, free: 6.332 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 2.725e-06/0.1481, allocations: 3.984 kB / 479.1 MB, free: 6.328 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 7.83e-05/0.1482, allocations: 33.64 kB / 479.1 MB, free: 6.289 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.189e-05/0.1483, allocations: 152.4 kB / 479.2 MB, free: 6.121 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.071e-05/0.1483, allocations: 93.84 kB / 479.3 MB, free: 6.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.484e-05/0.1483, allocations: 29.7 kB / 479.4 MB, free: 5.984 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5e-05/0.1484, allocations: 84.14 kB / 479.5 MB, free: 5.898 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.453e-06/0.1484, allocations: 0 / 479.5 MB, free: 5.898 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.741e-05/0.1484, allocations: 9.719 kB / 479.5 MB, free: 5.883 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.1486, allocations: 310.8 kB / 479.8 MB, free: 5.57 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.347e-06/0.1486, allocations: 0 / 479.8 MB, free: 5.57 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.016e-05/0.1486, allocations: 0 / 479.8 MB, free: 5.57 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.486e-05/0.1486, allocations: 75.28 kB / 479.8 MB, free: 5.496 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.005e-05/0.1487, allocations: 75.28 kB / 479.9 MB, free: 5.422 MB / 350.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.603e-05/0.1488, allocations: 33.73 kB / 479.9 MB, free: 5.383 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.151e-05/0.1488, allocations: 87.16 kB / 480 MB, free: 5.297 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.252e-05/0.1488, allocations: 79.28 kB / 480.1 MB, free: 5.219 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.335e-05/0.1489, allocations: 154.6 kB / 480.3 MB, free: 5.066 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.386e-05/0.149, allocations: 95.08 kB / 480.3 MB, free: 4.973 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.195e-05/0.149, allocations: 150.6 kB / 480.5 MB, free: 4.824 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.882e-05/0.1491, allocations: 87.27 kB / 480.6 MB, free: 4.738 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.364e-05/0.1492, allocations: 79.28 kB / 480.7 MB, free: 4.66 MB / 350.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.0001249/0.1493, allocations: 256.9 kB / 480.9 MB, free: 4.398 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.469e-05/0.1494, allocations: 112.9 kB / 481 MB, free: 4.281 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.828e-05/0.1494, allocations: 112 kB / 481.1 MB, free: 4.164 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-05/0.1495, allocations: 176.3 kB / 481.3 MB, free: 3.984 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-05/0.1496, allocations: 184.2 kB / 481.5 MB, free: 3.797 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.141e-05/0.1497, allocations: 180.3 kB / 481.7 MB, free: 3.613 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002397/0.1499, allocations: 401.5 kB / 482.1 MB, free: 3.164 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.781e-05/0.15, allocations: 104.9 kB / 482.2 MB, free: 3.055 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.948e-05/0.15, allocations: 105 kB / 482.3 MB, free: 2.945 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.575e-05/0.1501, allocations: 192.1 kB / 482.4 MB, free: 2.75 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.677e-05/0.1501, allocations: 176.3 kB / 482.6 MB, free: 2.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.517e-05/0.1502, allocations: 180.2 kB / 482.8 MB, free: 2.387 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.26e-05/0.1503, allocations: 180.2 kB / 483 MB, free: 2.203 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001538/0.1505, allocations: 307.8 kB / 483.3 MB, free: 1.879 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.944e-05/0.1505, allocations: 182.1 kB / 483.4 MB, free: 1.676 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.503e-05/0.1506, allocations: 188.2 kB / 483.6 MB, free: 1.484 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.738e-05/0.1507, allocations: 108.9 kB / 483.7 MB, free: 1.371 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.947e-05/0.1508, allocations: 176.3 kB / 483.9 MB, free: 1.191 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.719e-05/0.1509, allocations: 108.9 kB / 484 MB, free: 1.078 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.081e-05/0.1509, allocations: 79.28 kB / 484.1 MB, free: 1 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1509, allocations: 0 / 484.1 MB, free: 1 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005593/0.1515, allocations: 144 kB / 484.2 MB, free: 0.8594 MB / 350.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.0006447/0.1521, allocations: 351 kB / 484.6 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 3.752e-05/0.1522, allocations: 0 / 484.6 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.1522, allocations: 0 / 484.6 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.132e-06/0.1522, allocations: 0 / 484.6 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004372/0.1526, allocations: 0.5185 MB / 485.1 MB, free: 16 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001301/0.1528, allocations: 154 kB / 485.2 MB, free: 15.82 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003189/0.1531, allocations: 0.6692 MB / 485.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.995e-06/0.1531, allocations: 0 / 485.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.778e-06/0.1531, allocations: 7.438 kB / 485.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1531, allocations: 0 / 485.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of Templates: time 0.006958/0.1601, allocations: 3.381 MB / 489.3 MB, free: 11.73 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches