Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001041/0.001041, allocations: 67.77 kB / 21.69 MB, free: 2.852 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.001082/0.001082, allocations: 165.5 kB / 24.99 MB, free: 8.742 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9809/0.9809, allocations: 177.1 MB / 205.3 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2747/0.2747, allocations: 34.25 MB / 296 MB, free: 0.6797 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") translateModel(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 378 MB, free: 2.969 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.07e-05/3.247e-05, allocations: 2.312 kB / 378 MB, free: 2.965 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.0012/0.001233, allocations: 0.5046 MB / 378.5 MB, free: 2.457 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004101/0.005334, allocations: 2.011 MB / 380.5 MB, free: 436 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.919e-06/0.005339, allocations: 0 / 380.5 MB, free: 436 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 7.575e-06/0.005347, allocations: 0 / 380.5 MB, free: 436 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 1.533e-06/0.005348, allocations: 0 / 380.5 MB, free: 436 kB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Math/package.mo:697:5-760: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.001732/0.00708, allocations: 0.5568 MB / 381.1 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 3.023e-05/0.00711, allocations: 0 / 381.1 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.638e-05/0.007156, allocations: 7.984 kB / 381.1 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.39e-05/0.00718, allocations: 3.984 kB / 381.1 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.243e-05/0.007193, allocations: 0 / 381.1 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.286e-05/0.007205, allocations: 4 kB / 381.1 MB, free: 15.85 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001385/0.008591, allocations: 0.8613 MB / 381.9 MB, free: 14.99 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.895e-06/0.008599, allocations: 0 / 381.9 MB, free: 14.99 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 1.71e-05/0.008616, allocations: 0 / 381.9 MB, free: 14.99 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001056/0.009671, allocations: 0.8183 MB / 382.8 MB, free: 14.17 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.009678, allocations: 0 / 382.8 MB, free: 14.17 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.907e-06/0.009682, allocations: 0 / 382.8 MB, free: 14.17 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.879e-06/0.009692, allocations: 4 kB / 382.8 MB, free: 14.16 MB / 362.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.0005649/0.01026, allocations: 407.6 kB / 383.2 MB, free: 13.73 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.809e-05/0.01032, allocations: 16.03 kB / 383.2 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.396e-05/0.01041, allocations: 120.1 kB / 383.3 MB, free: 13.6 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001001/0.01051, allocations: 227.8 kB / 383.5 MB, free: 13.35 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.933e-05/0.01058, allocations: 242.8 kB / 383.8 MB, free: 13.11 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.301e-05/0.01064, allocations: 238.8 kB / 384 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.005e-05/0.01072, allocations: 145.5 kB / 384.1 MB, free: 12.73 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.149e-05/0.01075, allocations: 119.4 kB / 384.3 MB, free: 12.61 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.223e-05/0.01083, allocations: 242.8 kB / 384.5 MB, free: 12.37 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.858e-05/0.01089, allocations: 250.2 kB / 384.7 MB, free: 12.12 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.816e-05/0.01095, allocations: 242.4 kB / 385 MB, free: 11.89 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002214/0.01117, allocations: 0.5681 MB / 385.5 MB, free: 11.29 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.687e-05/0.01126, allocations: 265.4 kB / 385.8 MB, free: 11.01 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.858e-05/0.0113, allocations: 130.9 kB / 385.9 MB, free: 10.88 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.458e-05/0.01134, allocations: 123.1 kB / 386 MB, free: 10.76 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.206e-05/0.0114, allocations: 156.6 kB / 386.2 MB, free: 10.59 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 7.22e-07/0.0114, allocations: 0 / 386.2 MB, free: 10.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 6.862e-05/0.01146, allocations: 29.69 kB / 386.2 MB, free: 10.56 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.524e-05/0.01154, allocations: 200.2 kB / 386.4 MB, free: 10.34 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.196e-05/0.01158, allocations: 142.2 kB / 386.6 MB, free: 10.19 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.204e-05/0.01159, allocations: 29.7 kB / 386.6 MB, free: 10.16 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.456e-05/0.01163, allocations: 126.9 kB / 386.7 MB, free: 10.03 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.174e-06/0.01163, allocations: 4 kB / 386.7 MB, free: 10.02 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.013e-05/0.01165, allocations: 15.38 kB / 386.7 MB, free: 10 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.01178, allocations: 496.1 kB / 387.2 MB, free: 9.504 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.743e-06/0.01179, allocations: 4 kB / 387.2 MB, free: 9.5 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.551e-05/0.01183, allocations: 29.64 kB / 387.3 MB, free: 9.465 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.802e-05/0.01186, allocations: 119.2 kB / 387.4 MB, free: 9.348 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.21e-05/0.0119, allocations: 119.2 kB / 387.5 MB, free: 9.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.719e-05/0.01194, allocations: 37.69 kB / 387.5 MB, free: 9.188 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.45e-05/0.01199, allocations: 123.2 kB / 387.6 MB, free: 9.066 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.346e-05/0.01202, allocations: 119.2 kB / 387.8 MB, free: 8.949 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.003e-05/0.0121, allocations: 254.3 kB / 388 MB, free: 8.699 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.172e-05/0.01213, allocations: 119.2 kB / 388.1 MB, free: 8.582 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.87e-05/0.0122, allocations: 246.2 kB / 388.4 MB, free: 8.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.247e-05/0.01227, allocations: 123.2 kB / 388.5 MB, free: 8.219 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.616e-05/0.01231, allocations: 127.2 kB / 388.6 MB, free: 8.094 MB / 362.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.0001307/0.01244, allocations: 402.9 kB / 389 MB, free: 7.688 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.006e-05/0.01249, allocations: 144.9 kB / 389.1 MB, free: 7.539 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.588e-05/0.01254, allocations: 147.9 kB / 389.3 MB, free: 7.391 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.545e-05/0.01261, allocations: 272 kB / 389.6 MB, free: 7.117 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.016e-05/0.01268, allocations: 268.1 kB / 389.8 MB, free: 6.848 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.59e-05/0.01276, allocations: 279.9 kB / 390.1 MB, free: 6.566 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002022/0.01296, allocations: 491.9 kB / 390.6 MB, free: 6.043 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.022e-05/0.013, allocations: 144.9 kB / 390.7 MB, free: 5.895 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.92e-05/0.01304, allocations: 148.8 kB / 390.9 MB, free: 5.742 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001145/0.01315, allocations: 268.1 kB / 391.1 MB, free: 5.473 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.585e-05/0.01324, allocations: 276 kB / 391.4 MB, free: 5.195 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.301e-05/0.01331, allocations: 264.1 kB / 391.6 MB, free: 4.93 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.943e-05/0.01339, allocations: 268.4 kB / 391.9 MB, free: 4.66 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002455/0.01364, allocations: 451.9 kB / 392.3 MB, free: 4.191 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.055e-05/0.01368, allocations: 152.8 kB / 392.5 MB, free: 4.035 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.749e-05/0.01376, allocations: 268.1 kB / 392.8 MB, free: 3.766 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.826e-05/0.01381, allocations: 148.9 kB / 392.9 MB, free: 3.613 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.997e-05/0.01388, allocations: 272 kB / 393.2 MB, free: 3.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.632e-05/0.01392, allocations: 148.9 kB / 393.3 MB, free: 3.188 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.914e-05/0.01396, allocations: 123.1 kB / 393.4 MB, free: 3.066 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01396, allocations: 0 / 393.4 MB, free: 3.066 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005185/0.01448, allocations: 147.6 kB / 393.6 MB, free: 2.922 MB / 362.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.000719/0.0152, allocations: 416.9 kB / 394 MB, free: 2.52 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 4.917e-05/0.01525, allocations: 11.94 kB / 394 MB, free: 2.508 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.01525, allocations: 0 / 394 MB, free: 2.508 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.82e-07/0.01525, allocations: 0 / 394 MB, free: 2.508 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002499/0.0155, allocations: 0.7101 MB / 394.7 MB, free: 1.793 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001485/0.01565, allocations: 198.1 kB / 394.9 MB, free: 1.57 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.952e-05/0.01568, allocations: 55.36 kB / 395 MB, free: 1.496 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.315e-06/0.01569, allocations: 0 / 395 MB, free: 1.496 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.52e-05/0.0157, allocations: 12.5 kB / 395 MB, free: 1.484 MB / 362.7 MB Notification: Performance of SimCode: time 7.92e-07/0.0157, allocations: 0 / 395 MB, free: 1.484 MB / 362.7 MB Notification: Performance of Templates: time 0.005279/0.02098, allocations: 3.523 MB / 398.5 MB, free: 13.96 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.sim & ./ModelicaTest_4.1.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.2747644388582557]