Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") translateModel(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.271/1.271, allocations: 222.9 MB / 241.6 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009501/0.0009501, allocations: 102.1 kB / 291.9 MB, free: 10.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.347/0.347, allocations: 44.13 MB / 386.1 MB, free: 38.01 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001034/0.001034, allocations: 51.92 kB / 457.7 MB, free: 2.309 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3114/0.3125, allocations: 60.8 MB / 0.5064 GB, free: 38.3 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001686/0.3142, allocations: 0.5516 MB / 0.5069 GB, free: 37.97 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002626/0.3169, allocations: 1.989 MB / 0.5089 GB, free: 36.58 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.667e-06/0.3169, allocations: 4 kB / 0.5089 GB, free: 36.57 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 4.659e-06/0.3169, allocations: 0 / 0.5089 GB, free: 36.57 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 1.493e-06/0.3169, allocations: 0 / 0.5089 GB, free: 36.57 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/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.001337/0.3183, allocations: 469.7 kB / 0.5093 GB, free: 36.42 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 1.325e-05/0.3183, allocations: 0 / 0.5093 GB, free: 36.42 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.157e-05/0.3183, allocations: 3.562 kB / 0.5093 GB, free: 36.42 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.256e-06/0.3183, allocations: 0 / 0.5093 GB, free: 36.42 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.002e-05/0.3183, allocations: 3.938 kB / 0.5093 GB, free: 36.41 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.098e-06/0.3184, allocations: 0 / 0.5093 GB, free: 36.41 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001077/0.3194, allocations: 0.8743 MB / 0.5102 GB, free: 36.17 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.375e-06/0.3195, allocations: 0 / 0.5102 GB, free: 36.17 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 1.178e-05/0.3195, allocations: 2.531 kB / 0.5102 GB, free: 36.17 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008269/0.3203, allocations: 0.7775 MB / 0.5109 GB, free: 36.04 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.3203, allocations: 0 / 0.5109 GB, free: 36.04 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3203, allocations: 0 / 0.5109 GB, free: 36.04 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.3203, allocations: 2.844 kB / 0.5109 GB, free: 36.04 MB / 378.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.0003319/0.3207, allocations: 390.7 kB / 0.5113 GB, free: 35.64 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.3207, allocations: 7.969 kB / 0.5113 GB, free: 35.64 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.206e-05/0.3208, allocations: 79 kB / 0.5114 GB, free: 35.56 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.34e-05/0.3209, allocations: 235.7 kB / 0.5116 GB, free: 35.29 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.435e-05/0.3209, allocations: 154.9 kB / 0.5118 GB, free: 35.14 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.394e-05/0.3209, allocations: 150.9 kB / 0.5119 GB, free: 34.99 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.809e-05/0.321, allocations: 109.3 kB / 0.512 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.321, allocations: 79.28 kB / 0.5121 GB, free: 34.8 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.405e-05/0.3211, allocations: 153.1 kB / 0.5122 GB, free: 34.65 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.481e-05/0.3211, allocations: 150.6 kB / 0.5124 GB, free: 34.5 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.847e-05/0.3211, allocations: 158.5 kB / 0.5125 GB, free: 34.35 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001781/0.3213, allocations: 441.2 kB / 0.513 GB, free: 33.87 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.534e-05/0.3214, allocations: 175.8 kB / 0.5131 GB, free: 33.69 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.974e-05/0.3214, allocations: 80.14 kB / 0.5132 GB, free: 33.61 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.52e-05/0.3214, allocations: 79.27 kB / 0.5133 GB, free: 33.53 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.969e-05/0.3215, allocations: 116.7 kB / 0.5134 GB, free: 33.41 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.3215, allocations: 0 / 0.5134 GB, free: 33.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 7.039e-05/0.3215, allocations: 29.7 kB / 0.5134 GB, free: 33.38 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.759e-05/0.3216, allocations: 152.4 kB / 0.5136 GB, free: 33.21 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.835e-05/0.3216, allocations: 93.14 kB / 0.5136 GB, free: 33.11 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.524e-06/0.3216, allocations: 25.7 kB / 0.5137 GB, free: 33.08 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.741e-05/0.3217, allocations: 86.73 kB / 0.5138 GB, free: 32.99 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.744e-06/0.3217, allocations: 0 / 0.5138 GB, free: 32.99 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.766e-05/0.3217, allocations: 9.719 kB / 0.5138 GB, free: 32.98 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.694e-05/0.3218, allocations: 317.9 kB / 0.5141 GB, free: 32.66 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.841e-06/0.3218, allocations: 0 / 0.5141 GB, free: 32.66 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.008e-05/0.3218, allocations: 0 / 0.5141 GB, free: 32.66 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.412e-05/0.3218, allocations: 79.22 kB / 0.5141 GB, free: 32.58 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.086e-05/0.3218, allocations: 75.28 kB / 0.5142 GB, free: 32.51 MB / 378.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.379e-05/0.3219, allocations: 32.3 kB / 0.5142 GB, free: 32.47 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.555e-05/0.3219, allocations: 87.7 kB / 0.5143 GB, free: 32.39 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.349e-05/0.3219, allocations: 75.28 kB / 0.5144 GB, free: 32.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.372e-05/0.322, allocations: 161.3 kB / 0.5146 GB, free: 32.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.177e-05/0.322, allocations: 75.28 kB / 0.5146 GB, free: 32.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.11e-05/0.322, allocations: 154.6 kB / 0.5148 GB, free: 31.94 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.012e-05/0.3221, allocations: 85.94 kB / 0.5149 GB, free: 31.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.152e-05/0.3221, allocations: 75.28 kB / 0.5149 GB, free: 31.78 MB / 378.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 7.049e-05/0.3222, allocations: 267 kB / 0.5152 GB, free: 31.52 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.922e-05/0.3222, allocations: 108.9 kB / 0.5153 GB, free: 31.4 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.895e-05/0.3223, allocations: 110.7 kB / 0.5154 GB, free: 31.29 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.927e-05/0.3223, allocations: 176.3 kB / 0.5156 GB, free: 31.11 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.13e-05/0.3223, allocations: 183.5 kB / 0.5157 GB, free: 30.93 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.521e-05/0.3224, allocations: 182.9 kB / 0.5159 GB, free: 30.74 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001324/0.3225, allocations: 405.2 kB / 0.5163 GB, free: 30.29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.81e-05/0.3225, allocations: 106.8 kB / 0.5164 GB, free: 30.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.714e-05/0.3225, allocations: 105 kB / 0.5165 GB, free: 30.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.491e-05/0.3226, allocations: 184.1 kB / 0.5167 GB, free: 29.89 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.788e-05/0.3226, allocations: 179 kB / 0.5168 GB, free: 29.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.599e-05/0.3226, allocations: 183.5 kB / 0.517 GB, free: 29.52 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-05/0.3227, allocations: 180.6 kB / 0.5172 GB, free: 29.34 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001961/0.3229, allocations: 0.849 MB / 0.518 GB, free: 28.44 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.749e-05/0.3229, allocations: 178.1 kB / 0.5182 GB, free: 28.24 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.474e-05/0.323, allocations: 190.2 kB / 0.5184 GB, free: 28.05 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.678e-05/0.323, allocations: 104.9 kB / 0.5185 GB, free: 27.94 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.751e-05/0.3231, allocations: 182.8 kB / 0.5186 GB, free: 27.76 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.499e-05/0.3231, allocations: 108.9 kB / 0.5187 GB, free: 27.64 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.067e-05/0.3231, allocations: 75.28 kB / 0.5188 GB, free: 27.57 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3231, allocations: 0 / 0.5188 GB, free: 27.57 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000657/0.3238, allocations: 147 kB / 0.519 GB, free: 27.55 MB / 378.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.0006569/0.3244, allocations: 342.5 kB / 0.5193 GB, free: 27.33 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 4.809e-05/0.3245, allocations: 7.938 kB / 0.5193 GB, free: 27.32 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.3245, allocations: 2.562 kB / 0.5193 GB, free: 27.32 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.263e-06/0.3245, allocations: 0 / 0.5193 GB, free: 27.32 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002572/0.3248, allocations: 0.5171 MB / 0.5198 GB, free: 26.8 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001425/0.3249, allocations: 155 kB / 0.52 GB, free: 26.63 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001503/0.3251, allocations: 0.6731 MB / 0.5206 GB, free: 25.93 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 1.17e-05/0.3251, allocations: 2.594 kB / 0.5206 GB, free: 25.93 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.117e-06/0.3251, allocations: 7.438 kB / 0.5206 GB, free: 25.93 MB / 378.7 MB Notification: Performance of SimCode: time 1.8e-07/0.3251, allocations: 0 / 0.5206 GB, free: 25.93 MB / 378.7 MB Notification: Performance of Templates: time 0.00651/0.3317, allocations: 3.386 MB / 0.5239 GB, free: 25.71 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestMatricesExamplesSolveLinearEquations/TestMatricesExamplesSolveLinearEquations.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches