Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") translateModel(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001254/0.001255, allocations: 202.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.412/1.412, allocations: 225.6 MB / 234.8 MB, free: 3.262 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008697/0.0008698, allocations: 93.45 kB / 286.7 MB, free: 5.273 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2097/0.2097, allocations: 45.14 MB / 383.7 MB, free: 276 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.143e-05/1.154e-05, allocations: 0 / 453.2 MB, free: 75.83 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.1189, allocations: 63.25 MB / 0.5044 GB, free: 12.63 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4924/0.6114, allocations: 90.91 MB / 0.5931 GB, free: 11.69 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002147/0.6117, allocations: 62.36 kB / 0.5932 GB, free: 11.66 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02563/0.6373, allocations: 7.502 MB / 0.6005 GB, free: 5.168 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.933e-06/0.6374, allocations: 0 / 0.6005 GB, free: 5.168 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.131e-06/0.6374, allocations: 0 / 0.6005 GB, free: 5.168 MB / 394.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.0005559/0.6379, allocations: 397.5 kB / 0.6009 GB, free: 4.738 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.996e-05/0.638, allocations: 12.03 kB / 0.6009 GB, free: 4.727 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.674e-05/0.6381, allocations: 75.28 kB / 0.601 GB, free: 4.652 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001357/0.6382, allocations: 242.3 kB / 0.6012 GB, free: 4.375 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.171e-05/0.6383, allocations: 158 kB / 0.6014 GB, free: 4.223 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.338e-05/0.6384, allocations: 154.6 kB / 0.6015 GB, free: 4.07 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.448e-05/0.6384, allocations: 154.5 kB / 0.6017 GB, free: 3.918 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.015e-05/0.6385, allocations: 101 kB / 0.6018 GB, free: 3.812 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.725e-05/0.6386, allocations: 83.22 kB / 0.6018 GB, free: 3.73 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.67e-05/0.6386, allocations: 150.6 kB / 0.602 GB, free: 3.582 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.94e-05/0.6387, allocations: 154.6 kB / 0.6021 GB, free: 3.43 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002971/0.639, allocations: 422.3 kB / 0.6025 GB, free: 2.984 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.022e-05/0.6391, allocations: 165.1 kB / 0.6027 GB, free: 2.812 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.392e-05/0.6391, allocations: 80.14 kB / 0.6028 GB, free: 2.73 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.795e-05/0.6392, allocations: 79.28 kB / 0.6028 GB, free: 2.652 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.028e-05/0.6393, allocations: 113.8 kB / 0.6029 GB, free: 2.531 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 1.423e-06/0.6393, allocations: 0 / 0.6029 GB, free: 2.531 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 8.291e-05/0.6394, allocations: 37.58 kB / 0.603 GB, free: 2.488 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.947e-05/0.6394, allocations: 77.11 kB / 0.6031 GB, free: 2.395 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.805e-05/0.6395, allocations: 88.19 kB / 0.6031 GB, free: 2.305 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.217e-05/0.6395, allocations: 25.7 kB / 0.6032 GB, free: 2.273 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.437e-05/0.6395, allocations: 84.14 kB / 0.6032 GB, free: 2.188 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.553e-06/0.6395, allocations: 0 / 0.6032 GB, free: 2.188 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.81e-07/0.6395, allocations: 4 kB / 0.6032 GB, free: 2.184 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.6397, allocations: 310.8 kB / 0.6035 GB, free: 1.871 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.057e-06/0.6397, allocations: 0 / 0.6035 GB, free: 1.871 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.745e-05/0.6397, allocations: 0 / 0.6035 GB, free: 1.871 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.472e-05/0.6398, allocations: 76.03 kB / 0.6036 GB, free: 1.797 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-05/0.6398, allocations: 75.28 kB / 0.6037 GB, free: 1.723 MB / 394.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.749e-05/0.6399, allocations: 33.64 kB / 0.6037 GB, free: 1.684 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.826e-05/0.6399, allocations: 83.31 kB / 0.6038 GB, free: 1.602 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.503e-05/0.64, allocations: 83.25 kB / 0.6039 GB, free: 1.52 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.516e-05/0.64, allocations: 150.6 kB / 0.604 GB, free: 1.371 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.846e-05/0.6401, allocations: 83.22 kB / 0.6041 GB, free: 1.289 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.339e-05/0.6401, allocations: 153.8 kB / 0.6043 GB, free: 1.141 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.918e-05/0.6402, allocations: 83.17 kB / 0.6043 GB, free: 1.059 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.638e-05/0.6403, allocations: 83.22 kB / 0.6044 GB, free: 0.9766 MB / 394.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 () * 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.0001299/0.6404, allocations: 255.5 kB / 0.6047 GB, free: 0.7188 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.947e-05/0.6405, allocations: 109 kB / 0.6048 GB, free: 0.6055 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.134e-05/0.6405, allocations: 104.7 kB / 0.6049 GB, free: 0.4961 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.757e-05/0.6406, allocations: 180.2 kB / 0.605 GB, free: 320 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.266e-05/0.6407, allocations: 188.1 kB / 0.6052 GB, free: 128 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.16e-05/0.6408, allocations: 176.3 kB / 0.6054 GB, free: 15.95 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002147/0.641, allocations: 385.7 kB / 0.6057 GB, free: 15.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.671e-05/0.641, allocations: 102.4 kB / 0.6058 GB, free: 15.42 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.086e-05/0.6411, allocations: 105 kB / 0.6059 GB, free: 15.31 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.989e-05/0.6412, allocations: 180.2 kB / 0.6061 GB, free: 15.12 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.747e-05/0.6412, allocations: 180.3 kB / 0.6063 GB, free: 14.94 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.309e-05/0.6413, allocations: 180.2 kB / 0.6065 GB, free: 14.76 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.026e-05/0.6414, allocations: 180.2 kB / 0.6066 GB, free: 14.57 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000149/0.6416, allocations: 303.3 kB / 0.6069 GB, free: 14.26 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.347e-05/0.6417, allocations: 194 kB / 0.6071 GB, free: 14.04 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.142e-05/0.6417, allocations: 180.3 kB / 0.6073 GB, free: 13.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.976e-05/0.6418, allocations: 104.5 kB / 0.6074 GB, free: 13.75 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/0.6419, allocations: 184.6 kB / 0.6076 GB, free: 13.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-05/0.642, allocations: 109 kB / 0.6077 GB, free: 13.45 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.71e-05/0.642, allocations: 75.28 kB / 0.6077 GB, free: 13.38 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.642, allocations: 4 kB / 0.6077 GB, free: 13.38 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007155/0.6427, allocations: 171.5 kB / 0.6079 GB, free: 13.21 MB / 410.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 () * 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.0009266/0.6437, allocations: 383 kB / 0.6083 GB, free: 12.84 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 4.47e-05/0.6437, allocations: 3.938 kB / 0.6083 GB, free: 12.83 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.6437, allocations: 0 / 0.6083 GB, free: 12.83 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.373e-06/0.6438, allocations: 0 / 0.6083 GB, free: 12.83 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002927/0.644, allocations: 0.5224 MB / 0.6088 GB, free: 12.3 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001518/0.6442, allocations: 119.3 kB / 0.6089 GB, free: 12.17 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002885/0.6445, allocations: 0.6768 MB / 0.6095 GB, free: 11.46 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.825e-06/0.6445, allocations: 0 / 0.6095 GB, free: 11.46 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.311e-05/0.6445, allocations: 7.438 kB / 0.6096 GB, free: 11.46 MB / 410.7 MB Notification: Performance of SimCode: time 1.9e-07/0.6445, allocations: 3.938 kB / 0.6096 GB, free: 11.45 MB / 410.7 MB Notification: Performance of Templates: time 0.007285/0.6518, allocations: 3.652 MB / 0.6131 GB, free: 7.809 MB / 410.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches