Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") translateModel(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001171/0.001171, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.259/1.259, allocations: 205.1 MB / 222.5 MB, free: 8.477 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001074/0.001074, allocations: 108.8 kB / 269.9 MB, free: 8.434 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3274/0.3274, allocations: 43.49 MB / 360.7 MB, free: 51.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009164/0.0009164, allocations: 55.92 kB / 429.2 MB, free: 6.383 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1103, allocations: 57.77 MB / 487 MB, free: 12.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001684/0.1121, allocations: 0.5502 MB / 487.5 MB, free: 11.99 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002835/0.1149, allocations: 2.038 MB / 489.6 MB, free: 9.934 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.071e-06/0.115, allocations: 4 kB / 489.6 MB, free: 9.93 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 5.711e-06/0.115, allocations: 0 / 489.6 MB, free: 9.93 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 1.573e-06/0.115, allocations: 0 / 489.6 MB, free: 9.93 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001672/0.1167, allocations: 478.7 kB / 490.1 MB, free: 9.465 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 1.725e-05/0.1167, allocations: 0 / 490.1 MB, free: 9.465 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.166e-05/0.1168, allocations: 0 / 490.1 MB, free: 9.465 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.697e-06/0.1168, allocations: 0 / 490.1 MB, free: 9.465 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.135e-05/0.1168, allocations: 4 kB / 490.1 MB, free: 9.461 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.757e-06/0.1168, allocations: 0 / 490.1 MB, free: 9.461 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001243/0.118, allocations: 0.8771 MB / 490.9 MB, free: 8.582 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.592e-06/0.1181, allocations: 0 / 490.9 MB, free: 8.582 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 1.712e-05/0.1181, allocations: 3.984 kB / 490.9 MB, free: 8.578 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008978/0.119, allocations: 0.7874 MB / 491.7 MB, free: 7.789 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.315e-06/0.119, allocations: 0 / 491.7 MB, free: 7.789 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.32e-07/0.119, allocations: 0 / 491.7 MB, free: 7.789 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.036e-06/0.119, allocations: 0 / 491.7 MB, free: 7.789 MB / 378.7 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.0003525/0.1194, allocations: 379.5 kB / 492.1 MB, free: 7.371 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.1194, allocations: 12.03 kB / 492.1 MB, free: 7.359 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.802e-05/0.1195, allocations: 76.22 kB / 492.2 MB, free: 7.285 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.072e-05/0.1196, allocations: 235.7 kB / 492.4 MB, free: 7.016 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.445e-05/0.1196, allocations: 154.9 kB / 492.6 MB, free: 6.863 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.027e-05/0.1197, allocations: 150.9 kB / 492.7 MB, free: 6.715 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.609e-05/0.1197, allocations: 117.2 kB / 492.8 MB, free: 6.594 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.998e-05/0.1198, allocations: 79.28 kB / 492.9 MB, free: 6.516 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.19e-05/0.1198, allocations: 150.6 kB / 493.1 MB, free: 6.367 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.878e-05/0.1199, allocations: 154.6 kB / 493.2 MB, free: 6.215 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.826e-05/0.1199, allocations: 150.6 kB / 493.4 MB, free: 6.066 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002159/0.1201, allocations: 438 kB / 493.8 MB, free: 5.59 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.401e-05/0.1202, allocations: 181.1 kB / 494 MB, free: 5.402 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.692e-05/0.1202, allocations: 80.14 kB / 494 MB, free: 5.32 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.112e-05/0.1202, allocations: 75.28 kB / 494.1 MB, free: 5.246 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.983e-05/0.1203, allocations: 109.8 kB / 494.2 MB, free: 5.129 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.1203, allocations: 0 / 494.2 MB, free: 5.129 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 6.28e-05/0.1204, allocations: 33.69 kB / 494.2 MB, free: 5.09 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.858e-05/0.1204, allocations: 160.3 kB / 494.4 MB, free: 4.914 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.669e-05/0.1205, allocations: 89.86 kB / 494.5 MB, free: 4.816 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.327e-06/0.1205, allocations: 25.7 kB / 494.5 MB, free: 4.785 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.374e-05/0.1205, allocations: 80.14 kB / 494.6 MB, free: 4.703 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.673e-06/0.1205, allocations: 0 / 494.6 MB, free: 4.703 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.331e-05/0.1205, allocations: 9.719 kB / 494.6 MB, free: 4.688 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.106e-05/0.1206, allocations: 318.8 kB / 494.9 MB, free: 4.367 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.479e-06/0.1206, allocations: 4 kB / 494.9 MB, free: 4.363 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.77e-05/0.1207, allocations: 0 / 494.9 MB, free: 4.363 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.296e-05/0.1207, allocations: 75.28 kB / 495 MB, free: 4.289 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.766e-05/0.1207, allocations: 75.28 kB / 495.1 MB, free: 4.215 MB / 378.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.11e-05/0.1208, allocations: 29.7 kB / 495.1 MB, free: 4.18 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.217e-05/0.1208, allocations: 87.2 kB / 495.2 MB, free: 4.094 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.007e-05/0.1208, allocations: 79.22 kB / 495.3 MB, free: 4.016 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.082e-05/0.1209, allocations: 154.6 kB / 495.4 MB, free: 3.863 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.345e-05/0.1209, allocations: 83.22 kB / 495.5 MB, free: 3.781 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.824e-05/0.121, allocations: 150.6 kB / 495.6 MB, free: 3.633 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.449e-05/0.121, allocations: 79.28 kB / 495.7 MB, free: 3.555 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.211e-05/0.1211, allocations: 79.22 kB / 495.8 MB, free: 3.477 MB / 378.7 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.092e-05/0.1212, allocations: 268.4 kB / 496.1 MB, free: 3.203 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.321e-05/0.1212, allocations: 112.9 kB / 496.2 MB, free: 3.086 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.319e-05/0.1213, allocations: 108 kB / 496.3 MB, free: 2.973 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.946e-05/0.1213, allocations: 188.2 kB / 496.5 MB, free: 2.781 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.355e-05/0.1214, allocations: 180.3 kB / 496.6 MB, free: 2.598 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.78e-05/0.1215, allocations: 184.4 kB / 496.8 MB, free: 2.41 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002225/0.1217, allocations: 401.2 kB / 497.2 MB, free: 1.961 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.52e-05/0.1217, allocations: 113 kB / 497.3 MB, free: 1.844 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.02e-05/0.1218, allocations: 105 kB / 497.4 MB, free: 1.734 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.917e-05/0.1218, allocations: 184.2 kB / 497.6 MB, free: 1.547 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.611e-05/0.1219, allocations: 184.2 kB / 497.8 MB, free: 1.359 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.732e-05/0.1219, allocations: 180.3 kB / 498 MB, free: 1.176 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.914e-05/0.122, allocations: 184.2 kB / 498.1 MB, free: 0.9883 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003238/0.1223, allocations: 0.8415 MB / 499 MB, free: 84 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.878e-05/0.1224, allocations: 186 kB / 499.2 MB, free: 15.88 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.643e-05/0.1225, allocations: 184.2 kB / 499.3 MB, free: 15.69 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.333e-05/0.1226, allocations: 105 kB / 499.4 MB, free: 15.58 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.169e-05/0.1226, allocations: 180.2 kB / 499.6 MB, free: 15.39 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-05/0.1227, allocations: 101 kB / 499.7 MB, free: 15.29 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.403e-05/0.1227, allocations: 79.28 kB / 499.8 MB, free: 15.21 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1227, allocations: 0 / 499.8 MB, free: 15.21 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006577/0.1234, allocations: 148.2 kB / 499.9 MB, free: 15.07 MB / 394.7 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.0006672/0.124, allocations: 330.2 kB / 0.4885 GB, free: 14.73 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 3.763e-05/0.1241, allocations: 11.88 kB / 0.4885 GB, free: 14.72 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.1241, allocations: 4 kB / 0.4885 GB, free: 14.72 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 1.663e-06/0.1241, allocations: 3.938 kB / 0.4885 GB, free: 14.71 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002898/0.1244, allocations: 0.5183 MB / 0.4891 GB, free: 14.2 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001251/0.1245, allocations: 150 kB / 0.4892 GB, free: 14.02 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001737/0.1247, allocations: 0.6692 MB / 0.4899 GB, free: 13.33 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 9.318e-06/0.1247, allocations: 8 kB / 0.4899 GB, free: 13.32 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.835e-06/0.1247, allocations: 11.38 kB / 0.4899 GB, free: 13.31 MB / 394.7 MB Notification: Performance of SimCode: time 2.1e-07/0.1247, allocations: 0 / 0.4899 GB, free: 13.31 MB / 394.7 MB Notification: Performance of Templates: time 0.005999/0.1307, allocations: 3.378 MB / 0.4932 GB, free: 9.926 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.sim & ./ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/TestMatricesExamplesSolveLinearEquations/TestMatricesExamplesSolveLinearEquations.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches