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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001137/0.001137, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001558/0.002696, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001047/0.001047, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00135/0.002396, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9637/0.9637, allocations: 177.5 MB / 190 MB, free: 4.805 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0986/1.062, allocations: 53.87 MB / 243.9 MB, free: 14.86 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2633/0.2633, allocations: 34.88 MB / 279.6 MB, free: 14.93 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02759/0.2909, allocations: 13.23 MB / 292.8 MB, free: 6.402 MB / 282.7 MB " [Timeout remaining time 180] 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=2500,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") translateModel(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.734e-06/1.734e-06, allocations: 0 / 294.1 MB, free: 5.113 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.614e-05/2.787e-05, allocations: 2.969 kB / 294.1 MB, free: 5.109 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.002111/0.002139, allocations: 0.5482 MB / 294.6 MB, free: 4.562 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003001/0.005141, allocations: 2.022 MB / 296.7 MB, free: 2.527 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.129e-06/0.005146, allocations: 0 / 296.7 MB, free: 2.527 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.657e-06/0.005149, allocations: 0 / 296.7 MB, free: 2.527 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 4.61e-07/0.00515, allocations: 0 / 296.7 MB, free: 2.527 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Math/package.mo:697:5-760: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.001646/0.006795, allocations: 0.5458 MB / 297.2 MB, free: 1.98 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 2.268e-05/0.006818, allocations: 0 / 297.2 MB, free: 1.98 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.54e-05/0.006854, allocations: 3.938 kB / 297.2 MB, free: 1.977 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.309e-05/0.006877, allocations: 0 / 297.2 MB, free: 1.977 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.295e-05/0.00689, allocations: 4 kB / 297.2 MB, free: 1.973 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.844e-06/0.006897, allocations: 0 / 297.2 MB, free: 1.973 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001321/0.008218, allocations: 0.8264 MB / 298 MB, free: 1.145 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.255e-05/0.008231, allocations: 0 / 298 MB, free: 1.145 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.187e-05/0.008242, allocations: 4 kB / 298 MB, free: 1.141 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000853/0.009096, allocations: 0.6625 MB / 298.7 MB, free: 488 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.146e-05/0.009107, allocations: 0 / 298.7 MB, free: 488 kB / 282.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.009109, allocations: 0 / 298.7 MB, free: 488 kB / 282.7 MB Notification: Performance of Transformations before backend: time 1.02e-05/0.009119, allocations: 0 / 298.7 MB, free: 488 kB / 282.7 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.0004163/0.009535, allocations: 316 kB / 299 MB, free: 148 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.009573, allocations: 8.922 kB / 299 MB, free: 140 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.944e-05/0.009633, allocations: 84.22 kB / 299.1 MB, free: 56 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001001/0.009733, allocations: 189 kB / 299.3 MB, free: 15.84 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.797e-05/0.009781, allocations: 150.9 kB / 299.4 MB, free: 15.7 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.562e-05/0.009826, allocations: 154.9 kB / 299.6 MB, free: 15.54 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.038e-05/0.009887, allocations: 105.5 kB / 299.7 MB, free: 15.43 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.217e-05/0.009909, allocations: 75.47 kB / 299.8 MB, free: 15.36 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.627e-05/0.009955, allocations: 150.9 kB / 299.9 MB, free: 15.21 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.547e-05/0.01, allocations: 154.5 kB / 300.1 MB, free: 15.06 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.284e-05/0.01004, allocations: 158.5 kB / 300.2 MB, free: 14.9 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000186/0.01023, allocations: 353.3 kB / 300.6 MB, free: 14.54 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.569e-05/0.01031, allocations: 169.1 kB / 300.7 MB, free: 14.37 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.781e-05/0.01033, allocations: 88.12 kB / 300.8 MB, free: 14.28 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.558e-05/0.01036, allocations: 79.22 kB / 300.9 MB, free: 14.2 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.989e-05/0.01041, allocations: 113.8 kB / 301 MB, free: 14.08 MB / 298.7 MB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.01041, allocations: 0 / 301 MB, free: 14.08 MB / 298.7 MB Notification: Performance of matching and sorting (n=0): time 7.225e-05/0.01048, allocations: 29.64 kB / 301 MB, free: 14.04 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.591e-05/0.01054, allocations: 126.7 kB / 301.2 MB, free: 13.91 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.277e-05/0.01057, allocations: 89.86 kB / 301.2 MB, free: 13.81 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.133e-05/0.01058, allocations: 25.7 kB / 301.3 MB, free: 13.78 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.774e-05/0.01061, allocations: 84.14 kB / 301.3 MB, free: 13.69 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.61e-07/0.01061, allocations: 0 / 301.3 MB, free: 13.69 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.29e-05/0.01063, allocations: 13.72 kB / 301.4 MB, free: 13.67 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.01074, allocations: 322.8 kB / 301.7 MB, free: 13.35 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.737e-06/0.01074, allocations: 4 kB / 301.7 MB, free: 13.34 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.825e-05/0.01077, allocations: 29.69 kB / 301.7 MB, free: 13.31 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.247e-05/0.01079, allocations: 75.28 kB / 301.8 MB, free: 13.23 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.297e-05/0.01082, allocations: 75.28 kB / 301.9 MB, free: 13.16 MB / 298.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.077e-05/0.01087, allocations: 33.64 kB / 301.9 MB, free: 13.12 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.272e-05/0.0109, allocations: 79.28 kB / 302 MB, free: 13.04 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.397e-05/0.01092, allocations: 75.28 kB / 302 MB, free: 12.97 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.199e-05/0.01098, allocations: 154.6 kB / 302.2 MB, free: 12.82 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.362e-05/0.011, allocations: 83.22 kB / 302.3 MB, free: 12.73 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.139e-05/0.01104, allocations: 154.6 kB / 302.4 MB, free: 12.58 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.592e-05/0.01111, allocations: 87.2 kB / 302.5 MB, free: 12.5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.099e-05/0.01113, allocations: 79.22 kB / 302.6 MB, free: 12.42 MB / 298.7 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 9.1e-05/0.01122, allocations: 260.4 kB / 302.8 MB, free: 12.15 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.913e-05/0.01127, allocations: 104.9 kB / 302.9 MB, free: 12.04 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.585e-05/0.0113, allocations: 104 kB / 303 MB, free: 11.94 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.948e-05/0.01135, allocations: 180.3 kB / 303.2 MB, free: 11.75 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.006e-05/0.0114, allocations: 188.4 kB / 303.4 MB, free: 11.56 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.066e-05/0.01145, allocations: 176.3 kB / 303.6 MB, free: 11.38 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001617/0.01162, allocations: 325.4 kB / 303.9 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-05/0.01165, allocations: 105 kB / 304 MB, free: 10.93 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.023e-05/0.01168, allocations: 105 kB / 304.1 MB, free: 10.82 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.17e-05/0.01171, allocations: 108.9 kB / 304.2 MB, free: 10.71 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.631e-05/0.01175, allocations: 176.3 kB / 304.4 MB, free: 10.53 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.485e-05/0.01181, allocations: 188.2 kB / 304.6 MB, free: 10.34 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.915e-05/0.01186, allocations: 180.3 kB / 304.7 MB, free: 10.15 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.205e-05/0.01191, allocations: 192.2 kB / 304.9 MB, free: 9.957 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001199/0.01203, allocations: 307.7 kB / 305.2 MB, free: 9.633 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.26e-05/0.01209, allocations: 180.2 kB / 305.4 MB, free: 9.449 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.142e-05/0.01216, allocations: 101 kB / 305.5 MB, free: 9.344 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.797e-05/0.01222, allocations: 188.2 kB / 305.7 MB, free: 9.152 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.422e-05/0.01226, allocations: 109 kB / 305.8 MB, free: 9.039 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.585e-05/0.01227, allocations: 4.859 kB / 305.8 MB, free: 9.031 MB / 298.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.01227, allocations: 0 / 305.8 MB, free: 9.031 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006065/0.01288, allocations: 147.6 kB / 305.9 MB, free: 8.887 MB / 298.7 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.0008405/0.01372, allocations: 386.3 kB / 306.3 MB, free: 8.52 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 4.678e-05/0.01377, allocations: 4 kB / 306.3 MB, free: 8.516 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.01377, allocations: 0 / 306.3 MB, free: 8.516 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.036e-06/0.01377, allocations: 0 / 306.3 MB, free: 8.516 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002318/0.014, allocations: 467.5 kB / 306.8 MB, free: 8.055 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001403/0.01414, allocations: 158.2 kB / 306.9 MB, free: 7.875 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.434e-05/0.01418, allocations: 55.3 kB / 307 MB, free: 7.801 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.107e-05/0.01419, allocations: 4 kB / 307 MB, free: 7.797 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.457e-05/0.01422, allocations: 55.36 kB / 307 MB, free: 7.742 MB / 298.7 MB Notification: Performance of SimCode: time 6.81e-07/0.01422, allocations: 0 / 307 MB, free: 7.742 MB / 298.7 MB Notification: Performance of Templates: time 0.007473/0.0217, allocations: 3.98 MB / 311 MB, free: 3.777 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.makefile [Timeout 660] (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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestMatricesExamplesSolveLinearEquations/TestMatricesExamplesSolveLinearEquations.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.978133204393089]