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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 177 kB / 17.06 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.336/1.336, allocations: 223.2 MB / 241 MB, free: 11.84 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007936/0.0007937, allocations: 96 kB / 292.2 MB, free: 10.88 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.376/0.376, allocations: 44.21 MB / 387.5 MB, free: 38.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003117/0.0003117, allocations: 8 kB / 459.9 MB, free: 1.516 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4071/0.4075, allocations: 61.91 MB / 0.5096 GB, free: 37.82 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.125/0.5325, allocations: 90.49 MB / 0.5979 GB, free: 4.617 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002255/0.5328, allocations: 63.97 kB / 0.598 GB, free: 4.555 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02595/0.5588, allocations: 7.494 MB / 0.6053 GB, free: 13.05 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.5588, allocations: 0 / 0.6053 GB, free: 13.05 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.5589, allocations: 0 / 0.6053 GB, free: 13.05 MB / 426.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.0005215/0.5594, allocations: 400.5 kB / 0.6057 GB, free: 12.61 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.5594, allocations: 8.562 kB / 0.6057 GB, free: 12.61 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.787e-05/0.5595, allocations: 79.23 kB / 0.6058 GB, free: 12.53 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001212/0.5596, allocations: 238.3 kB / 0.606 GB, free: 12.25 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.93e-05/0.5597, allocations: 154.6 kB / 0.6061 GB, free: 12.1 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.611e-05/0.5597, allocations: 150.6 kB / 0.6063 GB, free: 11.95 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.82e-05/0.5598, allocations: 105 kB / 0.6064 GB, free: 11.84 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.766e-05/0.5599, allocations: 79.22 kB / 0.6065 GB, free: 11.77 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.595e-05/0.5599, allocations: 150.6 kB / 0.6066 GB, free: 11.62 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.733e-05/0.56, allocations: 154.6 kB / 0.6068 GB, free: 11.46 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.427e-05/0.5601, allocations: 154.5 kB / 0.6069 GB, free: 11.31 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002652/0.5603, allocations: 442 kB / 0.6073 GB, free: 10.83 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.196e-05/0.5604, allocations: 169.1 kB / 0.6075 GB, free: 10.66 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.781e-05/0.5604, allocations: 79.22 kB / 0.6076 GB, free: 10.58 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.711e-05/0.5605, allocations: 117.8 kB / 0.6077 GB, free: 10.45 MB / 426.7 MB Notification: Performance of pre-optimization done (n=0): time 7.71e-07/0.5605, allocations: 0 / 0.6077 GB, free: 10.45 MB / 426.7 MB Notification: Performance of matching and sorting (n=0): time 6.323e-05/0.5606, allocations: 25.7 kB / 0.6077 GB, free: 10.42 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.376e-05/0.5607, allocations: 156.3 kB / 0.6078 GB, free: 10.25 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.945e-05/0.5607, allocations: 89 kB / 0.6079 GB, free: 10.16 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.305e-05/0.5607, allocations: 25.7 kB / 0.608 GB, free: 10.12 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.122e-05/0.5608, allocations: 80.14 kB / 0.608 GB, free: 10.04 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.864e-06/0.5608, allocations: 4 kB / 0.608 GB, free: 10.04 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.21e-07/0.5608, allocations: 0 / 0.608 GB, free: 10.04 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001084/0.5609, allocations: 314.8 kB / 0.6083 GB, free: 9.723 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.256e-06/0.5609, allocations: 0 / 0.6083 GB, free: 9.723 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.928e-05/0.5609, allocations: 0 / 0.6083 GB, free: 9.723 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.573e-05/0.561, allocations: 83.16 kB / 0.6084 GB, free: 9.641 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-05/0.561, allocations: 79.28 kB / 0.6085 GB, free: 9.562 MB / 426.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.752e-05/0.5611, allocations: 25.7 kB / 0.6085 GB, free: 9.531 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.654e-05/0.5611, allocations: 87.3 kB / 0.6086 GB, free: 9.445 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.071e-05/0.5611, allocations: 87.27 kB / 0.6087 GB, free: 9.359 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.648e-05/0.5612, allocations: 158.5 kB / 0.6088 GB, free: 9.203 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.262e-05/0.5612, allocations: 75.28 kB / 0.6089 GB, free: 9.129 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-05/0.5613, allocations: 154.5 kB / 0.609 GB, free: 8.977 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.976e-05/0.5614, allocations: 79.28 kB / 0.6091 GB, free: 8.898 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.407e-05/0.5614, allocations: 79.33 kB / 0.6092 GB, free: 8.82 MB / 426.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.0001231/0.5615, allocations: 272.3 kB / 0.6095 GB, free: 8.543 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.37e-05/0.5616, allocations: 109 kB / 0.6096 GB, free: 8.43 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.344e-05/0.5617, allocations: 104.1 kB / 0.6097 GB, free: 8.32 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.621e-05/0.5618, allocations: 180.2 kB / 0.6098 GB, free: 8.137 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.313e-05/0.5618, allocations: 180.3 kB / 0.61 GB, free: 7.953 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.971e-05/0.5619, allocations: 180.3 kB / 0.6102 GB, free: 7.77 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002275/0.5621, allocations: 409.1 kB / 0.6106 GB, free: 7.312 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.217e-05/0.5622, allocations: 101 kB / 0.6107 GB, free: 7.207 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.603e-05/0.5622, allocations: 106.2 kB / 0.6108 GB, free: 7.098 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.855e-05/0.5623, allocations: 180.3 kB / 0.6109 GB, free: 6.914 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.516e-05/0.5624, allocations: 188.2 kB / 0.6111 GB, free: 6.723 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.078e-05/0.5624, allocations: 176.3 kB / 0.6113 GB, free: 6.543 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.96e-05/0.5625, allocations: 180.3 kB / 0.6115 GB, free: 6.359 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001279/0.5626, allocations: 303.7 kB / 0.6117 GB, free: 6.039 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.15e-05/0.5627, allocations: 194 kB / 0.6119 GB, free: 5.824 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.464e-05/0.5628, allocations: 180.3 kB / 0.6121 GB, free: 5.641 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.945e-05/0.5629, allocations: 105.4 kB / 0.6122 GB, free: 5.531 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.338e-05/0.563, allocations: 180.2 kB / 0.6124 GB, free: 5.348 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.79e-05/0.563, allocations: 109 kB / 0.6125 GB, free: 5.234 MB / 426.7 MB Notification: Performance of sorting global known variables: time 2.647e-05/0.5631, allocations: 75.28 kB / 0.6126 GB, free: 5.16 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5631, allocations: 0 / 0.6126 GB, free: 5.16 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006518/0.5637, allocations: 183.7 kB / 0.6127 GB, free: 4.98 MB / 426.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.0007189/0.5644, allocations: 384.4 kB / 0.6131 GB, free: 4.609 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 4.883e-05/0.5645, allocations: 7.938 kB / 0.6131 GB, free: 4.602 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.5645, allocations: 0 / 0.6131 GB, free: 4.602 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.272e-06/0.5645, allocations: 0 / 0.6131 GB, free: 4.602 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002776/0.5648, allocations: 0.5146 MB / 0.6136 GB, free: 4.082 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001479/0.565, allocations: 161.9 kB / 0.6138 GB, free: 3.895 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002495/0.5652, allocations: 0.6692 MB / 0.6144 GB, free: 3.199 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.664e-06/0.5652, allocations: 4 kB / 0.6144 GB, free: 3.195 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.214e-05/0.5652, allocations: 7.438 kB / 0.6144 GB, free: 3.188 MB / 426.7 MB Notification: Performance of SimCode: time 2.1e-07/0.5652, allocations: 0 / 0.6144 GB, free: 3.188 MB / 426.7 MB Notification: Performance of Templates: time 0.006452/0.5717, allocations: 3.703 MB / 0.618 GB, free: 15.48 MB / 442.7 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","../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches