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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002223/0.002223, allocations: 100.3 kB / 19.69 MB, free: 1.805 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002759/0.002759, allocations: 215.6 kB / 22.99 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.644/1.644, allocations: 207.7 MB / 233.8 MB, free: 9.789 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2373/0.2373, allocations: 44.27 MB / 330.3 MB, free: 9.312 MB / 270.1 MB " [Timeout remaining time 179] 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 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 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") translateModel(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002362/0.002362, allocations: 71.91 kB / 468 MB, free: 3.875 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1363, allocations: 61.04 MB / 0.5166 GB, free: 6.711 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001646/0.1379, allocations: 0.4987 MB / 0.5171 GB, free: 6.211 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003342/0.1412, allocations: 1.94 MB / 0.519 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.732e-06/0.1412, allocations: 0 / 0.519 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 4.398e-06/0.1413, allocations: 0 / 0.519 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.252e-06/0.1413, allocations: 0 / 0.519 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001976/0.1432, allocations: 0.5687 MB / 0.5196 GB, free: 3.68 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 1.992e-05/0.1433, allocations: 8 kB / 0.5196 GB, free: 3.672 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.853e-05/0.1433, allocations: 0 / 0.5196 GB, free: 3.672 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.474e-06/0.1433, allocations: 0 / 0.5196 GB, free: 3.672 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.175e-06/0.1433, allocations: 0 / 0.5196 GB, free: 3.672 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.777e-06/0.1433, allocations: 0 / 0.5196 GB, free: 3.672 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001544/0.1448, allocations: 0.8378 MB / 0.5204 GB, free: 2.836 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.291e-05/0.1449, allocations: 3.984 kB / 0.5204 GB, free: 2.832 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.579e-05/0.1449, allocations: 4 kB / 0.5204 GB, free: 2.828 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001224/0.1461, allocations: 0.7483 MB / 0.5211 GB, free: 2.078 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.1461, allocations: 0 / 0.5211 GB, free: 2.078 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.1461, allocations: 0 / 0.5211 GB, free: 2.078 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.955e-06/0.1461, allocations: 0 / 0.5211 GB, free: 2.078 MB / 398.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.0004909/0.1466, allocations: 301.7 kB / 0.5214 GB, free: 1.754 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.319e-05/0.1467, allocations: 12.03 kB / 0.5214 GB, free: 1.742 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.132e-05/0.1467, allocations: 76.22 kB / 0.5215 GB, free: 1.668 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001473/0.1469, allocations: 189.7 kB / 0.5217 GB, free: 1.457 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.619e-05/0.147, allocations: 154.9 kB / 0.5218 GB, free: 1.305 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.683e-05/0.1471, allocations: 150.9 kB / 0.522 GB, free: 1.156 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000114/0.1472, allocations: 105.3 kB / 0.5221 GB, free: 1.047 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.343e-05/0.1472, allocations: 83.28 kB / 0.5221 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.657e-05/0.1473, allocations: 150.6 kB / 0.5223 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.924e-05/0.1474, allocations: 154.6 kB / 0.5224 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.48e-05/0.1475, allocations: 158.5 kB / 0.5226 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003563/0.1479, allocations: 389.6 kB / 0.523 GB, free: 100 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001642/0.148, allocations: 173.1 kB / 0.5231 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.194e-05/0.1481, allocations: 80.14 kB / 0.5232 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.787e-05/0.1481, allocations: 75.28 kB / 0.5233 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001063/0.1482, allocations: 113.8 kB / 0.5234 GB, free: 15.64 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 9.21e-07/0.1482, allocations: 0 / 0.5234 GB, free: 15.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 9.511e-05/0.1483, allocations: 37.58 kB / 0.5234 GB, free: 15.6 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001221/0.1484, allocations: 152.4 kB / 0.5236 GB, free: 15.43 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.306e-05/0.1485, allocations: 89.86 kB / 0.5237 GB, free: 15.33 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.264e-05/0.1485, allocations: 25.7 kB / 0.5237 GB, free: 15.3 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.225e-05/0.1486, allocations: 84.14 kB / 0.5238 GB, free: 15.21 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.807e-06/0.1486, allocations: 0 / 0.5238 GB, free: 15.21 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.43e-05/0.1486, allocations: 13.72 kB / 0.5238 GB, free: 15.2 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001732/0.1488, allocations: 310.8 kB / 0.5241 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.078e-05/0.1488, allocations: 4 kB / 0.5241 GB, free: 14.88 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.129e-05/0.1489, allocations: 25.7 kB / 0.5241 GB, free: 14.85 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.987e-05/0.1489, allocations: 75.28 kB / 0.5242 GB, free: 14.77 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-05/0.149, allocations: 79.31 kB / 0.5242 GB, free: 14.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.733e-05/0.149, allocations: 41.56 kB / 0.5243 GB, free: 14.65 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.63e-05/0.1491, allocations: 79.28 kB / 0.5244 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.001e-05/0.1491, allocations: 79.22 kB / 0.5244 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000105/0.1492, allocations: 158.5 kB / 0.5246 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.629e-05/0.1493, allocations: 79.22 kB / 0.5247 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.758e-05/0.1493, allocations: 154.6 kB / 0.5248 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.993e-05/0.1494, allocations: 83.22 kB / 0.5249 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.013e-05/0.1495, allocations: 79.27 kB / 0.525 GB, free: 13.95 MB / 414.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.0001786/0.1497, allocations: 260.3 kB / 0.5252 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.158e-05/0.1497, allocations: 112.9 kB / 0.5253 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.957e-05/0.1498, allocations: 107.9 kB / 0.5254 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.762e-05/0.1499, allocations: 180.3 kB / 0.5256 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.488e-05/0.15, allocations: 188.2 kB / 0.5258 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001077/0.1501, allocations: 180.3 kB / 0.5259 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002527/0.1504, allocations: 352.8 kB / 0.5263 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.882e-05/0.1504, allocations: 101 kB / 0.5264 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.325e-05/0.1505, allocations: 101 kB / 0.5265 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.582e-05/0.1506, allocations: 196.2 kB / 0.5267 GB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.943e-05/0.1507, allocations: 176.3 kB / 0.5268 GB, free: 11.92 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.309e-05/0.1507, allocations: 192.1 kB / 0.527 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.238e-05/0.1508, allocations: 180.3 kB / 0.5272 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001828/0.151, allocations: 307.8 kB / 0.5275 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.888e-05/0.1511, allocations: 101 kB / 0.5276 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001023/0.1512, allocations: 184.2 kB / 0.5277 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.224e-05/0.1513, allocations: 104.9 kB / 0.5278 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.776e-05/0.1513, allocations: 184.2 kB / 0.528 GB, free: 10.63 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-05/0.1514, allocations: 109.4 kB / 0.5281 GB, free: 10.52 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.768e-05/0.1514, allocations: 75.28 kB / 0.5282 GB, free: 10.44 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1514, allocations: 0 / 0.5282 GB, free: 10.44 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006475/0.1521, allocations: 147.6 kB / 0.5283 GB, free: 10.3 MB / 414.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.0008163/0.1529, allocations: 342.8 kB / 0.5287 GB, free: 9.949 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 5.822e-05/0.153, allocations: 4 kB / 0.5287 GB, free: 9.945 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.153, allocations: 4 kB / 0.5287 GB, free: 9.941 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.508e-06/0.153, allocations: 4 kB / 0.5287 GB, free: 9.938 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004264/0.1534, allocations: 459.6 kB / 0.5291 GB, free: 9.484 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002219/0.1536, allocations: 160.1 kB / 0.5293 GB, free: 9.301 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.892e-05/0.1537, allocations: 55.34 kB / 0.5293 GB, free: 9.227 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.654e-06/0.1537, allocations: 0 / 0.5293 GB, free: 9.227 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.639e-05/0.1537, allocations: 7.438 kB / 0.5293 GB, free: 9.219 MB / 414.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1537, allocations: 4 kB / 0.5293 GB, free: 9.215 MB / 414.1 MB Notification: Performance of Templates: time 0.008147/0.1619, allocations: 3.377 MB / 0.5326 GB, free: 5.836 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/TestMatricesExamplesSolveLinearEquations/TestMatricesExamplesSolveLinearEquations.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.632347714155912]