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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.00119/0.00119, allocations: 112.7 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001342/0.001342, allocations: 210.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.331/1.331, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2052/0.2052, allocations: 46.09 MB / 345 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001447, allocations: 67.89 kB / 482 MB, free: 4.094 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3244/0.3258, allocations: 62.44 MB / 0.5316 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001485/0.3273, allocations: 494.1 kB / 0.5321 GB, free: 13.24 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002786/0.3301, allocations: 2.039 MB / 0.5341 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.408e-06/0.3302, allocations: 1.375 kB / 0.5341 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 3.547e-06/0.3302, allocations: 0 / 0.5341 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 9.42e-07/0.3302, allocations: 0 / 0.5341 GB, free: 11.63 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Math/package.mo:697:5-750:29:writable] Warning: Pure function 'Modelica.Math.Matrices.Examples.solveLinearEquations' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.001612/0.3318, allocations: 0.5176 MB / 0.5346 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 1.621e-05/0.3319, allocations: 4 kB / 0.5346 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.175e-05/0.3319, allocations: 1.375 kB / 0.5346 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.906e-06/0.3319, allocations: 0 / 0.5346 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.708e-06/0.3319, allocations: 0 / 0.5346 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.067e-06/0.3319, allocations: 3.938 kB / 0.5346 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001531/0.3335, allocations: 0.8999 MB / 0.5355 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.824e-06/0.3335, allocations: 0 / 0.5355 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.488e-05/0.3335, allocations: 0 / 0.5355 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001181/0.3347, allocations: 0.7931 MB / 0.5363 GB, free: 10.39 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.3347, allocations: 5.219 kB / 0.5363 GB, free: 10.39 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.3347, allocations: 0 / 0.5363 GB, free: 10.39 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.3347, allocations: 0 / 0.5363 GB, free: 10.39 MB / 398.1 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.000562/0.3353, allocations: 373.5 kB / 0.5366 GB, free: 9.996 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/0.3354, allocations: 8.75 kB / 0.5366 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.905e-05/0.3354, allocations: 76.22 kB / 0.5367 GB, free: 9.922 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001337/0.3356, allocations: 239.7 kB / 0.5369 GB, free: 9.648 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.871e-05/0.3356, allocations: 156.3 kB / 0.5371 GB, free: 9.496 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.221e-05/0.3357, allocations: 150.9 kB / 0.5372 GB, free: 9.348 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.797e-05/0.3358, allocations: 110.5 kB / 0.5373 GB, free: 9.234 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.164e-05/0.3358, allocations: 75.28 kB / 0.5374 GB, free: 9.16 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.349e-05/0.3359, allocations: 152 kB / 0.5376 GB, free: 9.012 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-05/0.336, allocations: 154.5 kB / 0.5377 GB, free: 8.859 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.055e-05/0.336, allocations: 154.6 kB / 0.5379 GB, free: 8.707 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003032/0.3363, allocations: 439.6 kB / 0.5383 GB, free: 8.23 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001023/0.3364, allocations: 170.7 kB / 0.5384 GB, free: 8.055 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.311e-05/0.3365, allocations: 80.14 kB / 0.5385 GB, free: 7.973 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.795e-05/0.3365, allocations: 79.28 kB / 0.5386 GB, free: 7.895 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.004e-05/0.3366, allocations: 119 kB / 0.5387 GB, free: 7.77 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 1.312e-06/0.3366, allocations: 0 / 0.5387 GB, free: 7.77 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 7.9e-05/0.3367, allocations: 26.83 kB / 0.5387 GB, free: 7.738 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.563e-05/0.3367, allocations: 81.05 kB / 0.5388 GB, free: 7.641 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.617e-05/0.3368, allocations: 89.86 kB / 0.5389 GB, free: 7.543 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.323e-05/0.3368, allocations: 27.02 kB / 0.5389 GB, free: 7.512 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.008e-05/0.3368, allocations: 84.14 kB / 0.539 GB, free: 7.426 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.944e-06/0.3369, allocations: 0 / 0.539 GB, free: 7.426 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.453e-05/0.3369, allocations: 16.06 kB / 0.539 GB, free: 7.406 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.337, allocations: 310.8 kB / 0.5393 GB, free: 7.094 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.13e-06/0.337, allocations: 0.9688 kB / 0.5393 GB, free: 7.094 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.66e-05/0.337, allocations: 0 / 0.5393 GB, free: 7.094 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.809e-05/0.3371, allocations: 76.38 kB / 0.5394 GB, free: 7.02 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.444e-05/0.3371, allocations: 79.22 kB / 0.5395 GB, free: 6.941 MB / 398.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.582e-05/0.3372, allocations: 32.19 kB / 0.5395 GB, free: 6.906 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.85e-05/0.3372, allocations: 84.56 kB / 0.5396 GB, free: 6.828 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.771e-05/0.3372, allocations: 84.48 kB / 0.5396 GB, free: 6.746 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.082e-05/0.3373, allocations: 155.7 kB / 0.5398 GB, free: 6.594 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.744e-05/0.3374, allocations: 76.42 kB / 0.5399 GB, free: 6.52 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.316e-05/0.3374, allocations: 167.5 kB / 0.54 GB, free: 6.355 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.95e-05/0.3375, allocations: 76.38 kB / 0.5401 GB, free: 6.281 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.17e-05/0.3375, allocations: 79.28 kB / 0.5402 GB, free: 6.203 MB / 398.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001242/0.3377, allocations: 262.8 kB / 0.5404 GB, free: 5.938 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.397e-05/0.3377, allocations: 106.3 kB / 0.5405 GB, free: 5.828 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.787e-05/0.3378, allocations: 111.8 kB / 0.5406 GB, free: 5.715 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.808e-05/0.3379, allocations: 185.3 kB / 0.5408 GB, free: 5.527 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.15e-05/0.3379, allocations: 106 kB / 0.5409 GB, free: 5.418 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.138e-05/0.338, allocations: 183.6 kB / 0.5411 GB, free: 5.215 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.985e-05/0.3381, allocations: 181.7 kB / 0.5413 GB, free: 5.031 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.349e-05/0.3381, allocations: 102.2 kB / 0.5414 GB, free: 4.926 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.811e-05/0.3382, allocations: 181.3 kB / 0.5415 GB, free: 4.742 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001085/0.3383, allocations: 261 kB / 0.5418 GB, free: 4.48 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001754/0.3385, allocations: 385.8 kB / 0.5421 GB, free: 4.082 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.171e-05/0.3386, allocations: 102.1 kB / 0.5422 GB, free: 3.977 MB / 398.1 MB Notification: Performance of sorting global known variables: time 2.99e-05/0.3386, allocations: 79.28 kB / 0.5423 GB, free: 3.898 MB / 398.1 MB Notification: Performance of Backend: time 4.71e-07/0.3386, allocations: 0.9688 kB / 0.5423 GB, free: 3.898 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001162/0.3398, allocations: 252 kB / 0.5426 GB, free: 3.746 MB / 398.1 MB Notification: Performance of SimCode: time 0.0004592/0.3402, allocations: 0.8954 MB / 0.5434 GB, free: 2.805 MB / 398.1 MB Notification: Performance of Templates: time 0.008249/0.3485, allocations: 3.391 MB / 0.5467 GB, free: 1.066 MB / 398.1 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches