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.001227/0.001227, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001391/0.001391, allocations: 164.4 kB / 24.82 MB, free: 9.266 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 1.014/1.014, allocations: 177.1 MB / 205.3 MB, free: 5.477 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.2665/0.2665, allocations: 34.26 MB / 296.1 MB, free: 0.7266 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 3.016e-06/3.016e-06, allocations: 0 / 378.5 MB, free: 2.438 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.259e-05/4.561e-05, allocations: 2.312 kB / 378.5 MB, free: 2.434 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001383/0.001429, allocations: 0.4958 MB / 379 MB, free: 1.938 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002934/0.004363, allocations: 2.014 MB / 381 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.689e-06/0.004367, allocations: 3.938 kB / 381 MB, free: 15.9 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 1.038e-05/0.004378, allocations: 0 / 381 MB, free: 15.9 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 1.282e-06/0.004379, allocations: 0 / 381 MB, free: 15.9 MB / 362.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.001623/0.006002, allocations: 0.5608 MB / 381.5 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 1.66e-05/0.006019, allocations: 0 / 381.5 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.712e-05/0.006046, allocations: 4 kB / 381.5 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.358e-05/0.00606, allocations: 0 / 381.5 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.086e-05/0.00607, allocations: 0 / 381.5 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 7.794e-06/0.006078, allocations: 0 / 381.5 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001199/0.007277, allocations: 0.8535 MB / 382.4 MB, free: 14.48 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.532e-06/0.007284, allocations: 0 / 382.4 MB, free: 14.48 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 1.262e-05/0.007296, allocations: 7.984 kB / 382.4 MB, free: 14.47 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009519/0.008248, allocations: 0.826 MB / 383.2 MB, free: 13.64 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.008252, allocations: 0 / 383.2 MB, free: 13.64 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.008253, allocations: 0 / 383.2 MB, free: 13.64 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.379e-06/0.008258, allocations: 0 / 383.2 MB, free: 13.64 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.0003586/0.008616, allocations: 407.6 kB / 383.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.008655, allocations: 8.031 kB / 383.6 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.437e-05/0.008709, allocations: 128.1 kB / 383.8 MB, free: 13.08 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.374e-05/0.008793, allocations: 227.8 kB / 384 MB, free: 12.83 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.262e-05/0.008856, allocations: 242.7 kB / 384.2 MB, free: 12.59 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.839e-05/0.008914, allocations: 242.8 kB / 384.5 MB, free: 12.35 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.983e-05/0.008984, allocations: 153.4 kB / 384.6 MB, free: 12.2 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.46e-05/0.009018, allocations: 127.4 kB / 384.7 MB, free: 12.07 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.544e-05/0.009084, allocations: 238.8 kB / 385 MB, free: 11.84 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.369e-05/0.009148, allocations: 242.3 kB / 385.2 MB, free: 11.6 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.458e-05/0.009212, allocations: 242.4 kB / 385.4 MB, free: 11.36 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002264/0.009439, allocations: 0.5491 MB / 386 MB, free: 10.79 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.509e-05/0.009524, allocations: 265.4 kB / 386.3 MB, free: 10.51 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.605e-05/0.00956, allocations: 126.9 kB / 386.4 MB, free: 10.38 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.425e-05/0.009594, allocations: 131.2 kB / 386.5 MB, free: 10.25 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.296e-05/0.009647, allocations: 152.6 kB / 386.7 MB, free: 10.09 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 9.11e-07/0.009648, allocations: 0 / 386.7 MB, free: 10.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 5.928e-05/0.009707, allocations: 29.7 kB / 386.7 MB, free: 10.06 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.467e-05/0.009772, allocations: 200.3 kB / 386.9 MB, free: 9.844 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.065e-05/0.009812, allocations: 142.2 kB / 387 MB, free: 9.691 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.087e-06/0.009822, allocations: 25.7 kB / 387 MB, free: 9.66 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.461e-05/0.009856, allocations: 126.9 kB / 387.2 MB, free: 9.531 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.62e-07/0.009857, allocations: 3.938 kB / 387.2 MB, free: 9.527 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.63e-05/0.009883, allocations: 23.36 kB / 387.2 MB, free: 9.496 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.01, allocations: 496.1 kB / 387.7 MB, free: 9 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.156e-06/0.01001, allocations: 0 / 387.7 MB, free: 9 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.443e-05/0.01003, allocations: 25.7 kB / 387.7 MB, free: 8.969 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.991e-05/0.01006, allocations: 119.2 kB / 387.8 MB, free: 8.852 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.375e-05/0.01009, allocations: 131.2 kB / 387.9 MB, free: 8.723 MB / 362.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.778e-05/0.01014, allocations: 25.7 kB / 388 MB, free: 8.691 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.029e-05/0.01018, allocations: 123.2 kB / 388.1 MB, free: 8.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.369e-05/0.01022, allocations: 127.1 kB / 388.2 MB, free: 8.445 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.606e-05/0.01028, allocations: 242.4 kB / 388.5 MB, free: 8.207 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.877e-05/0.01031, allocations: 119.2 kB / 388.6 MB, free: 8.09 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.777e-05/0.01037, allocations: 246.3 kB / 388.8 MB, free: 7.848 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.43e-05/0.01044, allocations: 127.2 kB / 388.9 MB, free: 7.723 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.015e-05/0.01047, allocations: 127.1 kB / 389.1 MB, free: 7.598 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.0001228/0.0106, allocations: 399 kB / 389.4 MB, free: 7.195 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.395e-05/0.01065, allocations: 144.9 kB / 389.6 MB, free: 7.047 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.775e-05/0.0107, allocations: 155.8 kB / 389.7 MB, free: 6.891 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.98e-05/0.01077, allocations: 272 kB / 390 MB, free: 6.617 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.529e-05/0.01084, allocations: 264.1 kB / 390.3 MB, free: 6.352 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001012/0.01094, allocations: 276 kB / 390.5 MB, free: 6.074 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001795/0.01112, allocations: 476.5 kB / 391 MB, free: 5.574 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.498e-05/0.01116, allocations: 148.8 kB / 391.1 MB, free: 5.422 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.582e-05/0.01119, allocations: 148.9 kB / 391.3 MB, free: 5.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001262/0.01132, allocations: 268.1 kB / 391.6 MB, free: 5 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.578e-05/0.01139, allocations: 268 kB / 391.8 MB, free: 4.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.327e-05/0.01145, allocations: 276.1 kB / 392.1 MB, free: 4.453 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.523e-05/0.01151, allocations: 272.4 kB / 392.3 MB, free: 4.18 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001389/0.01165, allocations: 452 kB / 392.8 MB, free: 3.711 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.073e-05/0.01169, allocations: 152.8 kB / 392.9 MB, free: 3.555 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.58e-05/0.01176, allocations: 264.1 kB / 393.2 MB, free: 3.289 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002087/0.01197, allocations: 148.8 kB / 393.3 MB, free: 3.137 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.073e-05/0.01204, allocations: 272.1 kB / 393.6 MB, free: 2.863 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.812e-05/0.01208, allocations: 148.9 kB / 393.8 MB, free: 2.711 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.486e-05/0.01211, allocations: 119.2 kB / 393.9 MB, free: 2.594 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01211, allocations: 3.938 kB / 393.9 MB, free: 2.59 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000563/0.01268, allocations: 151.6 kB / 394 MB, free: 2.441 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.000574/0.01325, allocations: 405.9 kB / 394.4 MB, free: 2.047 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 4.114e-05/0.01329, allocations: 12 kB / 394.4 MB, free: 2.035 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.01329, allocations: 0 / 394.4 MB, free: 2.035 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.152e-06/0.01329, allocations: 3.938 kB / 394.4 MB, free: 2.031 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003105/0.0136, allocations: 0.71 MB / 395.1 MB, free: 1.316 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001246/0.01373, allocations: 198.1 kB / 395.3 MB, free: 1.094 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.086e-05/0.01376, allocations: 51.36 kB / 395.4 MB, free: 1.023 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.839e-06/0.01377, allocations: 4 kB / 395.4 MB, free: 1.02 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.038e-05/0.0138, allocations: 70.14 kB / 395.5 MB, free: 0.9492 MB / 362.7 MB Notification: Performance of SimCode: time 6.01e-07/0.0138, allocations: 0 / 395.5 MB, free: 0.9492 MB / 362.7 MB Notification: Performance of Templates: time 0.006334/0.02013, allocations: 4.09 MB / 399.5 MB, free: 12.86 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.299605410080403]