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.001088/0.001088, allocations: 95.2 kB / 20.43 MB, free: 4.145 MB / 18.57 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.001435/0.001435, allocations: 165 kB / 23.79 MB, free: 0.7773 MB / 18.57 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 0.926/0.926, allocations: 158.6 MB / 185.7 MB, free: 2.926 MB / 170.7 MB " [Timeout remaining time 179] 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.1654/0.1654, allocations: 32.37 MB / 270.4 MB, free: 14.7 MB / 266.7 MB " [Timeout remaining time 180] 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: Performance of FrontEnd - loaded program: time 2.334e-06/2.334e-06, allocations: 0 / 347.6 MB, free: 9.473 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.904e-05/2.137e-05, allocations: 10.31 kB / 347.7 MB, free: 9.461 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001133/0.001154, allocations: 0.5171 MB / 348.2 MB, free: 8.949 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002713/0.003868, allocations: 1.986 MB / 350.2 MB, free: 6.941 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.648e-06/0.003872, allocations: 0 / 350.2 MB, free: 6.941 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 8.897e-06/0.003881, allocations: 0 / 350.2 MB, free: 6.941 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 5.571e-06/0.003887, allocations: 0 / 350.2 MB, free: 6.941 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00166/0.005546, allocations: 0.5638 MB / 350.7 MB, free: 6.379 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 2.269e-05/0.005569, allocations: 0 / 350.7 MB, free: 6.379 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.214e-05/0.005601, allocations: 3.938 kB / 350.7 MB, free: 6.375 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.55e-05/0.005617, allocations: 3.938 kB / 350.7 MB, free: 6.371 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.548e-06/0.005626, allocations: 4 kB / 350.7 MB, free: 6.367 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 9.578e-06/0.005636, allocations: 0 / 350.7 MB, free: 6.367 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001171/0.006806, allocations: 0.8379 MB / 351.6 MB, free: 5.527 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.161e-05/0.006818, allocations: 0 / 351.6 MB, free: 5.527 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.133e-05/0.006829, allocations: 0 / 351.6 MB, free: 5.527 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008392/0.007669, allocations: 0.8027 MB / 352.4 MB, free: 4.723 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.007671, allocations: 0 / 352.4 MB, free: 4.723 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.007672, allocations: 0 / 352.4 MB, free: 4.723 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.007677, allocations: 4 kB / 352.4 MB, free: 4.719 MB / 282.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.0003203/0.007998, allocations: 407.6 kB / 352.8 MB, free: 4.285 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.008038, allocations: 12.03 kB / 352.8 MB, free: 4.273 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.645e-05/0.008085, allocations: 124.1 kB / 352.9 MB, free: 4.152 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.007e-05/0.008135, allocations: 227.8 kB / 353.1 MB, free: 3.902 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.622e-05/0.008161, allocations: 238.8 kB / 353.4 MB, free: 3.668 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.32e-05/0.008184, allocations: 242.8 kB / 353.6 MB, free: 3.43 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.909e-05/0.008233, allocations: 149.4 kB / 353.7 MB, free: 3.277 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.008248, allocations: 119.4 kB / 353.9 MB, free: 3.16 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.888e-05/0.008277, allocations: 238.8 kB / 354.1 MB, free: 2.926 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.811e-05/0.008305, allocations: 242.3 kB / 354.3 MB, free: 2.688 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.48e-05/0.00833, allocations: 242.4 kB / 354.6 MB, free: 2.449 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001706/0.0085, allocations: 0.5759 MB / 355.1 MB, free: 1.84 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.96e-05/0.00856, allocations: 269.4 kB / 355.4 MB, free: 1.562 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.793e-05/0.008578, allocations: 126.9 kB / 355.5 MB, free: 1.434 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.354e-05/0.008591, allocations: 119.2 kB / 355.6 MB, free: 1.316 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.374e-05/0.008625, allocations: 152.6 kB / 355.8 MB, free: 1.156 MB / 282.7 MB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/0.008626, allocations: 4 kB / 355.8 MB, free: 1.152 MB / 282.7 MB Notification: Performance of matching and sorting (n=0): time 6.197e-05/0.008688, allocations: 29.7 kB / 355.8 MB, free: 1.117 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.534e-05/0.008744, allocations: 200.2 kB / 356 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.933e-05/0.008763, allocations: 142.2 kB / 356.2 MB, free: 0.75 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.02e-06/0.008768, allocations: 25.7 kB / 356.2 MB, free: 0.7188 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.629e-05/0.008784, allocations: 130.9 kB / 356.3 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.114e-06/0.008786, allocations: 7.953 kB / 356.3 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.971e-05/0.008806, allocations: 15.38 kB / 356.3 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.711e-05/0.008883, allocations: 496.1 kB / 356.8 MB, free: 60 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.516e-06/0.008892, allocations: 7.938 kB / 356.8 MB, free: 52 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.019e-05/0.008922, allocations: 33.72 kB / 356.9 MB, free: 12 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.523e-05/0.008987, allocations: 119.2 kB / 357 MB, free: 15.89 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-05/0.009024, allocations: 119.2 kB / 357.1 MB, free: 15.78 MB / 298.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.556e-05/0.00907, allocations: 25.7 kB / 357.1 MB, free: 15.75 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.753e-05/0.009117, allocations: 127.2 kB / 357.2 MB, free: 15.62 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-05/0.009155, allocations: 127.1 kB / 357.4 MB, free: 15.5 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.865e-05/0.009234, allocations: 242.4 kB / 357.6 MB, free: 15.26 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.764e-05/0.009271, allocations: 123.2 kB / 357.7 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.382e-05/0.009345, allocations: 250.2 kB / 358 MB, free: 14.89 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.244e-05/0.009417, allocations: 119.2 kB / 358.1 MB, free: 14.77 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.839e-05/0.009456, allocations: 127.1 kB / 358.2 MB, free: 14.65 MB / 298.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 0.0004741/0.00993, allocations: 395 kB / 358.6 MB, free: 14.25 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.254e-05/0.009992, allocations: 148.9 kB / 358.7 MB, free: 14.1 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.497e-05/0.01005, allocations: 151.8 kB / 358.9 MB, free: 13.94 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.862e-05/0.01013, allocations: 268.1 kB / 359.2 MB, free: 13.67 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.13e-05/0.01021, allocations: 268.1 kB / 359.4 MB, free: 13.4 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.485e-05/0.01029, allocations: 280 kB / 359.7 MB, free: 13.12 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002204/0.01051, allocations: 495.9 kB / 360.2 MB, free: 12.59 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.161e-05/0.01056, allocations: 152.8 kB / 360.3 MB, free: 12.44 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.248e-05/0.01061, allocations: 144.9 kB / 360.5 MB, free: 12.29 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.586e-05/0.01068, allocations: 268.1 kB / 360.7 MB, free: 12.02 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.457e-05/0.01076, allocations: 272 kB / 361 MB, free: 11.75 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.403e-05/0.01082, allocations: 264.1 kB / 361.2 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.169e-05/0.01089, allocations: 272 kB / 361.5 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001582/0.01105, allocations: 448.3 kB / 362 MB, free: 10.74 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.869e-05/0.0111, allocations: 148.8 kB / 362.1 MB, free: 10.59 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.878e-05/0.01119, allocations: 276.1 kB / 362.4 MB, free: 10.31 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.514e-05/0.01127, allocations: 156.8 kB / 362.5 MB, free: 10.15 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.815e-05/0.01136, allocations: 264.1 kB / 362.8 MB, free: 9.887 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.205e-05/0.01141, allocations: 148.9 kB / 362.9 MB, free: 9.734 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.291e-05/0.01147, allocations: 123.1 kB / 363 MB, free: 9.613 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01147, allocations: 3.938 kB / 363 MB, free: 9.609 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007041/0.01217, allocations: 151.5 kB / 363.2 MB, free: 9.461 MB / 298.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.0008311/0.013, allocations: 407.8 kB / 363.6 MB, free: 9.07 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 6.978e-05/0.01307, allocations: 0 / 363.6 MB, free: 9.07 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.01307, allocations: 0 / 363.6 MB, free: 9.07 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.323e-06/0.01308, allocations: 0 / 363.6 MB, free: 9.07 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004967/0.01357, allocations: 0.7023 MB / 364.3 MB, free: 8.363 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002466/0.01382, allocations: 202.1 kB / 364.5 MB, free: 8.137 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.6e-05/0.01387, allocations: 59.36 kB / 364.6 MB, free: 8.059 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.336e-05/0.01389, allocations: 0 / 364.6 MB, free: 8.059 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.985e-05/0.01391, allocations: 12.44 kB / 364.6 MB, free: 8.047 MB / 298.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01391, allocations: 0 / 364.6 MB, free: 8.047 MB / 298.7 MB Notification: Performance of Templates: time 0.009265/0.02317, allocations: 3.992 MB / 368.6 MB, free: 4.051 MB / 298.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.245301896240562]