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.001063/0.001063, allocations: 98.12 kB / 18.01 MB, free: 5.602 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.001412/0.001412, allocations: 182.4 kB / 18.91 MB, free: 4.738 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.4/1.4, allocations: 223.3 MB / 242.9 MB, free: 172 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1993/0.1993, allocations: 44.26 MB / 338.3 MB, free: 2.629 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003107/0.0003107, allocations: 8 kB / 411 MB, free: 27.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.101, allocations: 61.92 MB / 472.9 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.0005311/0.1016, allocations: 221.3 kB / 473.1 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002666/0.1042, allocations: 1.965 MB / 475.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.03e-06/0.1043, allocations: 0 / 475.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.048e-06/0.1043, allocations: 0 / 475.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.72e-07/0.1043, allocations: 0 / 475.1 MB, free: 11.12 MB / 350.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.001479/0.1058, allocations: 478 kB / 475.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 1.391e-05/0.1058, allocations: 3.938 kB / 475.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.72e-05/0.1058, allocations: 0 / 475.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.077e-06/0.1058, allocations: 3.984 kB / 475.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.226e-05/0.1059, allocations: 0 / 475.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.007e-06/0.1059, allocations: 0 / 475.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001215/0.1071, allocations: 0.8732 MB / 476.4 MB, free: 9.781 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.302e-06/0.1071, allocations: 0 / 476.4 MB, free: 9.781 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.233e-05/0.1071, allocations: 29.7 kB / 476.5 MB, free: 9.746 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006556/0.1078, allocations: 0.5459 MB / 477 MB, free: 9.199 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.1078, allocations: 0 / 477 MB, free: 9.199 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1078, allocations: 0 / 477 MB, free: 9.199 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.977e-06/0.1078, allocations: 0 / 477 MB, free: 9.199 MB / 350.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.0003924/0.1082, allocations: 375.5 kB / 477.4 MB, free: 8.785 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.1083, allocations: 15.91 kB / 477.4 MB, free: 8.77 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.797e-05/0.1083, allocations: 76.22 kB / 477.5 MB, free: 8.695 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.059e-05/0.1084, allocations: 235.7 kB / 477.7 MB, free: 8.426 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.999e-05/0.1085, allocations: 158.9 kB / 477.8 MB, free: 8.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.742e-05/0.1085, allocations: 154.9 kB / 478 MB, free: 8.117 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.712e-05/0.1086, allocations: 105.3 kB / 478.1 MB, free: 8.008 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.358e-05/0.1086, allocations: 79.27 kB / 478.2 MB, free: 7.93 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.081e-05/0.1087, allocations: 150.6 kB / 478.3 MB, free: 7.781 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.431e-05/0.1087, allocations: 154.6 kB / 478.5 MB, free: 7.629 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.533e-05/0.1088, allocations: 154.5 kB / 478.6 MB, free: 7.477 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002417/0.109, allocations: 446 kB / 479.1 MB, free: 6.992 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.233e-05/0.1091, allocations: 165.1 kB / 479.2 MB, free: 6.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.919e-05/0.1092, allocations: 84.14 kB / 479.3 MB, free: 6.734 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.607e-05/0.1092, allocations: 75.28 kB / 479.4 MB, free: 6.66 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.98e-05/0.1092, allocations: 109.8 kB / 479.5 MB, free: 6.543 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 2.124e-06/0.1092, allocations: 0 / 479.5 MB, free: 6.543 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 6.476e-05/0.1093, allocations: 33.64 kB / 479.5 MB, free: 6.504 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.64e-05/0.1094, allocations: 156.4 kB / 479.7 MB, free: 6.332 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.945e-05/0.1094, allocations: 89.86 kB / 479.8 MB, free: 6.234 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.1094, allocations: 33.7 kB / 479.8 MB, free: 6.195 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.549e-05/0.1095, allocations: 80.14 kB / 479.9 MB, free: 6.113 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.653e-06/0.1095, allocations: 0 / 479.9 MB, free: 6.113 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.671e-05/0.1095, allocations: 9.719 kB / 479.9 MB, free: 6.098 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.886e-05/0.1096, allocations: 310.8 kB / 480.2 MB, free: 5.785 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.377e-06/0.1096, allocations: 4 kB / 480.2 MB, free: 5.781 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.766e-05/0.1096, allocations: 0 / 480.2 MB, free: 5.781 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.726e-05/0.1097, allocations: 75.28 kB / 480.3 MB, free: 5.707 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.32e-05/0.1097, allocations: 79.31 kB / 480.3 MB, free: 5.629 MB / 350.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.162e-05/0.1097, allocations: 33.64 kB / 480.4 MB, free: 5.59 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.229e-05/0.1098, allocations: 83.22 kB / 480.5 MB, free: 5.508 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.811e-05/0.1098, allocations: 75.28 kB / 480.5 MB, free: 5.434 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.22e-05/0.1099, allocations: 166.4 kB / 480.7 MB, free: 5.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.82e-05/0.1099, allocations: 79.28 kB / 480.8 MB, free: 5.191 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-05/0.11, allocations: 154.6 kB / 480.9 MB, free: 5.039 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.327e-05/0.11, allocations: 87.27 kB / 481 MB, free: 4.953 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.127e-05/0.1101, allocations: 75.28 kB / 481.1 MB, free: 4.879 MB / 350.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.0001068/0.1102, allocations: 260.9 kB / 481.3 MB, free: 4.613 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.714e-05/0.1102, allocations: 108.9 kB / 481.4 MB, free: 4.5 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.011e-05/0.1103, allocations: 108.1 kB / 481.5 MB, free: 4.387 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.029e-05/0.1103, allocations: 184.3 kB / 481.7 MB, free: 4.199 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-05/0.1104, allocations: 184.2 kB / 481.9 MB, free: 4.012 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.785e-05/0.1105, allocations: 176.3 kB / 482.1 MB, free: 3.832 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001928/0.1107, allocations: 405.3 kB / 482.5 MB, free: 3.379 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.561e-05/0.1107, allocations: 105 kB / 482.6 MB, free: 3.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.175e-05/0.1107, allocations: 113 kB / 482.7 MB, free: 3.152 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.587e-05/0.1108, allocations: 188.1 kB / 482.9 MB, free: 2.961 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.427e-05/0.1109, allocations: 176.3 kB / 483 MB, free: 2.781 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.856e-05/0.1109, allocations: 188.2 kB / 483.2 MB, free: 2.59 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.234e-05/0.111, allocations: 176.3 kB / 483.4 MB, free: 2.41 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001151/0.1111, allocations: 307.8 kB / 483.7 MB, free: 2.086 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.59e-05/0.1112, allocations: 186.1 kB / 483.9 MB, free: 1.879 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.577e-05/0.1112, allocations: 184.1 kB / 484.1 MB, free: 1.691 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.855e-05/0.1113, allocations: 105 kB / 484.2 MB, free: 1.582 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.615e-05/0.1114, allocations: 184.2 kB / 484.3 MB, free: 1.395 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.214e-05/0.1114, allocations: 101 kB / 484.4 MB, free: 1.289 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.628e-05/0.1114, allocations: 79.28 kB / 484.5 MB, free: 1.211 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1114, allocations: 0 / 484.5 MB, free: 1.211 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005744/0.112, allocations: 148 kB / 484.7 MB, free: 1.066 MB / 350.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.0006916/0.1127, allocations: 336.3 kB / 485 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 3.638e-05/0.1128, allocations: 4 kB / 485 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.1128, allocations: 0 / 485 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.34e-06/0.1128, allocations: 3.938 kB / 485 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003294/0.1131, allocations: 0.5249 MB / 485.5 MB, free: 208 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001297/0.1133, allocations: 167.8 kB / 485.7 MB, free: 4 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000211/0.1135, allocations: 0.6692 MB / 486.4 MB, free: 15.31 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.608e-05/0.1135, allocations: 11.44 kB / 486.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1135, allocations: 3.938 kB / 486.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of Templates: time 0.005423/0.1189, allocations: 2.91 MB / 489.3 MB, free: 12.38 MB / 366.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