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.00152/0.00152, allocations: 200.5 kB / 18.11 MB, free: 3.609 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.514/1.514, allocations: 226.5 MB / 245.4 MB, free: 8.184 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000863/0.000863, allocations: 98.02 kB / 297.5 MB, free: 6.883 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3768/0.3768, allocations: 44.83 MB / 394.3 MB, free: 35.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003019/0.0003019, allocations: 11.98 kB / 467.9 MB, free: 12.05 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4333/0.4336, allocations: 62.96 MB / 0.5184 GB, free: 37.22 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1429/0.5765, allocations: 91.45 MB / 0.6077 GB, free: 13.85 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002096/0.5768, allocations: 63.95 kB / 0.6078 GB, free: 13.79 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02469/0.6015, allocations: 7.488 MB / 0.6151 GB, free: 6.289 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.245e-06/0.6016, allocations: 0 / 0.6151 GB, free: 6.289 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.6016, allocations: 4 kB / 0.6151 GB, free: 6.285 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.0005151/0.6021, allocations: 407.3 kB / 0.6155 GB, free: 5.836 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/0.6021, allocations: 8.031 kB / 0.6155 GB, free: 5.828 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.337e-05/0.6022, allocations: 80.22 kB / 0.6156 GB, free: 5.75 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001246/0.6023, allocations: 235.7 kB / 0.6158 GB, free: 5.48 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.261e-05/0.6024, allocations: 150.9 kB / 0.6159 GB, free: 5.332 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.214e-05/0.6025, allocations: 158.9 kB / 0.6161 GB, free: 5.176 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.793e-05/0.6025, allocations: 105.5 kB / 0.6162 GB, free: 5.066 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.181e-05/0.6026, allocations: 75.47 kB / 0.6163 GB, free: 4.992 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.573e-05/0.6026, allocations: 154.5 kB / 0.6164 GB, free: 4.84 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.901e-05/0.6027, allocations: 150.6 kB / 0.6166 GB, free: 4.691 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.47e-05/0.6028, allocations: 154.6 kB / 0.6167 GB, free: 4.539 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002729/0.603, allocations: 446 kB / 0.6171 GB, free: 4.055 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.704e-05/0.6031, allocations: 169.1 kB / 0.6173 GB, free: 3.879 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.482e-05/0.6032, allocations: 80.14 kB / 0.6174 GB, free: 3.797 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.744e-05/0.6032, allocations: 75.28 kB / 0.6174 GB, free: 3.723 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.819e-05/0.6033, allocations: 117.8 kB / 0.6175 GB, free: 3.598 MB / 426.7 MB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.6033, allocations: 0 / 0.6175 GB, free: 3.598 MB / 426.7 MB Notification: Performance of matching and sorting (n=0): time 7.812e-05/0.6033, allocations: 33.62 kB / 0.6176 GB, free: 3.559 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.911e-05/0.6034, allocations: 152.4 kB / 0.6177 GB, free: 3.391 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.012e-05/0.6035, allocations: 89.86 kB / 0.6178 GB, free: 3.293 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.6035, allocations: 25.7 kB / 0.6178 GB, free: 3.262 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.985e-05/0.6035, allocations: 84.08 kB / 0.6179 GB, free: 3.176 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.937e-06/0.6035, allocations: 0 / 0.6179 GB, free: 3.176 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.6e-07/0.6035, allocations: 7.938 kB / 0.6179 GB, free: 3.168 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.6037, allocations: 314.8 kB / 0.6182 GB, free: 2.852 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.088e-06/0.6037, allocations: 0 / 0.6182 GB, free: 2.852 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.039e-05/0.6037, allocations: 0 / 0.6182 GB, free: 2.852 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.997e-05/0.6037, allocations: 75.28 kB / 0.6183 GB, free: 2.777 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.418e-05/0.6038, allocations: 75.28 kB / 0.6184 GB, free: 2.703 MB / 426.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.32e-05/0.6038, allocations: 33.64 kB / 0.6184 GB, free: 2.664 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.584e-05/0.6039, allocations: 83.28 kB / 0.6185 GB, free: 2.582 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.162e-05/0.6039, allocations: 87.23 kB / 0.6186 GB, free: 2.496 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.393e-05/0.604, allocations: 154.5 kB / 0.6187 GB, free: 2.344 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.467e-05/0.604, allocations: 79.28 kB / 0.6188 GB, free: 2.266 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-05/0.6041, allocations: 154.5 kB / 0.6189 GB, free: 2.113 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.556e-05/0.6042, allocations: 79.28 kB / 0.619 GB, free: 2.035 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.528e-05/0.6042, allocations: 83.27 kB / 0.6191 GB, free: 1.953 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.0001244/0.6043, allocations: 268.4 kB / 0.6193 GB, free: 1.68 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.326e-05/0.6044, allocations: 105 kB / 0.6194 GB, free: 1.57 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.814e-05/0.6044, allocations: 108 kB / 0.6195 GB, free: 1.457 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.327e-05/0.6045, allocations: 184.2 kB / 0.6197 GB, free: 1.27 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.972e-05/0.6046, allocations: 176.3 kB / 0.6199 GB, free: 1.09 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.249e-05/0.6047, allocations: 184.2 kB / 0.6201 GB, free: 0.9023 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002222/0.6049, allocations: 401.2 kB / 0.6204 GB, free: 464 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.001e-05/0.6049, allocations: 106.4 kB / 0.6205 GB, free: 352 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.798e-05/0.605, allocations: 104.9 kB / 0.6206 GB, free: 240 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.409e-05/0.605, allocations: 176.3 kB / 0.6208 GB, free: 56 kB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.208e-05/0.6051, allocations: 192.1 kB / 0.621 GB, free: 15.86 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.968e-05/0.6052, allocations: 180.3 kB / 0.6212 GB, free: 15.68 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.212e-05/0.6053, allocations: 184.2 kB / 0.6213 GB, free: 15.49 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001674/0.6054, allocations: 299.8 kB / 0.6216 GB, free: 15.17 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.365e-05/0.6055, allocations: 186 kB / 0.6218 GB, free: 14.96 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.971e-05/0.6056, allocations: 192.2 kB / 0.622 GB, free: 14.77 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.553e-05/0.6057, allocations: 108.9 kB / 0.6221 GB, free: 14.66 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.009e-05/0.6058, allocations: 176.7 kB / 0.6223 GB, free: 14.48 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.762e-05/0.6058, allocations: 101 kB / 0.6224 GB, free: 14.37 MB / 442.7 MB Notification: Performance of sorting global known variables: time 3.764e-05/0.6058, allocations: 79.27 kB / 0.6224 GB, free: 14.29 MB / 442.7 MB Notification: Performance of sort global known variables: time 9e-08/0.6059, allocations: 3.938 kB / 0.6224 GB, free: 14.29 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0007196/0.6066, allocations: 171.8 kB / 0.6226 GB, free: 14.12 MB / 442.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.0007418/0.6073, allocations: 389.9 kB / 0.623 GB, free: 13.74 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 5.068e-05/0.6074, allocations: 4 kB / 0.623 GB, free: 13.74 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.6074, allocations: 0 / 0.623 GB, free: 13.74 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.403e-06/0.6074, allocations: 0 / 0.623 GB, free: 13.74 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003586/0.6078, allocations: 0.5224 MB / 0.6235 GB, free: 13.21 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001606/0.6079, allocations: 142 kB / 0.6236 GB, free: 13.04 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002406/0.6082, allocations: 0.6809 MB / 0.6243 GB, free: 12.34 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 9.087e-06/0.6082, allocations: 0 / 0.6243 GB, free: 12.34 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.259e-05/0.6082, allocations: 7.438 kB / 0.6243 GB, free: 12.33 MB / 442.7 MB Notification: Performance of SimCode: time 2.4e-07/0.6082, allocations: 0 / 0.6243 GB, free: 12.33 MB / 442.7 MB Notification: Performance of Templates: time 0.006933/0.6152, allocations: 3.62 MB / 0.6278 GB, free: 8.707 MB / 442.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/jenkins1/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