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.001194/0.001194, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001398/0.001398, allocations: 198 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.419/1.419, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2372/0.2372, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 75.88 kB / 481.3 MB, free: 4.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3977/0.3991, allocations: 62.44 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001907/0.4011, allocations: 498.2 kB / 0.5315 GB, free: 13.26 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004583/0.4057, allocations: 2.044 MB / 0.5334 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.171e-06/0.4057, allocations: 0 / 0.5334 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 4.859e-06/0.4058, allocations: 0 / 0.5334 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.803e-06/0.4058, 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.002195/0.408, allocations: 0.5069 MB / 0.5339 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 1.962e-05/0.408, allocations: 4 kB / 0.5339 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.565e-05/0.4081, allocations: 1.375 kB / 0.5339 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.224e-05/0.4081, allocations: 0 / 0.5339 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.383e-05/0.4081, allocations: 1.375 kB / 0.5339 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.939e-06/0.4081, allocations: 0 / 0.5339 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00146/0.4096, allocations: 0.9073 MB / 0.5348 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.566e-06/0.4096, allocations: 0 / 0.5348 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.817e-05/0.4096, allocations: 1.25 kB / 0.5348 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001044/0.4107, allocations: 0.7935 MB / 0.5356 GB, free: 10.42 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.4107, allocations: 3.938 kB / 0.5356 GB, free: 10.41 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.4107, allocations: 0 / 0.5356 GB, free: 10.41 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.133e-06/0.4107, allocations: 1.219 kB / 0.5356 GB, free: 10.41 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.0004553/0.4112, allocations: 380.1 kB / 0.536 GB, free: 10.01 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.4112, allocations: 13.19 kB / 0.536 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.013e-05/0.4113, allocations: 76.22 kB / 0.5361 GB, free: 9.934 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001253/0.4114, allocations: 237.1 kB / 0.5363 GB, free: 9.664 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.879e-05/0.4115, allocations: 154.9 kB / 0.5364 GB, free: 9.512 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.419e-05/0.4115, allocations: 150.9 kB / 0.5366 GB, free: 9.363 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001565/0.4117, allocations: 114.7 kB / 0.5367 GB, free: 9.246 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.377e-05/0.4117, allocations: 79.28 kB / 0.5368 GB, free: 9.168 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.552e-05/0.4118, allocations: 152.2 kB / 0.5369 GB, free: 9.02 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.062e-05/0.4119, allocations: 150.6 kB / 0.5371 GB, free: 8.871 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.111e-05/0.412, allocations: 154.5 kB / 0.5372 GB, free: 8.719 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000265/0.4122, allocations: 439.4 kB / 0.5376 GB, free: 8.242 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.852e-05/0.4123, allocations: 174.7 kB / 0.5378 GB, free: 8.062 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.123e-05/0.4124, allocations: 80.14 kB / 0.5379 GB, free: 7.98 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.58e-05/0.4124, allocations: 75.28 kB / 0.5379 GB, free: 7.906 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.345e-05/0.4124, allocations: 115.3 kB / 0.538 GB, free: 7.785 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 2.194e-06/0.4124, allocations: 0 / 0.538 GB, free: 7.785 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 7.198e-05/0.4125, allocations: 39.19 kB / 0.5381 GB, free: 7.742 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.077e-05/0.4126, allocations: 152.4 kB / 0.5382 GB, free: 7.574 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.16e-05/0.4126, allocations: 89.86 kB / 0.5383 GB, free: 7.477 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.195e-05/0.4127, allocations: 25.7 kB / 0.5383 GB, free: 7.445 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.263e-05/0.4127, allocations: 85.64 kB / 0.5384 GB, free: 7.359 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.814e-06/0.4127, allocations: 0 / 0.5384 GB, free: 7.359 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.395e-05/0.4127, allocations: 11.5 kB / 0.5384 GB, free: 7.344 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.4129, allocations: 310.8 kB / 0.5387 GB, free: 7.031 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.08e-06/0.4129, allocations: 5.594 kB / 0.5387 GB, free: 7.027 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.818e-05/0.4129, allocations: 0 / 0.5387 GB, free: 7.027 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.664e-05/0.4129, allocations: 75.28 kB / 0.5388 GB, free: 6.953 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.167e-05/0.413, allocations: 76.69 kB / 0.5389 GB, free: 6.879 MB / 398.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.552e-05/0.413, allocations: 31.23 kB / 0.5389 GB, free: 6.844 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.999e-05/0.4131, allocations: 88.27 kB / 0.539 GB, free: 6.762 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.754e-05/0.4131, allocations: 80.8 kB / 0.5391 GB, free: 6.684 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.271e-05/0.4132, allocations: 159.9 kB / 0.5392 GB, free: 6.527 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.204e-05/0.4132, allocations: 75.33 kB / 0.5393 GB, free: 6.453 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.441e-05/0.4133, allocations: 163.8 kB / 0.5394 GB, free: 6.293 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.154e-05/0.4133, allocations: 80.53 kB / 0.5395 GB, free: 6.215 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.288e-05/0.4134, allocations: 76.41 kB / 0.5396 GB, free: 6.141 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.0001337/0.4135, allocations: 257.9 kB / 0.5398 GB, free: 5.879 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.796e-05/0.4136, allocations: 118.3 kB / 0.54 GB, free: 5.758 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.704e-05/0.4136, allocations: 107.9 kB / 0.5401 GB, free: 5.648 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.297e-05/0.4137, allocations: 185.7 kB / 0.5402 GB, free: 5.461 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.799e-05/0.4138, allocations: 177.4 kB / 0.5404 GB, free: 5.281 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001078/0.4139, allocations: 177.4 kB / 0.5406 GB, free: 5.102 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002187/0.4141, allocations: 406.3 kB / 0.541 GB, free: 4.648 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.626e-05/0.4142, allocations: 102.1 kB / 0.5411 GB, free: 4.543 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.586e-05/0.4142, allocations: 110.3 kB / 0.5412 GB, free: 4.43 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.156e-05/0.4143, allocations: 180.2 kB / 0.5413 GB, free: 4.246 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.168e-05/0.4144, allocations: 181.8 kB / 0.5415 GB, free: 4.062 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.256e-05/0.4144, allocations: 181.5 kB / 0.5417 GB, free: 3.879 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001207/0.4146, allocations: 180.3 kB / 0.5419 GB, free: 3.695 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001307/0.4147, allocations: 311.9 kB / 0.5422 GB, free: 3.371 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001118/0.4148, allocations: 183.3 kB / 0.5423 GB, free: 3.168 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.122e-05/0.4149, allocations: 189.3 kB / 0.5425 GB, free: 2.977 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.944e-05/0.415, allocations: 109.8 kB / 0.5426 GB, free: 2.863 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.721e-05/0.4151, allocations: 185.4 kB / 0.5428 GB, free: 2.676 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.795e-05/0.4151, allocations: 105.9 kB / 0.5429 GB, free: 2.566 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.212e-05/0.4152, allocations: 75.28 kB / 0.543 GB, free: 2.492 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4152, allocations: 0 / 0.543 GB, free: 2.492 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007531/0.4159, allocations: 147.1 kB / 0.5431 GB, free: 2.461 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.0007479/0.4167, allocations: 328.1 kB / 0.5434 GB, free: 2.223 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 4.978e-05/0.4167, allocations: 2.312 kB / 0.5434 GB, free: 2.223 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.4167, allocations: 3.938 kB / 0.5434 GB, free: 2.219 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 1.263e-06/0.4168, allocations: 4 kB / 0.5434 GB, free: 2.215 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003538/0.4171, allocations: 458.1 kB / 0.5439 GB, free: 1.766 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001388/0.4173, allocations: 140.7 kB / 0.544 GB, free: 1.605 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003199/0.4176, allocations: 0.6729 MB / 0.5447 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.746e-06/0.4176, allocations: 1.156 kB / 0.5447 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.246e-05/0.4176, allocations: 8.656 kB / 0.5447 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4176, allocations: 4 kB / 0.5447 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of Templates: time 0.006788/0.4244, allocations: 3.398 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