Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001566/0.001566, allocations: 116.7 kB / 19.18 MB, free: 3.762 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001906/0.001906, allocations: 210.6 kB / 22.13 MB, free: 0.8125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.555/1.555, allocations: 230.2 MB / 255.2 MB, free: 15.39 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2281/0.2281, allocations: 46.88 MB / 358.1 MB, free: 10.5 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") translateModel(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002248/0.002248, allocations: 89.97 kB / 0.4924 GB, free: 26.59 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.1289, allocations: 65.98 MB / 0.5568 GB, free: 8.629 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.00175/0.1306, allocations: 489 kB / 0.5573 GB, free: 8.145 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00332/0.1339, allocations: 2.061 MB / 0.5593 GB, free: 6.062 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.9e-06/0.1339, allocations: 0 / 0.5593 GB, free: 6.062 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 3.917e-06/0.134, allocations: 0 / 0.5593 GB, free: 6.062 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 1.152e-06/0.134, allocations: 0 / 0.5593 GB, free: 6.062 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.001867/0.1358, allocations: 0.5063 MB / 0.5598 GB, free: 5.559 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 1.549e-05/0.1358, allocations: 0 / 0.5598 GB, free: 5.559 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.065e-05/0.1359, allocations: 0 / 0.5598 GB, free: 5.559 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.414e-06/0.1359, allocations: 3.938 kB / 0.5598 GB, free: 5.555 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.168e-05/0.1359, allocations: 3.984 kB / 0.5598 GB, free: 5.551 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.038e-06/0.1359, allocations: 0 / 0.5598 GB, free: 5.551 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001499/0.1374, allocations: 0.9707 MB / 0.5607 GB, free: 4.578 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.781e-06/0.1374, allocations: 4 kB / 0.5607 GB, free: 4.574 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 1.36e-05/0.1374, allocations: 0 / 0.5607 GB, free: 4.574 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001011/0.1384, allocations: 0.8029 MB / 0.5615 GB, free: 3.77 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1384, allocations: 0 / 0.5615 GB, free: 3.77 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1384, allocations: 0 / 0.5615 GB, free: 3.77 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.1384, allocations: 4 kB / 0.5615 GB, free: 3.766 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.000445/0.1389, allocations: 374.8 kB / 0.5619 GB, free: 3.352 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.1389, allocations: 8.031 kB / 0.5619 GB, free: 3.344 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.148e-05/0.139, allocations: 80.22 kB / 0.5619 GB, free: 3.266 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001465/0.1391, allocations: 255.6 kB / 0.5622 GB, free: 2.977 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.319e-05/0.1392, allocations: 150.9 kB / 0.5623 GB, free: 2.828 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.766e-05/0.1393, allocations: 150.9 kB / 0.5625 GB, free: 2.68 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.286e-05/0.1393, allocations: 105.3 kB / 0.5626 GB, free: 2.57 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.556e-05/0.1394, allocations: 75.28 kB / 0.5627 GB, free: 2.496 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.917e-05/0.1394, allocations: 150.6 kB / 0.5628 GB, free: 2.348 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-05/0.1395, allocations: 154.6 kB / 0.5629 GB, free: 2.195 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.813e-05/0.1396, allocations: 154.6 kB / 0.5631 GB, free: 2.043 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003238/0.1399, allocations: 445.9 kB / 0.5635 GB, free: 1.559 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001046/0.14, allocations: 165.1 kB / 0.5637 GB, free: 1.387 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.291e-05/0.14, allocations: 92.06 kB / 0.5638 GB, free: 1.293 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.628e-05/0.1401, allocations: 75.28 kB / 0.5638 GB, free: 1.219 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.149e-05/0.1402, allocations: 113.8 kB / 0.5639 GB, free: 1.098 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.1402, allocations: 0 / 0.5639 GB, free: 1.098 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 7.544e-05/0.1402, allocations: 29.64 kB / 0.564 GB, free: 1.062 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.878e-05/0.1403, allocations: 160.3 kB / 0.5641 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.646e-05/0.1404, allocations: 93.86 kB / 0.5642 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.624e-05/0.1404, allocations: 25.7 kB / 0.5642 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.28e-05/0.1405, allocations: 84.16 kB / 0.5643 GB, free: 0.668 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.473e-06/0.1405, allocations: 0 / 0.5643 GB, free: 0.668 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.276e-05/0.1405, allocations: 13.72 kB / 0.5643 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.1406, allocations: 310.8 kB / 0.5646 GB, free: 344 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.829e-06/0.1406, allocations: 0 / 0.5646 GB, free: 344 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.788e-05/0.1406, allocations: 0 / 0.5646 GB, free: 344 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.946e-05/0.1407, allocations: 87.3 kB / 0.5647 GB, free: 256 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.134e-05/0.1408, allocations: 75.28 kB / 0.5648 GB, free: 180 kB / 414.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.854e-05/0.1408, allocations: 29.64 kB / 0.5648 GB, free: 144 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001377/0.141, allocations: 83.22 kB / 0.5649 GB, free: 60 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.513e-05/0.141, allocations: 83.33 kB / 0.565 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.552e-05/0.1411, allocations: 154.6 kB / 0.5651 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.441e-05/0.1411, allocations: 79.22 kB / 0.5652 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001455/0.1413, allocations: 154.6 kB / 0.5653 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.296e-05/0.1414, allocations: 87.2 kB / 0.5654 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.053e-05/0.1414, allocations: 75.28 kB / 0.5655 GB, free: 15.43 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.0001354/0.1416, allocations: 260.3 kB / 0.5657 GB, free: 15.17 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.74e-05/0.1417, allocations: 112.9 kB / 0.5659 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.182e-05/0.1417, allocations: 111.8 kB / 0.566 GB, free: 14.94 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.804e-05/0.1418, allocations: 180.3 kB / 0.5661 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001283/0.1419, allocations: 188.2 kB / 0.5663 GB, free: 14.56 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.559e-05/0.142, allocations: 180.3 kB / 0.5665 GB, free: 14.38 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002738/0.1423, allocations: 401.2 kB / 0.5669 GB, free: 13.93 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.273e-05/0.1423, allocations: 101 kB / 0.567 GB, free: 13.82 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.634e-05/0.1423, allocations: 109 kB / 0.5671 GB, free: 13.71 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.999e-05/0.1424, allocations: 188.1 kB / 0.5672 GB, free: 13.52 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.044e-05/0.1425, allocations: 176.3 kB / 0.5674 GB, free: 13.34 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001641/0.1427, allocations: 180.2 kB / 0.5676 GB, free: 13.16 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.158e-05/0.1428, allocations: 180.3 kB / 0.5678 GB, free: 12.97 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001611/0.1429, allocations: 311.8 kB / 0.5681 GB, free: 12.64 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.912e-05/0.143, allocations: 182.1 kB / 0.5682 GB, free: 12.44 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.857e-05/0.1431, allocations: 188.1 kB / 0.5684 GB, free: 12.25 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.441e-05/0.1432, allocations: 105 kB / 0.5685 GB, free: 12.14 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.411e-05/0.1433, allocations: 180.2 kB / 0.5687 GB, free: 11.96 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.464e-05/0.1433, allocations: 116.9 kB / 0.5688 GB, free: 11.84 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.535e-05/0.1434, allocations: 75.28 kB / 0.5689 GB, free: 11.76 MB / 430.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1434, allocations: 0 / 0.5689 GB, free: 11.76 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007275/0.1441, allocations: 151.6 kB / 0.569 GB, free: 11.61 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.000758/0.1449, allocations: 339.2 kB / 0.5693 GB, free: 11.28 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 5.172e-05/0.1449, allocations: 4.484 kB / 0.5693 GB, free: 11.27 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1449, allocations: 0 / 0.5693 GB, free: 11.27 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.333e-06/0.1449, allocations: 0 / 0.5693 GB, free: 11.27 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003916/0.1453, allocations: 463.6 kB / 0.5698 GB, free: 10.82 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001913/0.1455, allocations: 178.1 kB / 0.5699 GB, free: 10.61 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003491/0.1459, allocations: 0.669 MB / 0.5706 GB, free: 9.914 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.68e-05/0.1459, allocations: 11.44 kB / 0.5706 GB, free: 9.902 MB / 430.1 MB Notification: Performance of SimCode: time 7.01e-07/0.1459, allocations: 0 / 0.5706 GB, free: 9.902 MB / 430.1 MB Notification: Performance of Templates: time 0.005785/0.1517, allocations: 2.951 MB / 0.5735 GB, free: 6.953 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestMatricesExamplesSolveLinearEquations/TestMatricesExamplesSolveLinearEquations.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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: 9.296462641097605]