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.001644/0.001644, allocations: 112.4 kB / 21.17 MB, free: 0.6172 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.001956/0.001956, allocations: 204.1 kB / 24.46 MB, free: 4.023 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.499/1.499, allocations: 230.2 MB / 257.8 MB, free: 8.504 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.2463/0.2463, allocations: 46.89 MB / 361.1 MB, free: 4.637 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.00238/0.00238, allocations: 79.86 kB / 0.4967 GB, free: 7.84 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.328/0.3304, allocations: 65.98 MB / 0.5612 GB, free: 5.043 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001588/0.332, allocations: 495.5 kB / 0.5617 GB, free: 4.562 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003143/0.3351, allocations: 2.074 MB / 0.5637 GB, free: 2.469 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.248e-06/0.3351, allocations: 0 / 0.5637 GB, free: 2.469 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 3.928e-06/0.3352, allocations: 0 / 0.5637 GB, free: 2.469 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.192e-06/0.3352, allocations: 0 / 0.5637 GB, free: 2.469 MB / 398.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.001579/0.3367, allocations: 0.5101 MB / 0.5642 GB, free: 1.961 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 1.602e-05/0.3367, allocations: 3.984 kB / 0.5642 GB, free: 1.957 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.542e-05/0.3368, allocations: 0 / 0.5642 GB, free: 1.957 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.071e-06/0.3368, allocations: 0 / 0.5642 GB, free: 1.957 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.055e-06/0.3368, allocations: 0 / 0.5642 GB, free: 1.957 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.337e-06/0.3368, allocations: 0 / 0.5642 GB, free: 1.957 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001408/0.3382, allocations: 0.9746 MB / 0.5651 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.993e-06/0.3382, allocations: 0 / 0.5651 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.638e-05/0.3382, allocations: 3.984 kB / 0.5651 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009559/0.3392, allocations: 0.8017 MB / 0.5659 GB, free: 180 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3392, allocations: 0 / 0.5659 GB, free: 180 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.3392, allocations: 0 / 0.5659 GB, free: 180 kB / 398.1 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.3392, allocations: 0 / 0.5659 GB, free: 180 kB / 398.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.0004484/0.3396, allocations: 378.8 kB / 0.5663 GB, free: 15.76 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.3397, allocations: 8.031 kB / 0.5663 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.196e-05/0.3398, allocations: 92.2 kB / 0.5664 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001473/0.3399, allocations: 243.6 kB / 0.5666 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.351e-05/0.34, allocations: 150.9 kB / 0.5668 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.526e-05/0.34, allocations: 150.9 kB / 0.5669 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.809e-05/0.3401, allocations: 105.3 kB / 0.567 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.24e-05/0.3402, allocations: 75.28 kB / 0.5671 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.228e-05/0.3403, allocations: 154.6 kB / 0.5672 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-05/0.3403, allocations: 150.6 kB / 0.5674 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.333e-05/0.3404, allocations: 158.5 kB / 0.5675 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003306/0.3407, allocations: 449.9 kB / 0.5679 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.993e-05/0.3408, allocations: 169.1 kB / 0.5681 GB, free: 13.78 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.922e-05/0.3409, allocations: 80.14 kB / 0.5682 GB, free: 13.7 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.909e-05/0.3409, allocations: 75.28 kB / 0.5683 GB, free: 13.62 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.081e-05/0.341, allocations: 113.8 kB / 0.5684 GB, free: 13.5 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 9.41e-07/0.341, allocations: 0 / 0.5684 GB, free: 13.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 8.541e-05/0.3411, allocations: 29.64 kB / 0.5684 GB, free: 13.47 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001023/0.3412, allocations: 164.4 kB / 0.5685 GB, free: 13.29 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.397e-05/0.3412, allocations: 89.86 kB / 0.5686 GB, free: 13.19 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.692e-05/0.3413, allocations: 25.7 kB / 0.5687 GB, free: 13.16 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.075e-05/0.3413, allocations: 84.14 kB / 0.5687 GB, free: 13.07 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.573e-06/0.3413, allocations: 0 / 0.5687 GB, free: 13.07 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.547e-05/0.3413, allocations: 13.72 kB / 0.5687 GB, free: 13.05 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.3415, allocations: 314.8 kB / 0.569 GB, free: 12.74 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.539e-06/0.3415, allocations: 0 / 0.569 GB, free: 12.74 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.639e-05/0.3415, allocations: 4 kB / 0.5691 GB, free: 12.73 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.715e-05/0.3415, allocations: 75.28 kB / 0.5691 GB, free: 12.66 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.532e-05/0.3416, allocations: 79.28 kB / 0.5692 GB, free: 12.58 MB / 414.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.612e-05/0.3416, allocations: 29.64 kB / 0.5692 GB, free: 12.55 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.72e-05/0.3417, allocations: 83.22 kB / 0.5693 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.808e-05/0.3417, allocations: 83.36 kB / 0.5694 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.06e-05/0.3418, allocations: 154.6 kB / 0.5695 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.672e-05/0.3419, allocations: 83.25 kB / 0.5696 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.241e-05/0.3419, allocations: 154.5 kB / 0.5698 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.562e-05/0.342, allocations: 83.22 kB / 0.5698 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.549e-05/0.3421, allocations: 75.28 kB / 0.5699 GB, free: 11.84 MB / 414.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.0001531/0.3422, allocations: 256.4 kB / 0.5702 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.818e-05/0.3423, allocations: 116.9 kB / 0.5703 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.509e-05/0.3424, allocations: 111.9 kB / 0.5704 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.849e-05/0.3424, allocations: 180.2 kB / 0.5705 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.909e-05/0.3425, allocations: 180.2 kB / 0.5707 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.666e-05/0.3426, allocations: 180.3 kB / 0.5709 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002796/0.3429, allocations: 401.2 kB / 0.5713 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.827e-05/0.3429, allocations: 109 kB / 0.5714 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.559e-05/0.343, allocations: 101 kB / 0.5715 GB, free: 10.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.717e-05/0.3431, allocations: 192.1 kB / 0.5717 GB, free: 9.926 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.958e-05/0.3432, allocations: 180.2 kB / 0.5718 GB, free: 9.742 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.077e-05/0.3433, allocations: 180.2 kB / 0.572 GB, free: 9.559 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.404e-05/0.3434, allocations: 180.3 kB / 0.5722 GB, free: 9.375 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001729/0.3435, allocations: 311.8 kB / 0.5725 GB, free: 9.047 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.567e-05/0.3436, allocations: 182.1 kB / 0.5726 GB, free: 8.844 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001046/0.3437, allocations: 192.1 kB / 0.5728 GB, free: 8.648 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.073e-05/0.3438, allocations: 105 kB / 0.5729 GB, free: 8.539 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/0.3439, allocations: 180.3 kB / 0.5731 GB, free: 8.355 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.873e-05/0.344, allocations: 108.9 kB / 0.5732 GB, free: 8.242 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.478e-05/0.344, allocations: 75.28 kB / 0.5733 GB, free: 8.168 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.344, allocations: 0 / 0.5733 GB, free: 8.168 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006687/0.3447, allocations: 151.6 kB / 0.5734 GB, free: 8.02 MB / 414.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.0007342/0.3454, allocations: 339.7 kB / 0.5737 GB, free: 7.684 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 4.592e-05/0.3455, allocations: 0 / 0.5737 GB, free: 7.684 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3455, allocations: 0 / 0.5737 GB, free: 7.684 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.203e-06/0.3455, allocations: 0 / 0.5737 GB, free: 7.684 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000387/0.3459, allocations: 467.6 kB / 0.5742 GB, free: 7.223 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001557/0.346, allocations: 152.8 kB / 0.5743 GB, free: 7.047 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003074/0.3463, allocations: 0.669 MB / 0.575 GB, free: 6.352 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.594e-06/0.3463, allocations: 0 / 0.575 GB, free: 6.352 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.373e-05/0.3463, allocations: 11.44 kB / 0.575 GB, free: 6.34 MB / 414.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3463, allocations: 3.938 kB / 0.575 GB, free: 6.336 MB / 414.1 MB Notification: Performance of Templates: time 0.007578/0.3539, allocations: 3.451 MB / 0.5784 GB, free: 2.883 MB / 414.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 -s cvode -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: 5.094944573007524]