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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001282/0.001288, allocations: 114.4 kB / 17.78 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001469/0.001469, allocations: 187 kB / 18.71 MB, free: 4.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.263/1.263, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1962/0.1962, allocations: 44.19 MB / 336.7 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 71.83 kB / 470.5 MB, free: 13.19 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3991/0.4003, allocations: 60.81 MB / 0.5189 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001534/0.4019, allocations: 0.4961 MB / 0.5194 GB, free: 3.312 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002462/0.4044, allocations: 1.973 MB / 0.5213 GB, free: 1.922 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.028e-06/0.4044, allocations: 1.031 kB / 0.5213 GB, free: 1.922 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.188e-06/0.4045, allocations: 0 / 0.5213 GB, free: 1.922 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 1.022e-06/0.4045, allocations: 4 kB / 0.5213 GB, free: 1.918 MB / 382.1 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.001505/0.406, allocations: 0.519 MB / 0.5218 GB, free: 1.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 1.905e-05/0.406, allocations: 0 / 0.5218 GB, free: 1.73 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.831e-05/0.406, allocations: 2.125 kB / 0.5218 GB, free: 1.73 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.107e-06/0.406, allocations: 3.984 kB / 0.5218 GB, free: 1.727 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.228e-06/0.4061, allocations: 0 / 0.5218 GB, free: 1.727 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.897e-06/0.4061, allocations: 0 / 0.5218 GB, free: 1.727 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001277/0.4073, allocations: 0.8835 MB / 0.5227 GB, free: 1.488 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.673e-06/0.4074, allocations: 3.938 kB / 0.5227 GB, free: 1.484 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.155e-05/0.4074, allocations: 4 kB / 0.5227 GB, free: 1.48 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00102/0.4084, allocations: 0.7811 MB / 0.5234 GB, free: 1.344 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.4084, allocations: 0 / 0.5234 GB, free: 1.344 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.4084, allocations: 0 / 0.5234 GB, free: 1.344 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.66e-06/0.4084, allocations: 0 / 0.5234 GB, free: 1.344 MB / 382.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.0002979/0.4087, allocations: 377.2 kB / 0.5238 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.4088, allocations: 10.45 kB / 0.5238 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.475e-05/0.4088, allocations: 76.22 kB / 0.5239 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.028e-05/0.4089, allocations: 237 kB / 0.5241 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.451e-05/0.4089, allocations: 156.2 kB / 0.5243 GB, free: 468 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.047e-05/0.4089, allocations: 150.9 kB / 0.5244 GB, free: 316 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.713e-05/0.409, allocations: 114.8 kB / 0.5245 GB, free: 196 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.409, allocations: 75.28 kB / 0.5246 GB, free: 120 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.194e-05/0.4091, allocations: 152.2 kB / 0.5247 GB, free: 15.97 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.517e-05/0.4091, allocations: 154.6 kB / 0.5249 GB, free: 15.82 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.696e-05/0.4092, allocations: 152 kB / 0.525 GB, free: 15.67 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002616/0.4094, allocations: 439.5 kB / 0.5254 GB, free: 15.19 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.638e-05/0.4095, allocations: 175.9 kB / 0.5256 GB, free: 15.01 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.028e-05/0.4096, allocations: 84.14 kB / 0.5257 GB, free: 14.93 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.711e-05/0.4096, allocations: 76.34 kB / 0.5258 GB, free: 14.85 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.809e-05/0.4097, allocations: 110.7 kB / 0.5259 GB, free: 14.73 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 7.11e-07/0.4097, allocations: 0 / 0.5259 GB, free: 14.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 6.542e-05/0.4097, allocations: 28.14 kB / 0.5259 GB, free: 14.7 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.157e-05/0.4098, allocations: 152.9 kB / 0.526 GB, free: 14.54 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.332e-05/0.4099, allocations: 89.86 kB / 0.5261 GB, free: 14.44 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.264e-05/0.4099, allocations: 31.86 kB / 0.5262 GB, free: 14.4 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.457e-05/0.4099, allocations: 84.14 kB / 0.5262 GB, free: 14.32 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.142e-06/0.4099, allocations: 0 / 0.5262 GB, free: 14.32 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.327e-05/0.41, allocations: 12.12 kB / 0.5262 GB, free: 14.3 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001033/0.4101, allocations: 316.3 kB / 0.5265 GB, free: 13.98 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.666e-06/0.4101, allocations: 0 / 0.5265 GB, free: 13.98 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.685e-05/0.4101, allocations: 0.6562 kB / 0.5265 GB, free: 13.98 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.85e-05/0.4101, allocations: 76.78 kB / 0.5266 GB, free: 13.91 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.347e-05/0.4102, allocations: 83.25 kB / 0.5267 GB, free: 13.83 MB / 398.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.774e-05/0.4102, allocations: 29.38 kB / 0.5267 GB, free: 13.8 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.585e-05/0.4103, allocations: 84.33 kB / 0.5268 GB, free: 13.72 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.698e-05/0.4103, allocations: 81.39 kB / 0.5269 GB, free: 13.64 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.975e-05/0.4104, allocations: 151.5 kB / 0.527 GB, free: 13.49 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.371e-05/0.4104, allocations: 80.86 kB / 0.5271 GB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.346e-05/0.4104, allocations: 160.5 kB / 0.5273 GB, free: 13.26 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.757e-05/0.4105, allocations: 83.94 kB / 0.5273 GB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.337e-05/0.4106, allocations: 85.19 kB / 0.5274 GB, free: 13.09 MB / 398.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 0.0001129/0.4107, allocations: 258.7 kB / 0.5277 GB, free: 12.83 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.428e-05/0.4107, allocations: 107 kB / 0.5278 GB, free: 12.72 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.621e-05/0.4108, allocations: 113.7 kB / 0.5279 GB, free: 12.61 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.367e-05/0.4109, allocations: 186.2 kB / 0.5281 GB, free: 12.42 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.157e-05/0.4109, allocations: 177.5 kB / 0.5282 GB, free: 12.24 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.181e-05/0.411, allocations: 186.3 kB / 0.5284 GB, free: 12.05 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002257/0.4112, allocations: 396.2 kB / 0.5288 GB, free: 11.61 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.509e-05/0.4113, allocations: 103.8 kB / 0.5289 GB, free: 11.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.601e-05/0.4113, allocations: 108.9 kB / 0.529 GB, free: 11.39 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.248e-05/0.4114, allocations: 186.6 kB / 0.5292 GB, free: 11.2 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.618e-05/0.4115, allocations: 182 kB / 0.5293 GB, free: 11.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.335e-05/0.4116, allocations: 178.4 kB / 0.5295 GB, free: 10.84 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.483e-05/0.4116, allocations: 181.7 kB / 0.5297 GB, free: 10.66 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000132/0.4118, allocations: 305.8 kB / 0.53 GB, free: 10.34 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.28e-05/0.4118, allocations: 190 kB / 0.5302 GB, free: 10.13 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.983e-05/0.4119, allocations: 181.7 kB / 0.5303 GB, free: 9.945 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.906e-05/0.412, allocations: 102.5 kB / 0.5304 GB, free: 9.84 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.087e-05/0.4121, allocations: 185.6 kB / 0.5306 GB, free: 9.652 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-05/0.4121, allocations: 106.4 kB / 0.5307 GB, free: 9.543 MB / 398.1 MB Notification: Performance of sorting global known variables: time 2.857e-05/0.4121, allocations: 75.28 kB / 0.5308 GB, free: 9.469 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4121, allocations: 0 / 0.5308 GB, free: 9.469 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007435/0.4129, allocations: 150.3 kB / 0.5309 GB, free: 9.434 MB / 398.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.0006829/0.4136, allocations: 338.4 kB / 0.5312 GB, free: 9.199 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 4.518e-05/0.4136, allocations: 3.938 kB / 0.5312 GB, free: 9.195 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4136, allocations: 1.375 kB / 0.5312 GB, free: 9.195 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.306e-06/0.4137, allocations: 7.938 kB / 0.5313 GB, free: 9.188 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000325/0.414, allocations: 462.4 kB / 0.5317 GB, free: 8.734 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001468/0.4141, allocations: 144.5 kB / 0.5318 GB, free: 8.57 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002508/0.4144, allocations: 0.6727 MB / 0.5325 GB, free: 7.871 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.498e-06/0.4144, allocations: 5.359 kB / 0.5325 GB, free: 7.867 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.151e-05/0.4144, allocations: 8.812 kB / 0.5325 GB, free: 7.859 MB / 398.1 MB Notification: Performance of SimCode: time 1.91e-07/0.4144, allocations: 0 / 0.5325 GB, free: 7.859 MB / 398.1 MB Notification: Performance of Templates: time 0.006897/0.4213, allocations: 3.394 MB / 0.5358 GB, free: 6.113 MB / 398.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches