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.001669/0.001669, allocations: 81.47 kB / 21.25 MB, free: 0.5469 MB / 14.72 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.001466/0.001466, allocations: 162.5 kB / 24.5 MB, free: 3.715 MB / 14.72 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 1.466/1.466, allocations: 177.1 MB / 204.7 MB, free: 8.965 MB / 190.1 MB " [Timeout remaining time 178] 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.2114/0.2114, allocations: 34.26 MB / 295.4 MB, free: 14.49 MB / 286.1 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 0.002578/0.002578, allocations: 83.86 kB / 443.1 MB, free: 6.52 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3118/0.3144, allocations: 66.05 MB / 0.4972 GB, free: 29.75 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001358/0.3158, allocations: 0.496 MB / 0.4977 GB, free: 29.46 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002237/0.318, allocations: 1.96 MB / 0.4996 GB, free: 28.14 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.857e-06/0.318, allocations: 3.938 kB / 0.4997 GB, free: 28.13 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 4.108e-06/0.318, allocations: 0 / 0.4997 GB, free: 28.13 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 1.373e-06/0.318, allocations: 0 / 0.4997 GB, free: 28.13 MB / 446.1 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.001528/0.3195, allocations: 0.5547 MB / 0.5002 GB, free: 27.95 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 1.343e-05/0.3196, allocations: 3.984 kB / 0.5002 GB, free: 27.95 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.45e-05/0.3196, allocations: 0 / 0.5002 GB, free: 27.95 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.785e-06/0.3196, allocations: 3.375 kB / 0.5002 GB, free: 27.95 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.955e-06/0.3196, allocations: 0 / 0.5002 GB, free: 27.95 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.346e-06/0.3196, allocations: 0 / 0.5002 GB, free: 27.95 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001105/0.3207, allocations: 0.8576 MB / 0.501 GB, free: 27.74 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.161e-06/0.3207, allocations: 0 / 0.501 GB, free: 27.74 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.396e-06/0.3207, allocations: 3.156 kB / 0.501 GB, free: 27.74 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006956/0.3214, allocations: 0.7668 MB / 0.5018 GB, free: 27.61 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.3214, allocations: 0 / 0.5018 GB, free: 27.61 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.3214, allocations: 2.875 kB / 0.5018 GB, free: 27.61 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.03e-06/0.3214, allocations: 0 / 0.5018 GB, free: 27.61 MB / 446.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.0002522/0.3217, allocations: 302.2 kB / 0.5021 GB, free: 27.31 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.068e-05/0.3217, allocations: 9.781 kB / 0.5021 GB, free: 27.31 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.875e-05/0.3218, allocations: 76.22 kB / 0.5022 GB, free: 27.24 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.977e-05/0.3218, allocations: 189.8 kB / 0.5023 GB, free: 27.03 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.466e-05/0.3218, allocations: 154.3 kB / 0.5025 GB, free: 26.88 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.5e-05/0.3218, allocations: 150.9 kB / 0.5026 GB, free: 26.73 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.294e-05/0.3219, allocations: 105.3 kB / 0.5027 GB, free: 26.62 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.3219, allocations: 82.75 kB / 0.5028 GB, free: 26.54 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.409e-05/0.3219, allocations: 153.6 kB / 0.503 GB, free: 26.39 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.748e-05/0.3219, allocations: 150.6 kB / 0.5031 GB, free: 26.25 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.958e-05/0.322, allocations: 150.6 kB / 0.5032 GB, free: 26.1 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001455/0.3221, allocations: 400.8 kB / 0.5036 GB, free: 25.68 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.419e-05/0.3221, allocations: 168.3 kB / 0.5038 GB, free: 25.51 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.53e-05/0.3222, allocations: 80.14 kB / 0.5039 GB, free: 25.43 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.335e-05/0.3222, allocations: 75.28 kB / 0.5039 GB, free: 25.35 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.568e-05/0.3222, allocations: 109.2 kB / 0.504 GB, free: 25.24 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.3222, allocations: 3.938 kB / 0.504 GB, free: 25.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 6.069e-05/0.3223, allocations: 45 kB / 0.5041 GB, free: 25.19 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.151e-05/0.3223, allocations: 156.4 kB / 0.5042 GB, free: 25.02 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.419e-05/0.3223, allocations: 89.86 kB / 0.5043 GB, free: 24.92 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.982e-06/0.3223, allocations: 25.7 kB / 0.5043 GB, free: 24.89 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.536e-05/0.3223, allocations: 87.38 kB / 0.5044 GB, free: 24.8 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.082e-06/0.3223, allocations: 0 / 0.5044 GB, free: 24.8 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.704e-05/0.3224, allocations: 9.719 kB / 0.5044 GB, free: 24.79 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.538e-05/0.3224, allocations: 318.1 kB / 0.5047 GB, free: 24.47 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.959e-06/0.3224, allocations: 4 kB / 0.5047 GB, free: 24.46 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.871e-05/0.3224, allocations: 25.7 kB / 0.5048 GB, free: 24.43 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.137e-05/0.3224, allocations: 75.28 kB / 0.5048 GB, free: 24.36 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.674e-06/0.3224, allocations: 79.31 kB / 0.5049 GB, free: 24.28 MB / 446.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.427e-05/0.3225, allocations: 36.41 kB / 0.505 GB, free: 24.25 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.3225, allocations: 82 kB / 0.505 GB, free: 24.17 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.3225, allocations: 79.36 kB / 0.5051 GB, free: 24.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.701e-05/0.3225, allocations: 158.5 kB / 0.5053 GB, free: 23.94 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.317e-06/0.3225, allocations: 82.44 kB / 0.5053 GB, free: 23.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.659e-05/0.3226, allocations: 150.6 kB / 0.5055 GB, free: 23.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.338e-05/0.3226, allocations: 82.44 kB / 0.5056 GB, free: 23.63 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.257e-06/0.3226, allocations: 78.75 kB / 0.5056 GB, free: 23.56 MB / 446.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 4.817e-05/0.3227, allocations: 259.6 kB / 0.5059 GB, free: 23.3 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.102e-05/0.3227, allocations: 109 kB / 0.506 GB, free: 23.18 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.994e-05/0.3227, allocations: 118.9 kB / 0.5061 GB, free: 23.06 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.905e-05/0.3227, allocations: 176.3 kB / 0.5063 GB, free: 22.88 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-05/0.3228, allocations: 183.7 kB / 0.5064 GB, free: 22.7 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.091e-05/0.3228, allocations: 179.6 kB / 0.5066 GB, free: 22.52 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.557e-05/0.3229, allocations: 348.9 kB / 0.5069 GB, free: 22.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.358e-05/0.3229, allocations: 115.4 kB / 0.5071 GB, free: 22.03 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.178e-05/0.3229, allocations: 101 kB / 0.5072 GB, free: 21.92 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.402e-05/0.3229, allocations: 183.7 kB / 0.5073 GB, free: 21.74 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.174e-05/0.323, allocations: 176.3 kB / 0.5075 GB, free: 21.56 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.15e-05/0.323, allocations: 184.1 kB / 0.5077 GB, free: 21.37 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.047e-05/0.323, allocations: 186.8 kB / 0.5079 GB, free: 21.19 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.396e-05/0.323, allocations: 303 kB / 0.5081 GB, free: 20.87 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.002e-05/0.3231, allocations: 107.8 kB / 0.5082 GB, free: 20.77 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.149e-05/0.3231, allocations: 188.1 kB / 0.5084 GB, free: 20.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.261e-05/0.3232, allocations: 108.2 kB / 0.5085 GB, free: 20.46 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.414e-05/0.3232, allocations: 176.3 kB / 0.5087 GB, free: 20.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.401e-05/0.3232, allocations: 108.3 kB / 0.5088 GB, free: 20.18 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.159e-05/0.3232, allocations: 75.28 kB / 0.5089 GB, free: 20.1 MB / 446.1 MB Notification: Performance of sort global known variables: time 5e-08/0.3232, allocations: 0 / 0.5089 GB, free: 20.1 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004945/0.3237, allocations: 150.2 kB / 0.509 GB, free: 20.07 MB / 446.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.000564/0.3243, allocations: 357.1 kB / 0.5094 GB, free: 19.84 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 4.391e-05/0.3243, allocations: 0 / 0.5094 GB, free: 19.84 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.3243, allocations: 4 kB / 0.5094 GB, free: 19.84 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.043e-06/0.3243, allocations: 2.719 kB / 0.5094 GB, free: 19.84 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002323/0.3245, allocations: 462.2 kB / 0.5098 GB, free: 19.39 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001034/0.3246, allocations: 149.6 kB / 0.5099 GB, free: 19.22 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.396e-05/0.3247, allocations: 54.39 kB / 0.51 GB, free: 19.15 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.663e-06/0.3247, allocations: 0 / 0.51 GB, free: 19.15 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.043e-05/0.3247, allocations: 11.62 kB / 0.51 GB, free: 19.14 MB / 446.1 MB Notification: Performance of SimCode: time 3.7e-07/0.3247, allocations: 0 / 0.51 GB, free: 19.14 MB / 446.1 MB Notification: Performance of Templates: time 0.006533/0.3312, allocations: 3.451 MB / 0.5134 GB, free: 18.91 MB / 446.1 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.083384367986582]