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.001044/0.001044, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 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.004646/0.004646, allocations: 160.6 kB / 24.7 MB, free: 9.441 MB / 18.57 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.8718/0.8718, allocations: 177 MB / 204.9 MB, free: 5.707 MB / 186.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.2322/0.2322, allocations: 34.24 MB / 295.6 MB, free: 0.6562 MB / 266.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.393e-06/1.393e-06, allocations: 0 / 443.4 MB, free: 1.055 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.087e-05/2.226e-05, allocations: 4.812 kB / 443.4 MB, free: 1.051 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.0008888/0.0009111, allocations: 497 kB / 443.9 MB, free: 0.5664 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1657/0.1666, allocations: 1.953 MB / 445.8 MB, free: 43.38 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.039e-06/0.1666, allocations: 3.938 kB / 445.8 MB, free: 43.37 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.879e-06/0.1666, allocations: 0 / 445.8 MB, free: 43.37 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 1.462e-06/0.1666, allocations: 0 / 445.8 MB, free: 43.37 MB / 410.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.001102/0.1677, allocations: 0.5667 MB / 446.4 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 1.765e-05/0.1678, allocations: 0 / 446.4 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.445e-05/0.1678, allocations: 0 / 446.4 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.504e-05/0.1678, allocations: 2.062 kB / 446.4 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.025e-06/0.1678, allocations: 0 / 446.4 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.845e-06/0.1678, allocations: 2.906 kB / 446.4 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006644/0.1685, allocations: 0.8581 MB / 447.3 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.054e-06/0.1685, allocations: 9.672 kB / 447.3 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.308e-05/0.1685, allocations: 0 / 447.3 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005271/0.169, allocations: 0.8175 MB / 448.1 MB, free: 42.83 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.169, allocations: 0 / 448.1 MB, free: 42.83 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.11e-07/0.169, allocations: 0 / 448.1 MB, free: 42.83 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.169, allocations: 0.7188 kB / 448.1 MB, free: 42.83 MB / 410.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.0001869/0.1692, allocations: 307.9 kB / 448.4 MB, free: 42.53 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.356e-05/0.1693, allocations: 13.72 kB / 448.4 MB, free: 42.53 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.492e-05/0.1693, allocations: 76.22 kB / 448.5 MB, free: 42.45 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.356e-05/0.1693, allocations: 180.5 kB / 448.7 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.1693, allocations: 153.8 kB / 448.8 MB, free: 42.11 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.055e-05/0.1694, allocations: 156.5 kB / 449 MB, free: 41.95 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.394e-05/0.1694, allocations: 105.5 kB / 449.1 MB, free: 41.84 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.1694, allocations: 78.47 kB / 449.1 MB, free: 41.77 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.7e-05/0.1694, allocations: 158.8 kB / 449.3 MB, free: 41.62 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.932e-05/0.1694, allocations: 155.1 kB / 449.4 MB, free: 41.46 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.53e-05/0.1694, allocations: 157.2 kB / 449.6 MB, free: 41.32 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001018/0.1696, allocations: 392.3 kB / 450 MB, free: 40.91 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.881e-05/0.1696, allocations: 172 kB / 450.2 MB, free: 40.73 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.202e-05/0.1696, allocations: 80.14 kB / 450.2 MB, free: 40.65 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.102e-05/0.1696, allocations: 81.19 kB / 450.3 MB, free: 40.57 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.792e-05/0.1696, allocations: 112.2 kB / 450.4 MB, free: 40.46 MB / 410.7 MB Notification: Performance of pre-optimization done (n=0): time 4.51e-07/0.1696, allocations: 0 / 450.4 MB, free: 40.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=0): time 4.618e-05/0.1697, allocations: 25.7 kB / 450.4 MB, free: 40.43 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.38e-05/0.1697, allocations: 159.3 kB / 450.6 MB, free: 40.25 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.079e-05/0.1697, allocations: 89.86 kB / 450.7 MB, free: 40.16 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.119e-06/0.1697, allocations: 29.61 kB / 450.7 MB, free: 40.12 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.225e-06/0.1697, allocations: 80.14 kB / 450.8 MB, free: 40.04 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.773e-06/0.1697, allocations: 0 / 450.8 MB, free: 40.04 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.384e-05/0.1698, allocations: 16.66 kB / 450.8 MB, free: 40.02 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.53e-05/0.1698, allocations: 310.8 kB / 451.1 MB, free: 39.71 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.318e-06/0.1698, allocations: 0 / 451.1 MB, free: 39.71 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.068e-05/0.1698, allocations: 32.55 kB / 451.1 MB, free: 39.68 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.298e-06/0.1698, allocations: 78.66 kB / 451.2 MB, free: 39.6 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.211e-06/0.1698, allocations: 75.28 kB / 451.3 MB, free: 39.53 MB / 410.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 2.586e-05/0.1698, allocations: 28.58 kB / 451.3 MB, free: 39.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.1699, allocations: 81.5 kB / 451.4 MB, free: 39.42 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.1699, allocations: 75.28 kB / 451.5 MB, free: 39.35 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.019e-05/0.1699, allocations: 159.5 kB / 451.6 MB, free: 39.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.051e-06/0.1699, allocations: 79.22 kB / 451.7 MB, free: 39.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.627e-05/0.1699, allocations: 171.3 kB / 451.9 MB, free: 38.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.196e-05/0.1699, allocations: 79.22 kB / 452 MB, free: 38.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.962e-06/0.1699, allocations: 78.31 kB / 452 MB, free: 38.8 MB / 410.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 4.037e-05/0.17, allocations: 260.4 kB / 452.3 MB, free: 38.54 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.831e-05/0.17, allocations: 111.9 kB / 452.4 MB, free: 38.43 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.703e-05/0.17, allocations: 107.3 kB / 452.5 MB, free: 38.32 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.749e-05/0.17, allocations: 191.1 kB / 452.7 MB, free: 38.12 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.461e-05/0.1701, allocations: 176.3 kB / 452.9 MB, free: 37.95 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.568e-05/0.1701, allocations: 183 kB / 453 MB, free: 37.76 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.382e-05/0.1701, allocations: 355 kB / 453.4 MB, free: 37.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.815e-06/0.1701, allocations: 101 kB / 453.5 MB, free: 37.28 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.466e-06/0.1702, allocations: 104.9 kB / 453.6 MB, free: 37.17 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.527e-05/0.1702, allocations: 185.9 kB / 453.8 MB, free: 36.98 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.746e-05/0.1702, allocations: 179.5 kB / 453.9 MB, free: 36.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-05/0.1702, allocations: 187 kB / 454.1 MB, free: 36.62 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.414e-05/0.1702, allocations: 176.3 kB / 454.3 MB, free: 36.44 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.374e-05/0.1703, allocations: 313 kB / 454.6 MB, free: 36.12 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.919e-06/0.1703, allocations: 104.9 kB / 454.7 MB, free: 36.01 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.172e-05/0.1703, allocations: 179.1 kB / 454.9 MB, free: 35.83 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.364e-05/0.1703, allocations: 103.8 kB / 455 MB, free: 35.72 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.004e-05/0.1703, allocations: 187.5 kB / 455.2 MB, free: 35.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.348e-06/0.1703, allocations: 104 kB / 455.3 MB, free: 35.43 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.155e-05/0.1704, allocations: 79.22 kB / 455.3 MB, free: 35.35 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1704, allocations: 0 / 455.3 MB, free: 35.35 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002841/0.1706, allocations: 149.7 kB / 455.5 MB, free: 35.32 MB / 410.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.000437/0.1711, allocations: 357.5 kB / 455.8 MB, free: 35.11 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 4.07e-05/0.1711, allocations: 14.81 kB / 455.9 MB, free: 35.1 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.1711, allocations: 0 / 455.9 MB, free: 35.1 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.72e-07/0.1711, allocations: 0 / 455.9 MB, free: 35.1 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001526/0.1713, allocations: 457.9 kB / 456.3 MB, free: 34.65 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 9.712e-05/0.1714, allocations: 171.8 kB / 456.5 MB, free: 34.46 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.107e-05/0.1714, allocations: 51.36 kB / 456.5 MB, free: 34.39 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.053e-05/0.1714, allocations: 11.44 kB / 456.5 MB, free: 34.38 MB / 410.7 MB Notification: Performance of SimCode: time 4.51e-07/0.1714, allocations: 0 / 456.5 MB, free: 34.38 MB / 410.7 MB Notification: Performance of Templates: time 0.002788/0.1742, allocations: 2.975 MB / 459.5 MB, free: 34.18 MB / 410.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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.667232326231897]