Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") translateModel(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00134/0.00134, allocations: 180 kB / 16.41 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.526/1.526, allocations: 205.4 MB / 222.5 MB, free: 9.102 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008397/0.0008397, allocations: 96.91 kB / 270.9 MB, free: 8.355 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4456/0.4456, allocations: 43.56 MB / 362.7 MB, free: 52.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004486/0.0004487, allocations: 12 kB / 431.4 MB, free: 6.164 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1445/0.145, allocations: 58.84 MB / 490.2 MB, free: 11.24 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.0006688/0.1457, allocations: 224.3 kB / 490.5 MB, free: 11.02 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003104/0.1488, allocations: 1.934 MB / 492.4 MB, free: 9.066 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.152e-06/0.1488, allocations: 0 / 492.4 MB, free: 9.066 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 4.679e-06/0.1489, allocations: 0 / 492.4 MB, free: 9.066 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 1.362e-06/0.1489, allocations: 0 / 492.4 MB, free: 9.066 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001519/0.1504, allocations: 466.9 kB / 492.8 MB, free: 8.613 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 1.831e-05/0.1504, allocations: 0 / 492.8 MB, free: 8.613 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.541e-05/0.1505, allocations: 4 kB / 492.8 MB, free: 8.609 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.618e-06/0.1505, allocations: 4 kB / 492.8 MB, free: 8.605 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.994e-05/0.1505, allocations: 0 / 492.8 MB, free: 8.605 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.061e-06/0.1505, allocations: 0 / 492.8 MB, free: 8.605 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001189/0.1517, allocations: 0.8302 MB / 493.7 MB, free: 7.773 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.901e-06/0.1517, allocations: 0 / 493.7 MB, free: 7.773 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.13e-05/0.1518, allocations: 25.7 kB / 493.7 MB, free: 7.742 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006582/0.1524, allocations: 0.5459 MB / 494.2 MB, free: 7.195 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.1524, allocations: 0 / 494.2 MB, free: 7.195 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1524, allocations: 0 / 494.2 MB, free: 7.195 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.1525, allocations: 8 kB / 494.3 MB, free: 7.188 MB / 378.7 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.0003648/0.1528, allocations: 375.4 kB / 494.6 MB, free: 6.773 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.1529, allocations: 12.02 kB / 494.6 MB, free: 6.762 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.461e-05/0.1529, allocations: 79.23 kB / 494.7 MB, free: 6.684 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001371/0.1531, allocations: 234.4 kB / 494.9 MB, free: 6.414 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.539e-05/0.1532, allocations: 150.6 kB / 495.1 MB, free: 6.266 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.775e-05/0.1532, allocations: 150.6 kB / 495.2 MB, free: 6.117 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.401e-05/0.1533, allocations: 109 kB / 495.3 MB, free: 6.004 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.493e-05/0.1533, allocations: 79.22 kB / 495.4 MB, free: 5.926 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.433e-05/0.1534, allocations: 150.6 kB / 495.6 MB, free: 5.777 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.779e-05/0.1535, allocations: 154.5 kB / 495.7 MB, free: 5.625 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.639e-05/0.1535, allocations: 154.5 kB / 495.9 MB, free: 5.473 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002913/0.1538, allocations: 449.9 kB / 496.3 MB, free: 4.984 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001107/0.1539, allocations: 173.1 kB / 496.5 MB, free: 4.805 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.265e-05/0.154, allocations: 80.14 kB / 496.6 MB, free: 4.723 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.437e-05/0.154, allocations: 79.22 kB / 496.6 MB, free: 4.645 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.135e-05/0.1541, allocations: 113.8 kB / 496.7 MB, free: 4.523 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 1.021e-06/0.1541, allocations: 0 / 496.7 MB, free: 4.523 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 7.024e-05/0.1542, allocations: 25.7 kB / 496.8 MB, free: 4.492 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.772e-05/0.1543, allocations: 152.4 kB / 496.9 MB, free: 4.324 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.326e-05/0.1543, allocations: 93.86 kB / 497 MB, free: 4.223 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.456e-05/0.1544, allocations: 25.7 kB / 497 MB, free: 4.191 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.815e-05/0.1544, allocations: 80.14 kB / 497.1 MB, free: 4.109 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.583e-06/0.1544, allocations: 0 / 497.1 MB, free: 4.109 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1e-07/0.1544, allocations: 4 kB / 497.1 MB, free: 4.105 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001243/0.1545, allocations: 318.8 kB / 497.4 MB, free: 3.785 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.288e-06/0.1546, allocations: 0 / 497.4 MB, free: 3.785 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.078e-05/0.1546, allocations: 0 / 497.4 MB, free: 3.785 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.852e-05/0.1546, allocations: 83.22 kB / 497.5 MB, free: 3.703 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.857e-05/0.1547, allocations: 75.28 kB / 497.6 MB, free: 3.629 MB / 378.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.233e-05/0.1547, allocations: 25.7 kB / 497.6 MB, free: 3.598 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.975e-05/0.1548, allocations: 83.28 kB / 497.7 MB, free: 3.516 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.127e-05/0.1548, allocations: 83.31 kB / 497.8 MB, free: 3.434 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.966e-05/0.1549, allocations: 154.5 kB / 497.9 MB, free: 3.281 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.134e-05/0.1549, allocations: 75.28 kB / 498 MB, free: 3.207 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.119e-05/0.155, allocations: 158.5 kB / 498.1 MB, free: 3.051 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.686e-05/0.1551, allocations: 83.28 kB / 498.2 MB, free: 2.969 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.534e-05/0.1551, allocations: 75.28 kB / 498.3 MB, free: 2.895 MB / 378.7 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.0001308/0.1553, allocations: 272.3 kB / 498.6 MB, free: 2.617 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.021e-05/0.1553, allocations: 105 kB / 498.7 MB, free: 2.508 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.706e-05/0.1554, allocations: 108.1 kB / 498.8 MB, free: 2.395 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.414e-05/0.1555, allocations: 184.2 kB / 499 MB, free: 2.207 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-05/0.1556, allocations: 176.3 kB / 499.1 MB, free: 2.027 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.796e-05/0.1556, allocations: 184.3 kB / 499.3 MB, free: 1.84 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000241/0.1559, allocations: 409.1 kB / 499.7 MB, free: 1.383 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-05/0.1559, allocations: 105.2 kB / 499.8 MB, free: 1.273 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.79e-05/0.156, allocations: 104.9 kB / 499.9 MB, free: 1.164 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.957e-05/0.1561, allocations: 184.3 kB / 0.4884 GB, free: 0.9766 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.647e-05/0.1561, allocations: 180.2 kB / 0.4885 GB, free: 0.793 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.524e-05/0.1562, allocations: 180.3 kB / 0.4887 GB, free: 0.6094 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.108e-05/0.1563, allocations: 188.2 kB / 0.4889 GB, free: 428 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001807/0.1565, allocations: 303.7 kB / 0.4892 GB, free: 100 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.2882/0.4447, allocations: 183.6 kB / 0.4894 GB, free: 43.55 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.153e-05/0.4448, allocations: 181.5 kB / 0.4895 GB, free: 43.38 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.744e-05/0.4449, allocations: 106 kB / 0.4896 GB, free: 43.27 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.52e-05/0.4449, allocations: 184.5 kB / 0.4898 GB, free: 43.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.075e-05/0.4449, allocations: 106.6 kB / 0.4899 GB, free: 42.98 MB / 378.7 MB Notification: Performance of sorting global known variables: time 1.935e-05/0.445, allocations: 75.28 kB / 0.49 GB, free: 42.91 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.445, allocations: 0 / 0.49 GB, free: 42.91 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007916/0.4458, allocations: 143.8 kB / 0.4901 GB, free: 42.91 MB / 378.7 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.0007893/0.4466, allocations: 332.7 kB / 0.4904 GB, free: 42.75 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 5.915e-05/0.4466, allocations: 2.203 kB / 0.4904 GB, free: 42.75 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.4467, allocations: 1.188 kB / 0.4904 GB, free: 42.75 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.824e-06/0.4467, allocations: 0 / 0.4904 GB, free: 42.75 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002783/0.4469, allocations: 0.5269 MB / 0.491 GB, free: 42.23 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001559/0.4471, allocations: 173.9 kB / 0.4911 GB, free: 42.03 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001344/0.4472, allocations: 0.6727 MB / 0.4918 GB, free: 41.34 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.076e-05/0.4473, allocations: 7.438 kB / 0.4918 GB, free: 41.33 MB / 378.7 MB Notification: Performance of SimCode: time 1.81e-07/0.4473, allocations: 0 / 0.4918 GB, free: 41.33 MB / 378.7 MB Notification: Performance of Templates: time 0.008403/0.4557, allocations: 2.924 MB / 0.4946 GB, free: 41.16 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/TestMatricesExamplesSolveLinearEquations/TestMatricesExamplesSolveLinearEquations.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches