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.00141/0.00141, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.001504/0.001504, allocations: 207.2 kB / 20.75 MB, free: 2.273 MB / 14.72 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.587/1.587, allocations: 230.6 MB / 254.1 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] 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.2507/0.2507, allocations: 46.93 MB / 357.1 MB, free: 10.32 MB / 286.1 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 0.002051/0.002051, allocations: 63.91 kB / 0.4914 GB, free: 7.504 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1401, allocations: 65.99 MB / 0.5558 GB, free: 5.383 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001727/0.1418, allocations: 499.1 kB / 0.5563 GB, free: 4.895 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003214/0.1451, allocations: 2.054 MB / 0.5583 GB, free: 2.82 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.037e-06/0.1451, allocations: 4 kB / 0.5583 GB, free: 2.816 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 5.53e-06/0.1451, allocations: 0 / 0.5583 GB, free: 2.816 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 1.472e-06/0.1451, allocations: 0 / 0.5583 GB, free: 2.816 MB / 414.1 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.001598/0.1467, allocations: 0.5056 MB / 0.5588 GB, free: 2.312 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 1.805e-05/0.1467, allocations: 0 / 0.5588 GB, free: 2.312 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.691e-05/0.1467, allocations: 4 kB / 0.5588 GB, free: 2.309 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.955e-06/0.1467, allocations: 0 / 0.5588 GB, free: 2.309 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.144e-05/0.1467, allocations: 3.984 kB / 0.5588 GB, free: 2.305 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.366e-06/0.1467, allocations: 0 / 0.5588 GB, free: 2.305 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001543/0.1483, allocations: 0.9707 MB / 0.5598 GB, free: 1.332 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.733e-06/0.1483, allocations: 0 / 0.5598 GB, free: 1.332 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 1.094e-05/0.1483, allocations: 0 / 0.5598 GB, free: 1.332 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000995/0.1493, allocations: 0.8068 MB / 0.5606 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.1493, allocations: 3.938 kB / 0.5606 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1493, allocations: 0 / 0.5606 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.1493, allocations: 0 / 0.5606 GB, free: 0.5195 MB / 414.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.0004567/0.1498, allocations: 386.8 kB / 0.5609 GB, free: 96 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.1498, allocations: 8.031 kB / 0.5609 GB, free: 88 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.942e-05/0.1499, allocations: 76.22 kB / 0.561 GB, free: 12 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000169/0.15, allocations: 239.7 kB / 0.5612 GB, free: 15.74 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.684e-05/0.1501, allocations: 154.9 kB / 0.5614 GB, free: 15.59 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.38e-05/0.1502, allocations: 150.9 kB / 0.5615 GB, free: 15.44 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.337e-05/0.1503, allocations: 109.3 kB / 0.5616 GB, free: 15.32 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.356e-05/0.1503, allocations: 75.28 kB / 0.5617 GB, free: 15.25 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.771e-05/0.1504, allocations: 154.6 kB / 0.5619 GB, free: 15.1 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.477e-05/0.1504, allocations: 150.6 kB / 0.562 GB, free: 14.95 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.319e-05/0.1505, allocations: 162.4 kB / 0.5622 GB, free: 14.79 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000376/0.1509, allocations: 438 kB / 0.5626 GB, free: 14.31 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001226/0.151, allocations: 177.1 kB / 0.5627 GB, free: 14.13 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.354e-05/0.1511, allocations: 84.14 kB / 0.5628 GB, free: 14.04 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.844e-05/0.1511, allocations: 79.28 kB / 0.5629 GB, free: 13.96 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.426e-05/0.1512, allocations: 113.7 kB / 0.563 GB, free: 13.84 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 1.142e-06/0.1512, allocations: 0 / 0.563 GB, free: 13.84 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 8.908e-05/0.1513, allocations: 29.69 kB / 0.563 GB, free: 13.81 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.378e-05/0.1514, allocations: 156.4 kB / 0.5632 GB, free: 13.64 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.456e-05/0.1514, allocations: 89.86 kB / 0.5633 GB, free: 13.54 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.614e-05/0.1514, allocations: 25.7 kB / 0.5633 GB, free: 13.51 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.011e-05/0.1515, allocations: 84.14 kB / 0.5634 GB, free: 13.42 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.563e-06/0.1515, allocations: 0 / 0.5634 GB, free: 13.42 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.432e-05/0.1515, allocations: 9.719 kB / 0.5634 GB, free: 13.41 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001608/0.1517, allocations: 318.8 kB / 0.5637 GB, free: 13.09 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.889e-06/0.1517, allocations: 0 / 0.5637 GB, free: 13.09 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.736e-05/0.1517, allocations: 3.984 kB / 0.5637 GB, free: 13.08 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.638e-05/0.1517, allocations: 75.28 kB / 0.5638 GB, free: 13.01 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-05/0.1518, allocations: 75.28 kB / 0.5638 GB, free: 12.93 MB / 430.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.42e-05/0.1518, allocations: 37.72 kB / 0.5639 GB, free: 12.89 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.725e-05/0.1519, allocations: 83.22 kB / 0.5639 GB, free: 12.81 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.871e-05/0.1519, allocations: 79.28 kB / 0.564 GB, free: 12.73 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.449e-05/0.152, allocations: 154.5 kB / 0.5642 GB, free: 12.58 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.26e-05/0.152, allocations: 79.28 kB / 0.5642 GB, free: 12.5 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001782/0.1522, allocations: 154.5 kB / 0.5644 GB, free: 12.35 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.363e-05/0.1523, allocations: 87.27 kB / 0.5645 GB, free: 12.26 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.66e-05/0.1524, allocations: 79.28 kB / 0.5646 GB, free: 12.18 MB / 430.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.0001854/0.1525, allocations: 262.6 kB / 0.5648 GB, free: 11.92 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.925e-05/0.1526, allocations: 108.9 kB / 0.5649 GB, free: 11.8 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.857e-05/0.1527, allocations: 107.9 kB / 0.565 GB, free: 11.7 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.203e-05/0.1528, allocations: 184.2 kB / 0.5652 GB, free: 11.51 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-05/0.1529, allocations: 188.2 kB / 0.5654 GB, free: 11.32 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.291e-05/0.153, allocations: 180.2 kB / 0.5655 GB, free: 11.13 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002644/0.1532, allocations: 397.2 kB / 0.5659 GB, free: 10.69 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.643e-05/0.1533, allocations: 105 kB / 0.566 GB, free: 10.58 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.681e-05/0.1533, allocations: 108.9 kB / 0.5661 GB, free: 10.46 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.709e-05/0.1534, allocations: 192.1 kB / 0.5663 GB, free: 10.27 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001255/0.1536, allocations: 176.3 kB / 0.5665 GB, free: 10.09 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.112e-05/0.1536, allocations: 188.2 kB / 0.5666 GB, free: 9.898 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.625e-05/0.1537, allocations: 176.3 kB / 0.5668 GB, free: 9.719 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001866/0.1539, allocations: 311.8 kB / 0.5671 GB, free: 9.391 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000118/0.154, allocations: 178.1 kB / 0.5673 GB, free: 9.191 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001018/0.1541, allocations: 184.1 kB / 0.5675 GB, free: 9.004 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.499e-05/0.1542, allocations: 109 kB / 0.5676 GB, free: 8.891 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.427e-05/0.1543, allocations: 180.2 kB / 0.5677 GB, free: 8.707 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.188e-05/0.1544, allocations: 105 kB / 0.5678 GB, free: 8.598 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.954e-05/0.1544, allocations: 79.28 kB / 0.5679 GB, free: 8.52 MB / 430.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1544, allocations: 0 / 0.5679 GB, free: 8.52 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006942/0.1551, allocations: 151.6 kB / 0.5681 GB, free: 8.371 MB / 430.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.0007812/0.1559, allocations: 338.2 kB / 0.5684 GB, free: 8.039 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 6.481e-05/0.156, allocations: 7.984 kB / 0.5684 GB, free: 8.031 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-05/0.156, allocations: 7.938 kB / 0.5684 GB, free: 8.023 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.603e-06/0.156, allocations: 0 / 0.5684 GB, free: 8.023 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003778/0.1564, allocations: 455.7 kB / 0.5688 GB, free: 7.574 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001765/0.1565, allocations: 152.4 kB / 0.569 GB, free: 7.398 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003314/0.1569, allocations: 0.669 MB / 0.5696 GB, free: 6.703 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.635e-06/0.1569, allocations: 3.938 kB / 0.5696 GB, free: 6.699 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.249e-05/0.1569, allocations: 11.38 kB / 0.5696 GB, free: 6.688 MB / 430.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1569, allocations: 0 / 0.5696 GB, free: 6.688 MB / 430.1 MB Notification: Performance of Templates: time 0.007584/0.1645, allocations: 3.454 MB / 0.573 GB, free: 3.238 MB / 430.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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.230369385331869]