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.001111/0.001111, allocations: 110 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001097/0.001097, allocations: 209.9 kB / 19.4 MB, free: 3.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.403/1.403, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2387/0.2387, allocations: 46.1 MB / 345 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 79.88 kB / 482 MB, free: 4.098 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4086/0.41, allocations: 62.43 MB / 0.5316 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001507/0.4115, allocations: 499.5 kB / 0.5321 GB, free: 13.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002899/0.4144, allocations: 2.032 MB / 0.5341 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.15e-06/0.4145, allocations: 0 / 0.5341 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 8.536e-06/0.4145, allocations: 1.406 kB / 0.5341 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.052e-06/0.4145, allocations: 0 / 0.5341 GB, free: 11.65 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.001716/0.4162, allocations: 0.5058 MB / 0.5346 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 1.731e-05/0.4163, allocations: 4 kB / 0.5346 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.148e-05/0.4163, allocations: 5.141 kB / 0.5346 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.327e-06/0.4163, allocations: 1.156 kB / 0.5346 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.157e-05/0.4163, allocations: 0 / 0.5346 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.939e-06/0.4163, allocations: 0 / 0.5346 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001361/0.4177, allocations: 0.9012 MB / 0.5355 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.334e-06/0.4177, allocations: 1 kB / 0.5355 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.821e-05/0.4177, allocations: 3.984 kB / 0.5355 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001038/0.4188, allocations: 0.7894 MB / 0.5363 GB, free: 10.42 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.4188, allocations: 5.406 kB / 0.5363 GB, free: 10.42 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.4188, allocations: 0 / 0.5363 GB, free: 10.42 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.78e-06/0.4188, allocations: 0 / 0.5363 GB, free: 10.42 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.0004059/0.4192, allocations: 372.3 kB / 0.5366 GB, free: 10.02 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.4193, allocations: 14.33 kB / 0.5366 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.997e-05/0.4194, allocations: 76.22 kB / 0.5367 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001285/0.4195, allocations: 235.7 kB / 0.5369 GB, free: 9.676 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.19e-05/0.4196, allocations: 156.1 kB / 0.5371 GB, free: 9.523 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.291e-05/0.4196, allocations: 150.9 kB / 0.5372 GB, free: 9.375 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.147e-05/0.4197, allocations: 110.4 kB / 0.5373 GB, free: 9.262 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.131e-05/0.4197, allocations: 75.28 kB / 0.5374 GB, free: 9.188 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.277e-05/0.4198, allocations: 151.8 kB / 0.5375 GB, free: 9.039 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.634e-05/0.4198, allocations: 154.6 kB / 0.5377 GB, free: 8.887 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.648e-05/0.4199, allocations: 155.7 kB / 0.5378 GB, free: 8.734 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002757/0.4202, allocations: 443.2 kB / 0.5383 GB, free: 8.254 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.325e-05/0.4203, allocations: 177 kB / 0.5384 GB, free: 8.07 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.025e-05/0.4203, allocations: 81.33 kB / 0.5385 GB, free: 7.988 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.67e-05/0.4203, allocations: 79.28 kB / 0.5386 GB, free: 7.91 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.113e-05/0.4204, allocations: 114.9 kB / 0.5387 GB, free: 7.789 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 2.104e-06/0.4204, allocations: 0 / 0.5387 GB, free: 7.789 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 7.312e-05/0.4205, allocations: 30.61 kB / 0.5387 GB, free: 7.754 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.806e-05/0.4205, allocations: 153.6 kB / 0.5389 GB, free: 7.586 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.238e-05/0.4206, allocations: 89.86 kB / 0.539 GB, free: 7.488 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.298e-05/0.4206, allocations: 29.64 kB / 0.539 GB, free: 7.453 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.418e-05/0.4207, allocations: 85.27 kB / 0.5391 GB, free: 7.367 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.764e-06/0.4207, allocations: 0 / 0.5391 GB, free: 7.367 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.134e-05/0.4207, allocations: 12.34 kB / 0.5391 GB, free: 7.352 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001045/0.4208, allocations: 318.8 kB / 0.5394 GB, free: 7.031 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.51e-06/0.4208, allocations: 0 / 0.5394 GB, free: 7.031 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.966e-05/0.4208, allocations: 1.344 kB / 0.5394 GB, free: 7.031 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.872e-05/0.4209, allocations: 75.28 kB / 0.5395 GB, free: 6.957 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-05/0.4209, allocations: 76.59 kB / 0.5395 GB, free: 6.883 MB / 398.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.978e-05/0.421, allocations: 31.17 kB / 0.5396 GB, free: 6.848 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.299e-05/0.421, allocations: 84.88 kB / 0.5396 GB, free: 6.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.75e-05/0.421, allocations: 84.33 kB / 0.5397 GB, free: 6.688 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.061e-05/0.4211, allocations: 151.6 kB / 0.5399 GB, free: 6.539 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.565e-05/0.4211, allocations: 75.33 kB / 0.5399 GB, free: 6.465 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-05/0.4212, allocations: 163.6 kB / 0.5401 GB, free: 6.305 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.729e-05/0.4213, allocations: 80.38 kB / 0.5402 GB, free: 6.227 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.345e-05/0.4213, allocations: 84.12 kB / 0.5402 GB, free: 6.145 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.0001056/0.4214, allocations: 258.4 kB / 0.5405 GB, free: 5.883 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.804e-05/0.4215, allocations: 110 kB / 0.5406 GB, free: 5.77 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.835e-05/0.4215, allocations: 112.8 kB / 0.5407 GB, free: 5.656 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.779e-05/0.4216, allocations: 181.3 kB / 0.5409 GB, free: 5.473 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.415e-05/0.4217, allocations: 185.3 kB / 0.5411 GB, free: 5.285 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.87e-05/0.4218, allocations: 181.1 kB / 0.5412 GB, free: 5.102 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002225/0.422, allocations: 395.2 kB / 0.5416 GB, free: 4.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.843e-05/0.422, allocations: 108.9 kB / 0.5417 GB, free: 4.547 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.623e-05/0.4221, allocations: 102.1 kB / 0.5418 GB, free: 4.441 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.678e-05/0.4222, allocations: 189.3 kB / 0.542 GB, free: 4.25 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.147e-05/0.4222, allocations: 181.3 kB / 0.5422 GB, free: 4.066 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.351e-05/0.4223, allocations: 177.4 kB / 0.5423 GB, free: 3.887 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.505e-05/0.4224, allocations: 185.5 kB / 0.5425 GB, free: 3.699 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001301/0.4225, allocations: 307.3 kB / 0.5428 GB, free: 3.379 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.189e-05/0.4226, allocations: 183.2 kB / 0.543 GB, free: 3.176 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.032e-05/0.4227, allocations: 185.1 kB / 0.5432 GB, free: 2.988 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.932e-05/0.4228, allocations: 110 kB / 0.5433 GB, free: 2.875 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.059e-05/0.4228, allocations: 181.4 kB / 0.5434 GB, free: 2.691 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.431e-05/0.4229, allocations: 102.1 kB / 0.5435 GB, free: 2.586 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.265e-05/0.4229, allocations: 83.28 kB / 0.5436 GB, free: 2.504 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.754e-06/0.4229, allocations: 0 / 0.5436 GB, free: 2.504 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007162/0.4236, allocations: 150.8 kB / 0.5438 GB, free: 2.469 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.0007263/0.4244, allocations: 331.1 kB / 0.5441 GB, free: 2.234 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 5.592e-05/0.4244, allocations: 5.578 kB / 0.5441 GB, free: 2.23 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.4244, allocations: 0 / 0.5441 GB, free: 2.23 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 1.814e-06/0.4244, allocations: 1.312 kB / 0.5441 GB, free: 2.23 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000345/0.4248, allocations: 459.2 kB / 0.5445 GB, free: 1.781 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001613/0.425, allocations: 175.8 kB / 0.5447 GB, free: 1.582 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002339/0.4252, allocations: 0.669 MB / 0.5453 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.501e-05/0.4252, allocations: 8.844 kB / 0.5453 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of SimCode: time 1.684e-06/0.4252, allocations: 0 / 0.5453 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of Templates: time 0.006594/0.4318, allocations: 2.934 MB / 0.5482 GB, free: 15.4 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/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