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.001276/0.001275, allocations: 179 kB / 18.09 MB, free: 3.75 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.435/1.435, allocations: 223.3 MB / 242.1 MB, free: 11.61 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.0009195/0.0009198, allocations: 98.31 kB / 293.3 MB, free: 10.76 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.3907/0.3907, allocations: 44.14 MB / 388.5 MB, free: 38.94 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000386/0.0003862, allocations: 12 kB / 461.1 MB, free: 1.578 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3965/0.3969, allocations: 61.88 MB / 0.5107 GB, free: 38.11 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1224/0.5194, allocations: 90.53 MB / 0.5991 GB, free: 4.598 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002056/0.5197, allocations: 63.95 kB / 0.5992 GB, free: 4.539 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02384/0.5435, allocations: 7.44 MB / 0.6064 GB, free: 13.09 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.805e-06/0.5436, allocations: 0 / 0.6064 GB, free: 13.09 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.68e-06/0.5436, allocations: 4 kB / 0.6065 GB, free: 13.09 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.0004591/0.5441, allocations: 395.3 kB / 0.6068 GB, free: 12.65 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.5441, allocations: 16.02 kB / 0.6068 GB, free: 12.64 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.984e-05/0.5442, allocations: 76.22 kB / 0.6069 GB, free: 12.56 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.861e-05/0.5443, allocations: 239.7 kB / 0.6071 GB, free: 12.29 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.943e-05/0.5443, allocations: 150.9 kB / 0.6073 GB, free: 12.14 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.817e-05/0.5444, allocations: 154.9 kB / 0.6074 GB, free: 11.99 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.211e-05/0.5444, allocations: 105.5 kB / 0.6075 GB, free: 11.88 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.868e-05/0.5445, allocations: 75.47 kB / 0.6076 GB, free: 11.8 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.951e-05/0.5446, allocations: 158.5 kB / 0.6078 GB, free: 11.65 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.843e-05/0.5446, allocations: 150.6 kB / 0.6079 GB, free: 11.5 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.617e-05/0.5447, allocations: 150.6 kB / 0.608 GB, free: 11.35 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003101/0.545, allocations: 453.9 kB / 0.6085 GB, free: 10.86 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.82e-05/0.5451, allocations: 169.1 kB / 0.6086 GB, free: 10.68 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.076e-05/0.5451, allocations: 80.14 kB / 0.6087 GB, free: 10.6 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.486e-05/0.5452, allocations: 75.28 kB / 0.6088 GB, free: 10.53 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.446e-05/0.5452, allocations: 117.8 kB / 0.6089 GB, free: 10.4 MB / 426.7 MB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.5452, allocations: 0 / 0.6089 GB, free: 10.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=0): time 8.379e-05/0.5453, allocations: 33.62 kB / 0.6089 GB, free: 10.36 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.951e-05/0.5454, allocations: 156.3 kB / 0.6091 GB, free: 10.19 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.378e-05/0.5455, allocations: 89.86 kB / 0.6092 GB, free: 10.09 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.263e-05/0.5455, allocations: 25.7 kB / 0.6092 GB, free: 10.06 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.697e-05/0.5455, allocations: 84.14 kB / 0.6093 GB, free: 9.977 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.124e-06/0.5455, allocations: 0 / 0.6093 GB, free: 9.977 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1e-07/0.5455, allocations: 4 kB / 0.6093 GB, free: 9.973 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.5457, allocations: 310.8 kB / 0.6096 GB, free: 9.66 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.538e-06/0.5457, allocations: 0 / 0.6096 GB, free: 9.66 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.226e-05/0.5457, allocations: 3.984 kB / 0.6096 GB, free: 9.656 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.281e-05/0.5457, allocations: 75.28 kB / 0.6097 GB, free: 9.582 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-05/0.5458, allocations: 83.16 kB / 0.6097 GB, free: 9.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.835e-05/0.5458, allocations: 29.7 kB / 0.6098 GB, free: 9.465 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.889e-05/0.5459, allocations: 79.28 kB / 0.6098 GB, free: 9.387 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-05/0.5459, allocations: 87.25 kB / 0.6099 GB, free: 9.301 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.249e-05/0.546, allocations: 158.5 kB / 0.6101 GB, free: 9.145 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.04e-05/0.546, allocations: 79.22 kB / 0.6101 GB, free: 9.066 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-05/0.5461, allocations: 150.6 kB / 0.6103 GB, free: 8.918 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.476e-05/0.5462, allocations: 79.27 kB / 0.6104 GB, free: 8.84 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.151e-05/0.5462, allocations: 83.27 kB / 0.6104 GB, free: 8.758 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.0001192/0.5463, allocations: 268.9 kB / 0.6107 GB, free: 8.484 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.861e-05/0.5464, allocations: 101 kB / 0.6108 GB, free: 8.379 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.826e-05/0.5464, allocations: 116 kB / 0.6109 GB, free: 8.258 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.722e-05/0.5465, allocations: 176.3 kB / 0.6111 GB, free: 8.078 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-05/0.5466, allocations: 180.2 kB / 0.6112 GB, free: 7.895 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-05/0.5466, allocations: 184.2 kB / 0.6114 GB, free: 7.707 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000209/0.5468, allocations: 401.2 kB / 0.6118 GB, free: 7.258 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.383e-05/0.5469, allocations: 108.9 kB / 0.6119 GB, free: 7.145 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.294e-05/0.5469, allocations: 101 kB / 0.612 GB, free: 7.039 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.26e-05/0.547, allocations: 176.3 kB / 0.6122 GB, free: 6.859 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.306e-05/0.5471, allocations: 188.1 kB / 0.6124 GB, free: 6.668 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.46e-05/0.5471, allocations: 180.3 kB / 0.6125 GB, free: 6.484 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.313e-05/0.5472, allocations: 184.2 kB / 0.6127 GB, free: 6.297 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001267/0.5473, allocations: 303.8 kB / 0.613 GB, free: 5.977 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.758e-05/0.5474, allocations: 178.1 kB / 0.6132 GB, free: 5.777 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.324e-05/0.5475, allocations: 192.2 kB / 0.6133 GB, free: 5.582 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.579e-05/0.5476, allocations: 112.9 kB / 0.6135 GB, free: 5.465 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.781e-05/0.5477, allocations: 176.7 kB / 0.6136 GB, free: 5.285 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.221e-05/0.5477, allocations: 104.9 kB / 0.6137 GB, free: 5.176 MB / 426.7 MB Notification: Performance of sorting global known variables: time 2.73e-05/0.5477, allocations: 79.28 kB / 0.6138 GB, free: 5.098 MB / 426.7 MB Notification: Performance of sort global known variables: time 9e-08/0.5477, allocations: 0 / 0.6138 GB, free: 5.098 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007419/0.5485, allocations: 179.7 kB / 0.614 GB, free: 4.922 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.0007219/0.5492, allocations: 380.5 kB / 0.6143 GB, free: 4.547 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 4.765e-05/0.5493, allocations: 4 kB / 0.6143 GB, free: 4.543 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.5493, allocations: 0 / 0.6143 GB, free: 4.543 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.396e-06/0.5493, allocations: 4 kB / 0.6143 GB, free: 4.539 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003448/0.5496, allocations: 0.5243 MB / 0.6148 GB, free: 4.012 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001311/0.5498, allocations: 142 kB / 0.615 GB, free: 3.844 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002228/0.55, allocations: 0.6808 MB / 0.6156 GB, free: 3.137 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 8.386e-06/0.55, allocations: 0 / 0.6156 GB, free: 3.137 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.118e-05/0.55, allocations: 7.438 kB / 0.6157 GB, free: 3.129 MB / 426.7 MB Notification: Performance of SimCode: time 2.1e-07/0.55, allocations: 4 kB / 0.6157 GB, free: 3.125 MB / 426.7 MB Notification: Performance of Templates: time 0.006516/0.5566, allocations: 3.619 MB / 0.6192 GB, free: 15.51 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/jenkins1/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