Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009103/0.0009103, allocations: 174.2 kB / 17.41 MB, free: 4.414 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 225.7 MB / 243.9 MB, free: 8.445 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008672/0.0008676, allocations: 88.2 kB / 295 MB, free: 9.5 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3169/0.3169, allocations: 44.31 MB / 390.5 MB, free: 38.02 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003051/0.0003052, allocations: 8 kB / 463.1 MB, free: 484 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3144/0.3147, allocations: 61.89 MB / 0.5127 GB, free: 37.94 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.0005492/0.3153, allocations: 221.7 kB / 0.5129 GB, free: 37.79 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002334/0.3176, allocations: 2.527 MB / 0.5154 GB, free: 35.7 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.649e-06/0.3177, allocations: 3 kB / 0.5154 GB, free: 35.7 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 4.429e-06/0.3177, allocations: 0 / 0.5154 GB, free: 35.7 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 2.114e-06/0.3177, allocations: 0 / 0.5154 GB, free: 35.7 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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.001471/0.3192, allocations: 474.1 kB / 0.5159 GB, free: 35.54 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 1.541e-05/0.3192, allocations: 0 / 0.5159 GB, free: 35.54 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.448e-05/0.3192, allocations: 2.688 kB / 0.5159 GB, free: 35.54 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.144e-05/0.3192, allocations: 0 / 0.5159 GB, free: 35.54 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.472e-05/0.3193, allocations: 7.875 kB / 0.5159 GB, free: 35.53 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.61e-06/0.3193, allocations: 0 / 0.5159 GB, free: 35.53 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001134/0.3204, allocations: 0.8353 MB / 0.5167 GB, free: 35.32 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.382e-06/0.3204, allocations: 0 / 0.5167 GB, free: 35.32 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.749e-05/0.3205, allocations: 28.67 kB / 0.5167 GB, free: 35.29 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008709/0.3213, allocations: 0.7817 MB / 0.5175 GB, free: 35.15 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.3214, allocations: 3.938 kB / 0.5175 GB, free: 35.15 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.3214, allocations: 0 / 0.5175 GB, free: 35.15 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.3214, allocations: 1.625 kB / 0.5175 GB, free: 35.15 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.0002776/0.3217, allocations: 373.1 kB / 0.5178 GB, free: 34.76 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/0.3217, allocations: 8.812 kB / 0.5178 GB, free: 34.76 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.287e-05/0.3218, allocations: 77.28 kB / 0.5179 GB, free: 34.68 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.629e-05/0.3218, allocations: 238.9 kB / 0.5182 GB, free: 34.41 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.616e-05/0.3219, allocations: 156.1 kB / 0.5183 GB, free: 34.26 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.774e-05/0.3219, allocations: 150.9 kB / 0.5184 GB, free: 34.11 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.122e-05/0.322, allocations: 110.5 kB / 0.5185 GB, free: 34 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.322, allocations: 75.28 kB / 0.5186 GB, free: 33.93 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.821e-05/0.322, allocations: 151.8 kB / 0.5188 GB, free: 33.78 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.298e-05/0.322, allocations: 150.6 kB / 0.5189 GB, free: 33.63 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.332e-05/0.3221, allocations: 159.9 kB / 0.5191 GB, free: 33.47 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001652/0.3222, allocations: 445.3 kB / 0.5195 GB, free: 32.99 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.748e-05/0.3223, allocations: 170.4 kB / 0.5196 GB, free: 32.82 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.694e-05/0.3223, allocations: 80.14 kB / 0.5197 GB, free: 32.73 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.072e-05/0.3223, allocations: 80.34 kB / 0.5198 GB, free: 32.66 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.697e-05/0.3224, allocations: 114.7 kB / 0.5199 GB, free: 32.54 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 8.12e-07/0.3224, allocations: 0 / 0.5199 GB, free: 32.54 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 5.69e-05/0.3224, allocations: 26.83 kB / 0.5199 GB, free: 32.5 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.739e-05/0.3225, allocations: 153.4 kB / 0.5201 GB, free: 32.34 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.701e-05/0.3225, allocations: 89.86 kB / 0.5202 GB, free: 32.24 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.941e-06/0.3225, allocations: 25.7 kB / 0.5202 GB, free: 32.21 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.599e-05/0.3225, allocations: 89.3 kB / 0.5203 GB, free: 32.12 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.403e-06/0.3225, allocations: 0 / 0.5203 GB, free: 32.12 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.1e-07/0.3225, allocations: 0 / 0.5203 GB, free: 32.12 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.061e-05/0.3226, allocations: 315.9 kB / 0.5206 GB, free: 31.8 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.946e-06/0.3226, allocations: 0 / 0.5206 GB, free: 31.8 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.842e-05/0.3226, allocations: 1.156 kB / 0.5206 GB, free: 31.8 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.438e-05/0.3226, allocations: 75.28 kB / 0.5207 GB, free: 31.73 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-05/0.3227, allocations: 76.5 kB / 0.5207 GB, free: 31.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.122e-05/0.3227, allocations: 35.95 kB / 0.5208 GB, free: 31.62 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.3227, allocations: 83.59 kB / 0.5208 GB, free: 31.54 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.27e-05/0.3227, allocations: 76.25 kB / 0.5209 GB, free: 31.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.546e-05/0.3228, allocations: 155.6 kB / 0.5211 GB, free: 31.31 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.118e-05/0.3228, allocations: 76.41 kB / 0.5211 GB, free: 31.24 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.453e-05/0.3228, allocations: 163.1 kB / 0.5213 GB, free: 31.08 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.808e-05/0.3229, allocations: 84.47 kB / 0.5214 GB, free: 31 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.3229, allocations: 75.28 kB / 0.5214 GB, free: 30.93 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 6.068e-05/0.323, allocations: 258.6 kB / 0.5217 GB, free: 30.66 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.751e-05/0.323, allocations: 113.9 kB / 0.5218 GB, free: 30.55 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.529e-05/0.3231, allocations: 108.7 kB / 0.5219 GB, free: 30.44 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.463e-05/0.3231, allocations: 185.2 kB / 0.5221 GB, free: 30.25 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.45e-05/0.3231, allocations: 181.5 kB / 0.5223 GB, free: 30.07 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.396e-05/0.3232, allocations: 177.4 kB / 0.5224 GB, free: 29.89 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001231/0.3233, allocations: 405.7 kB / 0.5228 GB, free: 29.44 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.43e-05/0.3233, allocations: 102.1 kB / 0.5229 GB, free: 29.33 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.331e-05/0.3233, allocations: 104.9 kB / 0.523 GB, free: 29.22 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.111e-05/0.3234, allocations: 189.2 kB / 0.5232 GB, free: 29.03 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.461e-05/0.3234, allocations: 184.9 kB / 0.5234 GB, free: 28.85 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.173e-05/0.3234, allocations: 181.4 kB / 0.5235 GB, free: 28.66 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.145e-05/0.3234, allocations: 177.6 kB / 0.5237 GB, free: 28.48 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.918e-05/0.3235, allocations: 314.4 kB / 0.524 GB, free: 28.16 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.512e-05/0.3235, allocations: 179.1 kB / 0.5242 GB, free: 27.96 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.187e-05/0.3236, allocations: 186.2 kB / 0.5244 GB, free: 27.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.601e-05/0.3236, allocations: 102 kB / 0.5244 GB, free: 27.67 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.808e-05/0.3237, allocations: 188.5 kB / 0.5246 GB, free: 27.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.299e-05/0.3237, allocations: 106 kB / 0.5247 GB, free: 27.37 MB / 378.7 MB Notification: Performance of sorting global known variables: time 1.594e-05/0.3237, allocations: 79.28 kB / 0.5248 GB, free: 27.29 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3237, allocations: 0 / 0.5248 GB, free: 27.29 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005937/0.3243, allocations: 145.4 kB / 0.5249 GB, free: 27.27 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.0006505/0.325, allocations: 352.2 kB / 0.5253 GB, free: 27.05 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 4.074e-05/0.325, allocations: 2 kB / 0.5253 GB, free: 27.05 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.325, allocations: 0 / 0.5253 GB, free: 27.05 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.543e-06/0.325, allocations: 5 kB / 0.5253 GB, free: 27.05 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002418/0.3253, allocations: 0.5244 MB / 0.5258 GB, free: 26.52 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001037/0.3254, allocations: 148.8 kB / 0.5259 GB, free: 26.35 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.732e-05/0.3255, allocations: 0.6692 MB / 0.5266 GB, free: 25.66 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.766e-06/0.3255, allocations: 6.281 kB / 0.5266 GB, free: 25.66 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.626e-06/0.3255, allocations: 7.438 kB / 0.5266 GB, free: 25.65 MB / 378.7 MB Notification: Performance of SimCode: time 1.6e-07/0.3255, allocations: 0 / 0.5266 GB, free: 25.65 MB / 378.7 MB Notification: Performance of Templates: time 0.005668/0.3312, allocations: 3.382 MB / 0.5299 GB, free: 25.43 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/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