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.001186/0.001186, allocations: 109.3 kB / 18.45 MB, free: 4.578 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.001204/0.001204, allocations: 179 kB / 19.38 MB, free: 3.664 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.252/1.252, allocations: 222.9 MB / 243.1 MB, free: 15.05 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.1902/0.1902, allocations: 44.19 MB / 337.4 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001165/0.001165, allocations: 63.91 kB / 471.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3007/0.3019, allocations: 60.83 MB / 0.5195 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001354/0.3033, allocations: 0.4961 MB / 0.52 GB, free: 3.297 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002337/0.3057, allocations: 1.982 MB / 0.522 GB, free: 1.898 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.089e-06/0.3057, allocations: 1.469 kB / 0.522 GB, free: 1.898 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.156e-06/0.3057, allocations: 0 / 0.522 GB, free: 1.898 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 1.072e-06/0.3057, allocations: 0 / 0.522 GB, free: 1.898 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.001487/0.3072, allocations: 0.5179 MB / 0.5225 GB, free: 1.711 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 1.271e-05/0.3072, allocations: 0 / 0.5225 GB, free: 1.711 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.563e-05/0.3073, allocations: 2.266 kB / 0.5225 GB, free: 1.711 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.316e-06/0.3073, allocations: 0 / 0.5225 GB, free: 1.711 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.065e-05/0.3073, allocations: 4.922 kB / 0.5225 GB, free: 1.707 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.258e-06/0.3073, allocations: 0 / 0.5225 GB, free: 1.707 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001221/0.3085, allocations: 0.8796 MB / 0.5233 GB, free: 1.473 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.512e-06/0.3085, allocations: 4.641 kB / 0.5233 GB, free: 1.469 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.335e-05/0.3086, allocations: 0 / 0.5233 GB, free: 1.469 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009665/0.3095, allocations: 0.7832 MB / 0.5241 GB, free: 1.328 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3095, allocations: 0 / 0.5241 GB, free: 1.328 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.3096, allocations: 1.969 kB / 0.5241 GB, free: 1.328 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.757e-06/0.3096, allocations: 0.5156 kB / 0.5241 GB, free: 1.328 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.0002831/0.3099, allocations: 374.8 kB / 0.5245 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.3099, allocations: 9.219 kB / 0.5245 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.633e-05/0.3099, allocations: 81.72 kB / 0.5246 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.619e-05/0.31, allocations: 239.7 kB / 0.5248 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.054e-05/0.31, allocations: 154.9 kB / 0.5249 GB, free: 444 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.562e-05/0.31, allocations: 152.7 kB / 0.5251 GB, free: 292 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.143e-05/0.3101, allocations: 105.3 kB / 0.5252 GB, free: 180 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.3101, allocations: 75.28 kB / 0.5252 GB, free: 104 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.9e-05/0.3102, allocations: 151.8 kB / 0.5254 GB, free: 15.95 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-05/0.3102, allocations: 154.5 kB / 0.5255 GB, free: 15.8 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.766e-05/0.3103, allocations: 158.5 kB / 0.5257 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000225/0.3105, allocations: 447.6 kB / 0.5261 GB, free: 15.16 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.211e-05/0.3106, allocations: 166.6 kB / 0.5263 GB, free: 14.99 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.116e-05/0.3106, allocations: 80.14 kB / 0.5264 GB, free: 14.91 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.483e-05/0.3106, allocations: 79.28 kB / 0.5264 GB, free: 14.83 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.549e-05/0.3107, allocations: 119.2 kB / 0.5265 GB, free: 14.7 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 8.11e-07/0.3107, allocations: 0 / 0.5265 GB, free: 14.7 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 6.813e-05/0.3108, allocations: 27.33 kB / 0.5266 GB, free: 14.67 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.09e-05/0.3108, allocations: 152.4 kB / 0.5267 GB, free: 14.5 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.24e-05/0.3109, allocations: 89.86 kB / 0.5268 GB, free: 14.41 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.325e-05/0.3109, allocations: 31.09 kB / 0.5268 GB, free: 14.37 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.299e-05/0.3109, allocations: 84.14 kB / 0.5269 GB, free: 14.29 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.583e-06/0.3109, allocations: 0 / 0.5269 GB, free: 14.29 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.139e-05/0.311, allocations: 11.19 kB / 0.5269 GB, free: 14.27 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 8.993e-05/0.311, allocations: 312.5 kB / 0.5272 GB, free: 13.96 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.438e-06/0.3111, allocations: 0 / 0.5272 GB, free: 13.96 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.484e-05/0.3111, allocations: 0 / 0.5272 GB, free: 13.96 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.48e-05/0.3111, allocations: 80.62 kB / 0.5273 GB, free: 13.88 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-05/0.3111, allocations: 79.25 kB / 0.5274 GB, free: 13.8 MB / 398.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.798e-05/0.3112, allocations: 36.58 kB / 0.5274 GB, free: 13.76 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.554e-05/0.3112, allocations: 84.34 kB / 0.5275 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.08e-05/0.3113, allocations: 75.28 kB / 0.5276 GB, free: 13.61 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.356e-05/0.3113, allocations: 160 kB / 0.5277 GB, free: 13.45 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.257e-05/0.3113, allocations: 80.55 kB / 0.5278 GB, free: 13.38 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.811e-05/0.3114, allocations: 156.1 kB / 0.5279 GB, free: 13.22 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.695e-05/0.3115, allocations: 83.33 kB / 0.528 GB, free: 13.14 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.013e-05/0.3115, allocations: 76.72 kB / 0.5281 GB, free: 13.07 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 9.422e-05/0.3116, allocations: 261.7 kB / 0.5283 GB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.243e-05/0.3117, allocations: 110.5 kB / 0.5284 GB, free: 12.69 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.846e-05/0.3117, allocations: 109.8 kB / 0.5286 GB, free: 12.57 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-05/0.3118, allocations: 184.2 kB / 0.5287 GB, free: 12.39 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.911e-05/0.3118, allocations: 177.5 kB / 0.5289 GB, free: 12.21 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-05/0.3119, allocations: 177.7 kB / 0.5291 GB, free: 12.03 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001831/0.3121, allocations: 410.6 kB / 0.5295 GB, free: 11.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-05/0.3121, allocations: 101 kB / 0.5296 GB, free: 11.46 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.871e-05/0.3121, allocations: 106.4 kB / 0.5297 GB, free: 11.36 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.06e-05/0.3122, allocations: 184.2 kB / 0.5298 GB, free: 11.17 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.067e-05/0.3122, allocations: 177.6 kB / 0.53 GB, free: 10.99 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.984e-05/0.3123, allocations: 189.6 kB / 0.5302 GB, free: 10.8 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.907e-05/0.3123, allocations: 177.5 kB / 0.5303 GB, free: 10.62 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001068/0.3125, allocations: 303.2 kB / 0.5306 GB, free: 10.3 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.432e-05/0.3125, allocations: 195.2 kB / 0.5308 GB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.147e-05/0.3126, allocations: 189.3 kB / 0.531 GB, free: 9.895 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.651e-05/0.3127, allocations: 102.3 kB / 0.5311 GB, free: 9.789 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.334e-05/0.3127, allocations: 181.5 kB / 0.5313 GB, free: 9.605 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.108e-05/0.3128, allocations: 101 kB / 0.5314 GB, free: 9.5 MB / 398.1 MB Notification: Performance of sorting global known variables: time 2.286e-05/0.3128, allocations: 81.5 kB / 0.5314 GB, free: 9.422 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3128, allocations: 0 / 0.5314 GB, free: 9.422 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000685/0.3135, allocations: 150.5 kB / 0.5316 GB, free: 9.387 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.0006498/0.3141, allocations: 333.6 kB / 0.5319 GB, free: 9.152 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 4.901e-05/0.3142, allocations: 5.312 kB / 0.5319 GB, free: 9.148 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.3142, allocations: 0 / 0.5319 GB, free: 9.148 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 1.573e-06/0.3142, allocations: 1.375 kB / 0.5319 GB, free: 9.148 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000304/0.3145, allocations: 457 kB / 0.5324 GB, free: 8.699 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001369/0.3147, allocations: 178.2 kB / 0.5325 GB, free: 8.496 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002075/0.3149, allocations: 0.6727 MB / 0.5332 GB, free: 7.797 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.209e-05/0.3149, allocations: 8.812 kB / 0.5332 GB, free: 7.789 MB / 398.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3149, allocations: 0 / 0.5332 GB, free: 7.789 MB / 398.1 MB Notification: Performance of Templates: time 0.005251/0.3202, allocations: 2.914 MB / 0.536 GB, free: 6.332 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestMatricesExamplesSolveLinearEquations/TestMatricesExamplesSolveLinearEquations.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches