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.001109/0.001109, allocations: 104.1 kB / 17.64 MB, free: 5.48 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.001101/0.001101, allocations: 192 kB / 18.55 MB, free: 4.566 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.315/1.315, allocations: 222.9 MB / 242.2 MB, free: 15.19 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.1974/0.1974, allocations: 44.19 MB / 336.6 MB, free: 2.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001121/0.001121, allocations: 60.5 kB / 408.4 MB, free: 27.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1068, allocations: 60.82 MB / 469.2 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001759/0.1086, allocations: 486.8 kB / 469.7 MB, free: 13.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00251/0.1111, allocations: 1.986 MB / 471.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.792e-06/0.1111, allocations: 3.938 kB / 471.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.055e-06/0.1111, allocations: 0 / 471.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 1.082e-06/0.1111, allocations: 0 / 471.7 MB, free: 11.91 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.001417/0.1125, allocations: 0.5053 MB / 472.2 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 1.709e-05/0.1126, allocations: 4 kB / 472.2 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.972e-05/0.1126, allocations: 3.938 kB / 472.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.115e-05/0.1126, allocations: 4 kB / 472.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.327e-06/0.1126, allocations: 3.938 kB / 472.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.147e-06/0.1127, allocations: 0 / 472.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0012/0.1139, allocations: 0.8811 MB / 473.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.772e-06/0.1139, allocations: 0 / 473.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.497e-05/0.1139, allocations: 4 kB / 473.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000822/0.1147, allocations: 0.7758 MB / 473.9 MB, free: 9.723 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.1147, allocations: 0 / 473.9 MB, free: 9.723 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1147, allocations: 0 / 473.9 MB, free: 9.723 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.059e-06/0.1148, allocations: 4 kB / 473.9 MB, free: 9.719 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.0003471/0.1151, allocations: 379.5 kB / 474.3 MB, free: 9.301 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.185e-05/0.1151, allocations: 8.031 kB / 474.3 MB, free: 9.293 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.911e-05/0.1152, allocations: 80.2 kB / 474.4 MB, free: 9.215 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001068/0.1153, allocations: 235.7 kB / 474.6 MB, free: 8.945 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.452e-05/0.1154, allocations: 150.9 kB / 474.7 MB, free: 8.797 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.231e-05/0.1154, allocations: 162.9 kB / 474.9 MB, free: 8.637 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.957e-05/0.1155, allocations: 109.3 kB / 475 MB, free: 8.523 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.755e-05/0.1155, allocations: 79.28 kB / 475.1 MB, free: 8.445 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.477e-05/0.1156, allocations: 150.6 kB / 475.2 MB, free: 8.297 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.292e-05/0.1156, allocations: 150.6 kB / 475.4 MB, free: 8.148 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.863e-05/0.1157, allocations: 154.6 kB / 475.5 MB, free: 7.996 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002492/0.1159, allocations: 445.9 kB / 476 MB, free: 7.512 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.774e-05/0.116, allocations: 173.1 kB / 476.1 MB, free: 7.332 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.976e-05/0.1161, allocations: 84.14 kB / 476.2 MB, free: 7.246 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.495e-05/0.1161, allocations: 75.28 kB / 476.3 MB, free: 7.172 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.106e-05/0.1162, allocations: 113.8 kB / 476.4 MB, free: 7.051 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 6.91e-07/0.1162, allocations: 0 / 476.4 MB, free: 7.051 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 6.786e-05/0.1162, allocations: 37.64 kB / 476.4 MB, free: 7.008 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.044e-05/0.1163, allocations: 152.4 kB / 476.6 MB, free: 6.84 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.111e-05/0.1163, allocations: 89.86 kB / 476.7 MB, free: 6.742 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.021e-05/0.1164, allocations: 25.7 kB / 476.7 MB, free: 6.711 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.286e-05/0.1164, allocations: 80.14 kB / 476.8 MB, free: 6.629 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.282e-06/0.1164, allocations: 0 / 476.8 MB, free: 6.629 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.135e-05/0.1164, allocations: 17.72 kB / 476.8 MB, free: 6.605 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.665e-05/0.1165, allocations: 322.8 kB / 477.1 MB, free: 6.281 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.408e-06/0.1165, allocations: 0 / 477.1 MB, free: 6.281 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.452e-05/0.1166, allocations: 0 / 477.1 MB, free: 6.281 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.472e-05/0.1166, allocations: 75.28 kB / 477.2 MB, free: 6.207 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.897e-05/0.1166, allocations: 75.28 kB / 477.2 MB, free: 6.133 MB / 350.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.881e-05/0.1167, allocations: 33.75 kB / 477.3 MB, free: 6.094 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.397e-05/0.1167, allocations: 83.22 kB / 477.4 MB, free: 6.012 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.315e-05/0.1167, allocations: 83.25 kB / 477.4 MB, free: 5.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.791e-05/0.1168, allocations: 154.6 kB / 477.6 MB, free: 5.777 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.213e-05/0.1168, allocations: 83.16 kB / 477.7 MB, free: 5.695 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.579e-05/0.1169, allocations: 154.5 kB / 477.8 MB, free: 5.543 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.36e-05/0.117, allocations: 75.28 kB / 477.9 MB, free: 5.469 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.895e-05/0.117, allocations: 83.22 kB / 478 MB, free: 5.387 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.0001005/0.1171, allocations: 264.4 kB / 478.2 MB, free: 5.117 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.105e-05/0.1172, allocations: 104.9 kB / 478.3 MB, free: 5.008 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.434e-05/0.1172, allocations: 108 kB / 478.4 MB, free: 4.895 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.077e-05/0.1173, allocations: 184.2 kB / 478.6 MB, free: 4.707 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.243e-05/0.1173, allocations: 184.2 kB / 478.8 MB, free: 4.52 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.584e-05/0.1174, allocations: 180.3 kB / 479 MB, free: 4.336 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001899/0.1176, allocations: 397.2 kB / 479.4 MB, free: 3.891 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.237e-05/0.1176, allocations: 108.9 kB / 479.5 MB, free: 3.777 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.609e-05/0.1177, allocations: 101 kB / 479.6 MB, free: 3.672 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.757e-05/0.1177, allocations: 184.1 kB / 479.8 MB, free: 3.484 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.33e-05/0.1178, allocations: 184.3 kB / 479.9 MB, free: 3.297 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.865e-05/0.1179, allocations: 184.3 kB / 480.1 MB, free: 3.109 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.748e-05/0.1179, allocations: 180.2 kB / 480.3 MB, free: 2.926 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001122/0.118, allocations: 307.8 kB / 480.6 MB, free: 2.602 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.166e-05/0.1181, allocations: 178.1 kB / 480.8 MB, free: 2.402 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.693e-05/0.1182, allocations: 188.2 kB / 480.9 MB, free: 2.211 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.762e-05/0.1183, allocations: 112.9 kB / 481.1 MB, free: 2.094 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.027e-05/0.1183, allocations: 176.3 kB / 481.2 MB, free: 1.914 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.628e-05/0.1184, allocations: 104.9 kB / 481.3 MB, free: 1.805 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.549e-05/0.1184, allocations: 75.28 kB / 481.4 MB, free: 1.73 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1184, allocations: 0 / 481.4 MB, free: 1.73 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005085/0.1189, allocations: 152 kB / 481.6 MB, free: 1.582 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.0005981/0.1195, allocations: 353.5 kB / 481.9 MB, free: 1.238 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 4.028e-05/0.1196, allocations: 0 / 481.9 MB, free: 1.238 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.1196, allocations: 0 / 481.9 MB, free: 1.238 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.286e-06/0.1196, allocations: 3.984 kB / 481.9 MB, free: 1.234 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003041/0.1199, allocations: 465.4 kB / 482.4 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001422/0.12, allocations: 148.2 kB / 482.5 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002554/0.1203, allocations: 0.6729 MB / 483.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.807e-06/0.1203, allocations: 0 / 483.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.741e-05/0.1203, allocations: 7.438 kB / 483.2 MB, free: 15.9 MB / 366.1 MB Notification: Performance of SimCode: time 2e-07/0.1204, allocations: 0 / 483.2 MB, free: 15.9 MB / 366.1 MB Notification: Performance of Templates: time 0.006164/0.1265, allocations: 3.387 MB / 486.6 MB, free: 12.52 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/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