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.001169/0.001169, allocations: 198.5 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.263/1.263, allocations: 227.2 MB / 245 MB, free: 7.57 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000816/0.0008165, allocations: 102.4 kB / 297.3 MB, free: 6.199 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3094/0.3094, allocations: 45.23 MB / 394.7 MB, free: 31.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002927/0.0002928, allocations: 8 kB / 468.4 MB, free: 7.762 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3669/0.3672, allocations: 63.24 MB / 0.5192 GB, free: 43.64 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1194/0.4866, allocations: 91.65 MB / 0.6087 GB, free: 14.03 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001872/0.4869, allocations: 59.98 kB / 0.6087 GB, free: 13.97 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02498/0.5118, allocations: 7.565 MB / 0.6161 GB, free: 6.426 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.5119, allocations: 4 kB / 0.6161 GB, free: 6.422 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.479e-06/0.5119, allocations: 0 / 0.6161 GB, free: 6.422 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.0004178/0.5123, allocations: 406.8 kB / 0.6165 GB, free: 5.98 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.5124, allocations: 12.03 kB / 0.6165 GB, free: 5.969 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.962e-05/0.5124, allocations: 75.28 kB / 0.6166 GB, free: 5.895 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/0.5125, allocations: 234.4 kB / 0.6168 GB, free: 5.625 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.569e-05/0.5126, allocations: 153.4 kB / 0.617 GB, free: 5.477 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.586e-05/0.5127, allocations: 154.5 kB / 0.6171 GB, free: 5.324 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.331e-05/0.5127, allocations: 108.9 kB / 0.6172 GB, free: 5.211 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.45e-05/0.5128, allocations: 75.28 kB / 0.6173 GB, free: 5.137 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.109e-05/0.5128, allocations: 154.6 kB / 0.6174 GB, free: 4.984 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.737e-05/0.5129, allocations: 154.6 kB / 0.6176 GB, free: 4.832 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.293e-05/0.5129, allocations: 154.6 kB / 0.6177 GB, free: 4.68 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002807/0.5132, allocations: 438 kB / 0.6182 GB, free: 4.203 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.819e-05/0.5133, allocations: 173.1 kB / 0.6183 GB, free: 4.023 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.788e-05/0.5134, allocations: 75.28 kB / 0.6184 GB, free: 3.949 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.932e-05/0.5134, allocations: 113.8 kB / 0.6185 GB, free: 3.828 MB / 426.7 MB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.5134, allocations: 0 / 0.6185 GB, free: 3.828 MB / 426.7 MB Notification: Performance of matching and sorting (n=0): time 6.791e-05/0.5135, allocations: 33.64 kB / 0.6185 GB, free: 3.789 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.721e-05/0.5136, allocations: 156.3 kB / 0.6187 GB, free: 3.617 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.189e-05/0.5136, allocations: 96.88 kB / 0.6188 GB, free: 3.516 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.215e-05/0.5136, allocations: 25.7 kB / 0.6188 GB, free: 3.484 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.867e-05/0.5137, allocations: 80.14 kB / 0.6189 GB, free: 3.402 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.014e-06/0.5137, allocations: 0 / 0.6189 GB, free: 3.402 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.5e-07/0.5137, allocations: 0 / 0.6189 GB, free: 3.402 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.5138, allocations: 314.8 kB / 0.6192 GB, free: 3.086 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.316e-06/0.5138, allocations: 0 / 0.6192 GB, free: 3.086 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.562e-05/0.5138, allocations: 0 / 0.6192 GB, free: 3.086 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.742e-05/0.5139, allocations: 75.28 kB / 0.6192 GB, free: 3.012 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.143e-05/0.5139, allocations: 79.31 kB / 0.6193 GB, free: 2.934 MB / 426.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.156e-05/0.514, allocations: 29.7 kB / 0.6193 GB, free: 2.898 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.842e-05/0.514, allocations: 83.28 kB / 0.6194 GB, free: 2.816 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.798e-05/0.5141, allocations: 83.2 kB / 0.6195 GB, free: 2.734 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.506e-05/0.5141, allocations: 158.5 kB / 0.6197 GB, free: 2.578 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.597e-05/0.5142, allocations: 79.22 kB / 0.6197 GB, free: 2.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.441e-05/0.5142, allocations: 154.5 kB / 0.6199 GB, free: 2.348 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.872e-05/0.5143, allocations: 83.28 kB / 0.62 GB, free: 2.266 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.468e-05/0.5143, allocations: 83.27 kB / 0.62 GB, free: 2.184 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.0001111/0.5144, allocations: 264.4 kB / 0.6203 GB, free: 1.914 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.715e-05/0.5145, allocations: 101 kB / 0.6204 GB, free: 1.809 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.199e-05/0.5146, allocations: 113.1 kB / 0.6205 GB, free: 1.695 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.112e-05/0.5147, allocations: 184.3 kB / 0.6207 GB, free: 1.508 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.435e-05/0.5147, allocations: 176.3 kB / 0.6208 GB, free: 1.328 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.59e-05/0.5148, allocations: 184.2 kB / 0.621 GB, free: 1.141 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002193/0.515, allocations: 405.2 kB / 0.6214 GB, free: 0.6875 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.772e-05/0.5151, allocations: 106.3 kB / 0.6215 GB, free: 0.5781 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.222e-05/0.5151, allocations: 101 kB / 0.6216 GB, free: 484 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.916e-05/0.5152, allocations: 180.3 kB / 0.6218 GB, free: 296 kB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.432e-05/0.5153, allocations: 180.2 kB / 0.6219 GB, free: 108 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.211e-05/0.5154, allocations: 184.2 kB / 0.6221 GB, free: 15.92 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.417e-05/0.5155, allocations: 184.2 kB / 0.6223 GB, free: 15.73 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000152/0.5156, allocations: 307.7 kB / 0.6226 GB, free: 15.41 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.591e-05/0.5157, allocations: 186.1 kB / 0.6228 GB, free: 15.2 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.259e-05/0.5158, allocations: 180.3 kB / 0.6229 GB, free: 15.02 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.907e-05/0.5159, allocations: 108.9 kB / 0.623 GB, free: 14.9 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.254e-05/0.516, allocations: 176.7 kB / 0.6232 GB, free: 14.72 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.814e-05/0.516, allocations: 112.9 kB / 0.6233 GB, free: 14.61 MB / 442.7 MB Notification: Performance of sorting global known variables: time 3.602e-05/0.5161, allocations: 75.28 kB / 0.6234 GB, free: 14.53 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5161, allocations: 0 / 0.6234 GB, free: 14.53 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0006501/0.5167, allocations: 175.8 kB / 0.6236 GB, free: 14.36 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.0007983/0.5175, allocations: 381.7 kB / 0.6239 GB, free: 13.98 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 4.672e-05/0.5176, allocations: 0 / 0.6239 GB, free: 13.98 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.5176, allocations: 0 / 0.6239 GB, free: 13.98 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.513e-06/0.5176, allocations: 0 / 0.6239 GB, free: 13.98 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002903/0.5179, allocations: 0.5263 MB / 0.6244 GB, free: 13.45 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001426/0.518, allocations: 142 kB / 0.6246 GB, free: 13.29 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002423/0.5183, allocations: 0.6809 MB / 0.6252 GB, free: 12.58 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.186e-05/0.5183, allocations: 0 / 0.6252 GB, free: 12.58 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.348e-06/0.5183, allocations: 7.438 kB / 0.6252 GB, free: 12.57 MB / 442.7 MB Notification: Performance of SimCode: time 2.8e-07/0.5183, allocations: 0 / 0.6252 GB, free: 12.57 MB / 442.7 MB Notification: Performance of Templates: time 0.007172/0.5255, allocations: 3.702 MB / 0.6289 GB, free: 8.879 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/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