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.001288/0.001288, allocations: 112.3 kB / 17.99 MB, free: 5.367 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.001385/0.001385, allocations: 193.3 kB / 18.9 MB, free: 4.449 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.358/1.358, allocations: 222.9 MB / 242.6 MB, free: 15.26 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.2089/0.2089, allocations: 44.17 MB / 336.9 MB, free: 2.922 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 63.56 kB / 408.5 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1017, allocations: 60.83 MB / 469.4 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001738/0.1035, allocations: 0.5489 MB / 469.9 MB, free: 14.17 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002507/0.106, allocations: 1.976 MB / 471.9 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.318e-06/0.106, allocations: 3.938 kB / 471.9 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.387e-06/0.106, allocations: 0 / 471.9 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 1.072e-06/0.106, allocations: 4 kB / 471.9 MB, free: 12.17 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.001409/0.1075, allocations: 485 kB / 472.4 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 1.282e-05/0.1075, allocations: 3.938 kB / 472.4 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.58e-05/0.1075, allocations: 0 / 472.4 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.009e-05/0.1075, allocations: 3.984 kB / 472.4 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.446e-06/0.1075, allocations: 0 / 472.4 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.757e-06/0.1075, allocations: 0 / 472.4 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001056/0.1086, allocations: 0.881 MB / 473.3 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.183e-06/0.1086, allocations: 7.984 kB / 473.3 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.345e-05/0.1086, allocations: 0 / 473.3 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005274/0.1092, allocations: 0.542 MB / 473.8 MB, free: 10.26 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.1092, allocations: 0 / 473.8 MB, free: 10.26 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1092, allocations: 0 / 473.8 MB, free: 10.26 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.193e-06/0.1092, allocations: 0 / 473.8 MB, free: 10.26 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.0003458/0.1096, allocations: 383.5 kB / 474.2 MB, free: 9.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.1096, allocations: 12.02 kB / 474.2 MB, free: 9.828 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.614e-05/0.1097, allocations: 76.22 kB / 474.3 MB, free: 9.754 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001092/0.1098, allocations: 239.7 kB / 474.5 MB, free: 9.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.924e-05/0.1098, allocations: 150.9 kB / 474.7 MB, free: 9.332 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.715e-05/0.1099, allocations: 154.9 kB / 474.8 MB, free: 9.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.371e-05/0.11, allocations: 109.2 kB / 474.9 MB, free: 9.066 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.624e-05/0.11, allocations: 75.28 kB / 475 MB, free: 8.992 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.493e-05/0.11, allocations: 154.6 kB / 475.1 MB, free: 8.84 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.782e-05/0.1101, allocations: 154.6 kB / 475.3 MB, free: 8.688 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.972e-05/0.1102, allocations: 150.6 kB / 475.4 MB, free: 8.539 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002375/0.1104, allocations: 441.9 kB / 475.9 MB, free: 8.059 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.414e-05/0.1105, allocations: 177.1 kB / 476 MB, free: 7.875 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.147e-05/0.1105, allocations: 84.14 kB / 476.1 MB, free: 7.789 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.3e-05/0.1106, allocations: 75.28 kB / 476.2 MB, free: 7.715 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.611e-05/0.1106, allocations: 109.8 kB / 476.3 MB, free: 7.598 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.1106, allocations: 0 / 476.3 MB, free: 7.598 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 6.445e-05/0.1107, allocations: 25.7 kB / 476.3 MB, free: 7.566 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.371e-05/0.1108, allocations: 156.4 kB / 476.5 MB, free: 7.395 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.473e-05/0.1108, allocations: 93.86 kB / 476.6 MB, free: 7.293 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.285e-05/0.1108, allocations: 29.64 kB / 476.6 MB, free: 7.258 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.486e-05/0.1109, allocations: 80.14 kB / 476.7 MB, free: 7.176 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.803e-06/0.1109, allocations: 0 / 476.7 MB, free: 7.176 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.199e-05/0.1109, allocations: 17.66 kB / 476.7 MB, free: 7.152 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.111, allocations: 318.8 kB / 477 MB, free: 6.832 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.811e-06/0.1111, allocations: 4 kB / 477 MB, free: 6.828 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.689e-05/0.1111, allocations: 0 / 477 MB, free: 6.828 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.658e-05/0.1111, allocations: 79.31 kB / 477.1 MB, free: 6.75 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.884e-05/0.1111, allocations: 75.28 kB / 477.2 MB, free: 6.676 MB / 350.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.978e-05/0.1112, allocations: 29.7 kB / 477.2 MB, free: 6.641 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.56e-05/0.1112, allocations: 89.66 kB / 477.3 MB, free: 6.555 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.749e-05/0.1113, allocations: 79.22 kB / 477.4 MB, free: 6.477 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.185e-05/0.1113, allocations: 150.6 kB / 477.5 MB, free: 6.328 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.396e-05/0.1114, allocations: 83.27 kB / 477.6 MB, free: 6.246 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.215e-05/0.1114, allocations: 162.5 kB / 477.7 MB, free: 6.086 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.111e-05/0.1115, allocations: 79.33 kB / 477.8 MB, free: 6.008 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.173e-05/0.1115, allocations: 83.22 kB / 477.9 MB, free: 5.926 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.0001031/0.1116, allocations: 260.9 kB / 478.2 MB, free: 5.66 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.57e-05/0.1117, allocations: 105.1 kB / 478.3 MB, free: 5.551 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.039e-05/0.1118, allocations: 112.1 kB / 478.4 MB, free: 5.434 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-05/0.1119, allocations: 192.3 kB / 478.6 MB, free: 5.238 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.785e-05/0.1119, allocations: 176.3 kB / 478.7 MB, free: 5.059 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.156e-05/0.112, allocations: 180.2 kB / 478.9 MB, free: 4.875 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002064/0.1122, allocations: 393.2 kB / 479.3 MB, free: 4.434 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.771e-05/0.1122, allocations: 112.9 kB / 479.4 MB, free: 4.316 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.353e-05/0.1123, allocations: 105 kB / 479.5 MB, free: 4.207 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.958e-05/0.1124, allocations: 184.2 kB / 479.7 MB, free: 4.02 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.241e-05/0.1124, allocations: 180.2 kB / 479.9 MB, free: 3.836 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.929e-05/0.1125, allocations: 180.3 kB / 480 MB, free: 3.652 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.335e-05/0.1126, allocations: 184.2 kB / 480.2 MB, free: 3.465 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000135/0.1128, allocations: 303.8 kB / 480.5 MB, free: 3.145 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.066e-05/0.1128, allocations: 182 kB / 480.7 MB, free: 2.941 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.997e-05/0.1129, allocations: 188.2 kB / 480.9 MB, free: 2.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.129e-05/0.113, allocations: 108.9 kB / 481 MB, free: 2.637 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.101e-05/0.1131, allocations: 176.3 kB / 481.1 MB, free: 2.457 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.256e-05/0.1132, allocations: 109 kB / 481.3 MB, free: 2.344 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.98e-05/0.1132, allocations: 75.28 kB / 481.3 MB, free: 2.27 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.833e-06/0.1132, allocations: 0 / 481.3 MB, free: 2.27 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006382/0.1139, allocations: 147.9 kB / 481.5 MB, free: 2.125 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.0008116/0.1147, allocations: 338.9 kB / 481.8 MB, free: 1.793 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 4.706e-05/0.1148, allocations: 3.984 kB / 481.8 MB, free: 1.789 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.1148, allocations: 0 / 481.8 MB, free: 1.789 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.603e-06/0.1148, allocations: 0 / 481.8 MB, free: 1.789 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003429/0.1151, allocations: 466.4 kB / 482.3 MB, free: 1.332 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001814/0.1153, allocations: 173.9 kB / 482.4 MB, free: 1.129 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002591/0.1156, allocations: 0.669 MB / 483.1 MB, free: 444 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.335e-05/0.1156, allocations: 7.438 kB / 483.1 MB, free: 436 kB / 350.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1156, allocations: 0 / 483.1 MB, free: 436 kB / 350.1 MB Notification: Performance of Templates: time 0.006018/0.1216, allocations: 2.924 MB / 486 MB, free: 13.5 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