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.001497/0.001497, allocations: 117.8 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001979/0.00198, allocations: 199.8 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.502/1.502, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2249/0.2249, allocations: 46.09 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 75.88 kB / 481.3 MB, free: 4.102 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3339/0.3354, allocations: 62.44 MB / 0.531 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001397/0.3368, allocations: 494.1 kB / 0.5314 GB, free: 13.24 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00281/0.3396, allocations: 2.03 MB / 0.5334 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.51e-06/0.3397, allocations: 1.312 kB / 0.5334 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 3.937e-06/0.3397, allocations: 0 / 0.5334 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.093e-06/0.3397, allocations: 0 / 0.5334 GB, free: 11.64 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.001633/0.3413, allocations: 0.5173 MB / 0.5339 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 1.952e-05/0.3414, allocations: 3.938 kB / 0.5339 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.84e-05/0.3414, allocations: 1.094 kB / 0.5339 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.686e-06/0.3414, allocations: 0 / 0.5339 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.306e-06/0.3414, allocations: 5.125 kB / 0.5339 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.809e-06/0.3414, allocations: 0 / 0.5339 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001254/0.3427, allocations: 0.8988 MB / 0.5348 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.172e-06/0.3427, allocations: 0 / 0.5348 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.044e-05/0.3427, allocations: 1.062 kB / 0.5348 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009174/0.3436, allocations: 0.7935 MB / 0.5356 GB, free: 10.4 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.3437, allocations: 0 / 0.5356 GB, free: 10.4 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.3437, allocations: 0 / 0.5356 GB, free: 10.4 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.016e-05/0.3437, allocations: 0 / 0.5356 GB, free: 10.4 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.0003614/0.344, allocations: 374 kB / 0.536 GB, free: 10.01 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.3441, allocations: 9.656 kB / 0.536 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.903e-05/0.3442, allocations: 84.2 kB / 0.536 GB, free: 9.926 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001023/0.3443, allocations: 239.7 kB / 0.5363 GB, free: 9.652 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.463e-05/0.3443, allocations: 152.2 kB / 0.5364 GB, free: 9.504 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.777e-05/0.3444, allocations: 150.9 kB / 0.5366 GB, free: 9.355 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.65e-05/0.3444, allocations: 114.5 kB / 0.5367 GB, free: 9.238 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.595e-05/0.3445, allocations: 75.28 kB / 0.5367 GB, free: 9.164 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.396e-05/0.3445, allocations: 150.6 kB / 0.5369 GB, free: 9.016 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.042e-05/0.3446, allocations: 151.8 kB / 0.537 GB, free: 8.867 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.538e-05/0.3446, allocations: 150.6 kB / 0.5372 GB, free: 8.719 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002417/0.3449, allocations: 450.9 kB / 0.5376 GB, free: 8.23 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.63e-05/0.345, allocations: 174.3 kB / 0.5378 GB, free: 8.051 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.259e-05/0.345, allocations: 80.14 kB / 0.5378 GB, free: 7.969 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.398e-05/0.3451, allocations: 76.44 kB / 0.5379 GB, free: 7.895 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.447e-05/0.3451, allocations: 118.9 kB / 0.538 GB, free: 7.77 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 4.058e-06/0.3451, allocations: 0 / 0.538 GB, free: 7.77 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 6.648e-05/0.3452, allocations: 30.7 kB / 0.5381 GB, free: 7.734 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.377e-05/0.3453, allocations: 152.4 kB / 0.5382 GB, free: 7.566 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.029e-05/0.3453, allocations: 94.89 kB / 0.5383 GB, free: 7.465 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.058e-05/0.3453, allocations: 25.7 kB / 0.5383 GB, free: 7.434 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.953e-05/0.3454, allocations: 81.27 kB / 0.5384 GB, free: 7.352 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.433e-06/0.3454, allocations: 0 / 0.5384 GB, free: 7.352 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.068e-05/0.3454, allocations: 10.75 kB / 0.5384 GB, free: 7.336 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.3455, allocations: 319.8 kB / 0.5387 GB, free: 7.016 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.681e-06/0.3455, allocations: 0 / 0.5387 GB, free: 7.016 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.475e-05/0.3456, allocations: 1 kB / 0.5387 GB, free: 7.016 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.763e-05/0.3456, allocations: 76.28 kB / 0.5388 GB, free: 6.941 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.082e-05/0.3457, allocations: 75.28 kB / 0.5389 GB, free: 6.867 MB / 398.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.202e-05/0.3457, allocations: 31.77 kB / 0.5389 GB, free: 6.832 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.614e-05/0.3458, allocations: 89.28 kB / 0.539 GB, free: 6.75 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.66e-05/0.3458, allocations: 87.27 kB / 0.5391 GB, free: 6.664 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.113e-05/0.3459, allocations: 151.6 kB / 0.5392 GB, free: 6.516 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.964e-05/0.3459, allocations: 76.52 kB / 0.5393 GB, free: 6.441 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.415e-05/0.346, allocations: 159.7 kB / 0.5394 GB, free: 6.285 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.14e-05/0.3461, allocations: 80.52 kB / 0.5395 GB, free: 6.207 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.562e-05/0.3461, allocations: 80.34 kB / 0.5396 GB, free: 6.129 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.0001078/0.3462, allocations: 265.6 kB / 0.5398 GB, free: 5.859 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.604e-05/0.3463, allocations: 106.1 kB / 0.5399 GB, free: 5.75 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.818e-05/0.3463, allocations: 112.9 kB / 0.54 GB, free: 5.637 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.478e-05/0.3464, allocations: 181.2 kB / 0.5402 GB, free: 5.453 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-05/0.3464, allocations: 177.4 kB / 0.5404 GB, free: 5.273 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.896e-05/0.3465, allocations: 185.3 kB / 0.5406 GB, free: 5.086 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002067/0.3467, allocations: 402.4 kB / 0.5409 GB, free: 4.637 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.429e-05/0.3468, allocations: 109.9 kB / 0.541 GB, free: 4.523 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.498e-05/0.3468, allocations: 102.1 kB / 0.5411 GB, free: 4.418 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.836e-05/0.3469, allocations: 181.3 kB / 0.5413 GB, free: 4.234 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.512e-05/0.3469, allocations: 181.4 kB / 0.5415 GB, free: 4.051 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.561e-05/0.347, allocations: 184.3 kB / 0.5417 GB, free: 3.863 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-05/0.347, allocations: 181.5 kB / 0.5418 GB, free: 3.68 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001206/0.3472, allocations: 303.1 kB / 0.5421 GB, free: 3.363 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.778e-05/0.3472, allocations: 187.2 kB / 0.5423 GB, free: 3.156 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.646e-05/0.3473, allocations: 186.3 kB / 0.5425 GB, free: 2.969 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.716e-05/0.3474, allocations: 113.9 kB / 0.5426 GB, free: 2.852 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.451e-05/0.3475, allocations: 177.5 kB / 0.5428 GB, free: 2.672 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.481e-05/0.3476, allocations: 101 kB / 0.5429 GB, free: 2.566 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.207e-05/0.3476, allocations: 76.25 kB / 0.5429 GB, free: 2.492 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3476, allocations: 3.938 kB / 0.5429 GB, free: 2.488 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006441/0.3483, allocations: 151 kB / 0.5431 GB, free: 2.453 MB / 398.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007028/0.349, allocations: 334.9 kB / 0.5434 GB, free: 2.215 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 5.296e-05/0.349, allocations: 5.406 kB / 0.5434 GB, free: 2.211 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.349, allocations: 0 / 0.5434 GB, free: 2.211 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 1.183e-06/0.349, allocations: 1.125 kB / 0.5434 GB, free: 2.211 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003543/0.3494, allocations: 460.5 kB / 0.5438 GB, free: 1.762 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001466/0.3496, allocations: 149.5 kB / 0.544 GB, free: 1.594 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002334/0.3498, allocations: 0.6729 MB / 0.5446 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.225e-05/0.3498, allocations: 5.562 kB / 0.5447 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.099e-05/0.3498, allocations: 11.38 kB / 0.5447 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3498, allocations: 1.531 kB / 0.5447 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of Templates: time 0.006989/0.3568, allocations: 3.387 MB / 0.548 GB, free: 15.14 MB / 414.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestMatricesExamplesSolveLinearEquations/TestMatricesExamplesSolveLinearEquations.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches