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.001452/0.001452, allocations: 117.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001526/0.001526, allocations: 200.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.404/1.404, allocations: 227.4 MB / 246.9 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.2243/0.2243, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001442, allocations: 83.8 kB / 481.3 MB, free: 4.109 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4282/0.4296, allocations: 62.43 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001467/0.4311, allocations: 488.9 kB / 0.5314 GB, free: 13.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002802/0.434, allocations: 2.039 MB / 0.5334 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.689e-06/0.434, allocations: 0 / 0.5334 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 4.218e-06/0.434, allocations: 0 / 0.5334 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.443e-06/0.434, allocations: 1.375 kB / 0.5334 GB, free: 11.66 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.001553/0.4356, allocations: 0.5177 MB / 0.5339 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 1.586e-05/0.4356, allocations: 0 / 0.5339 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.875e-05/0.4356, allocations: 1.188 kB / 0.5339 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.426e-06/0.4356, allocations: 0 / 0.5339 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.335e-05/0.4357, allocations: 5.203 kB / 0.5339 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.188e-06/0.4357, allocations: 0 / 0.5339 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001273/0.4369, allocations: 0.895 MB / 0.5348 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.981e-06/0.437, allocations: 0 / 0.5348 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.418e-06/0.437, allocations: 0 / 0.5348 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009822/0.438, allocations: 0.7978 MB / 0.5356 GB, free: 10.43 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.438, allocations: 4 kB / 0.5356 GB, free: 10.43 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.438, allocations: 0.9375 kB / 0.5356 GB, free: 10.43 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.679e-06/0.438, allocations: 0 / 0.5356 GB, free: 10.43 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.0003475/0.4383, allocations: 380.3 kB / 0.536 GB, free: 10.02 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.219e-05/0.4384, allocations: 9 kB / 0.536 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.279e-05/0.4384, allocations: 77.25 kB / 0.536 GB, free: 9.949 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001179/0.4386, allocations: 239.6 kB / 0.5363 GB, free: 9.676 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.582e-05/0.4386, allocations: 155.7 kB / 0.5364 GB, free: 9.523 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.585e-05/0.4387, allocations: 159.9 kB / 0.5366 GB, free: 9.367 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.631e-05/0.4387, allocations: 105.3 kB / 0.5367 GB, free: 9.258 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.535e-05/0.4388, allocations: 76.41 kB / 0.5367 GB, free: 9.184 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.454e-05/0.4389, allocations: 158.5 kB / 0.5369 GB, free: 9.027 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.028e-05/0.4389, allocations: 150.6 kB / 0.537 GB, free: 8.879 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001337/0.4391, allocations: 155.8 kB / 0.5372 GB, free: 8.727 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000271/0.4394, allocations: 443.1 kB / 0.5376 GB, free: 8.246 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.427e-05/0.4394, allocations: 166.3 kB / 0.5378 GB, free: 8.074 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.089e-05/0.4395, allocations: 80.14 kB / 0.5379 GB, free: 7.992 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.645e-05/0.4395, allocations: 83.22 kB / 0.5379 GB, free: 7.91 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.487e-05/0.4396, allocations: 111 kB / 0.538 GB, free: 7.793 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 2.535e-06/0.4396, allocations: 1.312 kB / 0.538 GB, free: 7.793 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 8.755e-05/0.4397, allocations: 33.62 kB / 0.5381 GB, free: 7.754 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.326e-05/0.4397, allocations: 153.7 kB / 0.5382 GB, free: 7.586 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.196e-05/0.4398, allocations: 93.86 kB / 0.5383 GB, free: 7.484 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.101e-05/0.4398, allocations: 25.7 kB / 0.5383 GB, free: 7.453 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.691e-05/0.4398, allocations: 85.11 kB / 0.5384 GB, free: 7.367 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.433e-06/0.4399, allocations: 0 / 0.5384 GB, free: 7.367 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.114e-05/0.4399, allocations: 11.88 kB / 0.5384 GB, free: 7.352 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.956e-05/0.44, allocations: 310.8 kB / 0.5387 GB, free: 7.039 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.641e-06/0.44, allocations: 1.281 kB / 0.5387 GB, free: 7.039 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.821e-05/0.44, allocations: 3.938 kB / 0.5387 GB, free: 7.035 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.634e-05/0.44, allocations: 76 kB / 0.5388 GB, free: 6.961 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.19e-05/0.4401, allocations: 75.28 kB / 0.5389 GB, free: 6.887 MB / 398.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.389e-05/0.4401, allocations: 36.84 kB / 0.5389 GB, free: 6.848 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.851e-05/0.4402, allocations: 84.22 kB / 0.539 GB, free: 6.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.558e-05/0.4402, allocations: 80.42 kB / 0.5391 GB, free: 6.691 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.973e-05/0.4403, allocations: 155.6 kB / 0.5392 GB, free: 6.539 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.342e-05/0.4403, allocations: 80.58 kB / 0.5393 GB, free: 6.461 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.107e-05/0.4404, allocations: 158.5 kB / 0.5394 GB, free: 6.305 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.488e-05/0.4404, allocations: 80.47 kB / 0.5395 GB, free: 6.227 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.094e-05/0.4405, allocations: 76.53 kB / 0.5396 GB, free: 6.152 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.000114/0.4406, allocations: 266.6 kB / 0.5398 GB, free: 5.883 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.367e-05/0.4407, allocations: 104.9 kB / 0.5399 GB, free: 5.773 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.915e-05/0.4407, allocations: 117 kB / 0.5401 GB, free: 5.656 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.358e-05/0.4408, allocations: 185.4 kB / 0.5402 GB, free: 5.469 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001225/0.4409, allocations: 177.4 kB / 0.5404 GB, free: 5.289 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.177e-05/0.441, allocations: 181.4 kB / 0.5406 GB, free: 5.105 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002411/0.4412, allocations: 398.4 kB / 0.541 GB, free: 4.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.471e-05/0.4413, allocations: 106.1 kB / 0.5411 GB, free: 4.551 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.084e-05/0.4413, allocations: 110 kB / 0.5412 GB, free: 4.438 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001489/0.4414, allocations: 189.3 kB / 0.5413 GB, free: 4.246 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.815e-05/0.4415, allocations: 180.2 kB / 0.5415 GB, free: 4.062 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.941e-05/0.4416, allocations: 177.5 kB / 0.5417 GB, free: 3.883 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.053e-05/0.4417, allocations: 177.4 kB / 0.5418 GB, free: 3.703 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001997/0.4419, allocations: 315.2 kB / 0.5421 GB, free: 3.375 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.104e-05/0.4419, allocations: 183.2 kB / 0.5423 GB, free: 3.172 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.989e-05/0.442, allocations: 181.5 kB / 0.5425 GB, free: 2.988 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001176/0.4421, allocations: 109.9 kB / 0.5426 GB, free: 2.875 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001325/0.4423, allocations: 181.2 kB / 0.5428 GB, free: 2.691 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.673e-05/0.4423, allocations: 106.2 kB / 0.5429 GB, free: 2.582 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.079e-05/0.4423, allocations: 79.28 kB / 0.543 GB, free: 2.504 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4423, allocations: 1.156 kB / 0.543 GB, free: 2.504 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006533/0.443, allocations: 145.1 kB / 0.5431 GB, free: 2.473 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.0006665/0.4437, allocations: 334.7 kB / 0.5434 GB, free: 2.23 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 5.288e-05/0.4437, allocations: 9.25 kB / 0.5434 GB, free: 2.223 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.4437, allocations: 3.938 kB / 0.5434 GB, free: 2.219 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 1.262e-06/0.4437, allocations: 0 / 0.5434 GB, free: 2.219 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003308/0.4441, allocations: 460.4 kB / 0.5439 GB, free: 1.77 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001238/0.4442, allocations: 149 kB / 0.544 GB, free: 1.602 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002872/0.4445, allocations: 0.669 MB / 0.5447 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.516e-06/0.4445, allocations: 1.062 kB / 0.5447 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.107e-05/0.4445, allocations: 8.719 kB / 0.5447 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4445, allocations: 0 / 0.5447 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of Templates: time 0.00809/0.4526, allocations: 3.393 MB / 0.548 GB, free: 15.16 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