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.001528/0.001528, allocations: 104.3 kB / 18.4 MB, free: 4.57 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.001664/0.001664, allocations: 191 kB / 19.34 MB, free: 3.641 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.34/1.34, allocations: 222.9 MB / 243 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2047/0.2047, allocations: 44.18 MB / 337.4 MB, free: 2.703 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002208/0.002208, allocations: 67.28 kB / 409.9 MB, free: 26.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1206, allocations: 60.83 MB / 470.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.00173/0.1224, allocations: 488.4 kB / 471.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002739/0.1252, allocations: 1.991 MB / 473.2 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.987e-06/0.1252, allocations: 0 / 473.2 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.596e-06/0.1252, allocations: 0 / 473.2 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 1.393e-06/0.1252, allocations: 0 / 473.2 MB, free: 11.17 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.001667/0.1269, allocations: 0.5074 MB / 473.7 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 1.77e-05/0.1269, allocations: 7.984 kB / 473.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.151e-05/0.127, allocations: 4 kB / 473.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.606e-06/0.127, allocations: 0 / 473.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.528e-06/0.127, allocations: 0 / 473.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.927e-06/0.127, allocations: 4 kB / 473.7 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001261/0.1283, allocations: 0.881 MB / 474.6 MB, free: 9.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.384e-06/0.1283, allocations: 0 / 474.6 MB, free: 9.77 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.401e-05/0.1283, allocations: 0 / 474.6 MB, free: 9.77 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001044/0.1294, allocations: 0.7836 MB / 475.4 MB, free: 8.984 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.1294, allocations: 0 / 475.4 MB, free: 8.984 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.905e-06/0.1294, allocations: 0 / 475.4 MB, free: 8.984 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.1294, allocations: 7.938 kB / 475.4 MB, free: 8.977 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.0004037/0.1298, allocations: 371.6 kB / 475.7 MB, free: 8.566 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.1298, allocations: 8.031 kB / 475.7 MB, free: 8.559 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.137e-05/0.1299, allocations: 80.16 kB / 475.8 MB, free: 8.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001412/0.13, allocations: 239.7 kB / 476.1 MB, free: 8.207 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.439e-05/0.1301, allocations: 154.9 kB / 476.2 MB, free: 8.055 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.964e-05/0.1301, allocations: 150.9 kB / 476.3 MB, free: 7.906 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.255e-05/0.1302, allocations: 113.3 kB / 476.5 MB, free: 7.789 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.616e-05/0.1302, allocations: 75.28 kB / 476.5 MB, free: 7.715 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.775e-05/0.1303, allocations: 154.5 kB / 476.7 MB, free: 7.562 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.691e-05/0.1303, allocations: 150.6 kB / 476.8 MB, free: 7.414 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.546e-05/0.1304, allocations: 154.5 kB / 477 MB, free: 7.262 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002406/0.1306, allocations: 450 kB / 477.4 MB, free: 6.773 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.504e-05/0.1307, allocations: 165.1 kB / 477.6 MB, free: 6.602 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.025e-05/0.1308, allocations: 84.08 kB / 477.7 MB, free: 6.516 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.595e-05/0.1308, allocations: 75.28 kB / 477.7 MB, free: 6.441 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.396e-05/0.1308, allocations: 109.8 kB / 477.8 MB, free: 6.324 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.1308, allocations: 4 kB / 477.8 MB, free: 6.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 7.147e-05/0.1309, allocations: 37.7 kB / 477.9 MB, free: 6.277 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.078e-05/0.131, allocations: 152.4 kB / 478 MB, free: 6.109 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.269e-05/0.131, allocations: 93.84 kB / 478.1 MB, free: 6.008 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.309e-05/0.1311, allocations: 25.7 kB / 478.2 MB, free: 5.977 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.439e-05/0.1311, allocations: 84.08 kB / 478.2 MB, free: 5.891 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.853e-06/0.1311, allocations: 0 / 478.2 MB, free: 5.891 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.28e-05/0.1311, allocations: 13.72 kB / 478.2 MB, free: 5.871 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.779e-05/0.1312, allocations: 314.8 kB / 478.6 MB, free: 5.555 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.029e-06/0.1312, allocations: 0 / 478.6 MB, free: 5.555 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.096e-05/0.1312, allocations: 3.938 kB / 478.6 MB, free: 5.551 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.559e-05/0.1313, allocations: 75.28 kB / 478.6 MB, free: 5.477 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-05/0.1313, allocations: 75.28 kB / 478.7 MB, free: 5.402 MB / 350.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.52e-05/0.1314, allocations: 33.75 kB / 478.7 MB, free: 5.363 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.539e-05/0.1314, allocations: 86.66 kB / 478.8 MB, free: 5.281 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.824e-05/0.1314, allocations: 79.28 kB / 478.9 MB, free: 5.203 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.015e-05/0.1315, allocations: 166.5 kB / 479.1 MB, free: 5.039 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.648e-05/0.1315, allocations: 75.28 kB / 479.1 MB, free: 4.965 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.5e-05/0.1316, allocations: 154.5 kB / 479.3 MB, free: 4.812 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.793e-05/0.1317, allocations: 75.28 kB / 479.4 MB, free: 4.738 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.287e-05/0.1317, allocations: 79.28 kB / 479.4 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.0001051/0.1318, allocations: 268.3 kB / 479.7 MB, free: 4.387 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.106e-05/0.1319, allocations: 104.9 kB / 479.8 MB, free: 4.277 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.092e-05/0.1319, allocations: 112.1 kB / 479.9 MB, free: 4.16 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.394e-05/0.132, allocations: 180.2 kB / 480.1 MB, free: 3.977 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.923e-05/0.132, allocations: 176.3 kB / 480.3 MB, free: 3.797 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.934e-05/0.1321, allocations: 180.2 kB / 480.4 MB, free: 3.613 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000192/0.1323, allocations: 409.2 kB / 480.8 MB, free: 3.156 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.515e-05/0.1323, allocations: 104.9 kB / 480.9 MB, free: 3.047 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.057e-05/0.1324, allocations: 104.9 kB / 481 MB, free: 2.938 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-05/0.1324, allocations: 180.2 kB / 481.2 MB, free: 2.754 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.589e-05/0.1325, allocations: 184.2 kB / 481.4 MB, free: 2.566 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.186e-05/0.1325, allocations: 188.2 kB / 481.6 MB, free: 2.375 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.335e-05/0.1326, allocations: 180.3 kB / 481.8 MB, free: 2.191 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001235/0.1327, allocations: 299.8 kB / 482 MB, free: 1.875 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.331e-05/0.1328, allocations: 186 kB / 482.2 MB, free: 1.668 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.006e-05/0.1329, allocations: 188.2 kB / 482.4 MB, free: 1.477 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8e-05/0.133, allocations: 113 kB / 482.5 MB, free: 1.359 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.977e-05/0.133, allocations: 180.2 kB / 482.7 MB, free: 1.176 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.903e-05/0.1331, allocations: 101 kB / 482.8 MB, free: 1.07 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.848e-05/0.1331, allocations: 79.28 kB / 482.9 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1331, allocations: 3.938 kB / 482.9 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005374/0.1337, allocations: 148 kB / 483 MB, free: 0.8438 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.0007255/0.1344, allocations: 333.2 kB / 483.4 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 5.79e-05/0.1345, allocations: 3.938 kB / 483.4 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1345, allocations: 4 kB / 483.4 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.683e-06/0.1345, allocations: 0 / 483.4 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003362/0.1348, allocations: 455.7 kB / 483.8 MB, free: 60 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001775/0.135, allocations: 152.2 kB / 484 MB, free: 15.88 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002477/0.1353, allocations: 0.669 MB / 484.6 MB, free: 15.19 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.29e-05/0.1353, allocations: 3.984 kB / 484.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.803e-05/0.1353, allocations: 15.44 kB / 484.6 MB, free: 15.17 MB / 366.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1353, allocations: 3.938 kB / 484.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of Templates: time 0.007361/0.1427, allocations: 3.382 MB / 488 MB, free: 11.79 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 -s gbode -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/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_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches