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.001415/0.001415, allocations: 108.4 kB / 21.17 MB, free: 0.7852 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.001429/0.001429, allocations: 217.3 kB / 24.47 MB, free: 4.359 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.544/1.544, allocations: 230.2 MB / 257.8 MB, free: 8.5 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.2396/0.2396, allocations: 46.9 MB / 361.1 MB, free: 4.617 MB / 286.1 MB " [Timeout remaining time 179] 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.003383/0.003383, allocations: 83.86 kB / 0.4967 GB, free: 8.367 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3447/0.3481, allocations: 65.97 MB / 0.5612 GB, free: 34.51 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001348/0.3495, allocations: 492.2 kB / 0.5616 GB, free: 34.24 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002422/0.3519, allocations: 2.076 MB / 0.5637 GB, free: 32.79 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.228e-06/0.3519, allocations: 0.9688 kB / 0.5637 GB, free: 32.79 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 4.358e-06/0.3519, allocations: 0 / 0.5637 GB, free: 32.79 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 1.413e-06/0.3519, allocations: 0 / 0.5637 GB, free: 32.79 MB / 446.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.001425/0.3533, allocations: 0.5071 MB / 0.5642 GB, free: 32.62 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 1.705e-05/0.3533, allocations: 3.062 kB / 0.5642 GB, free: 32.62 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.727e-05/0.3534, allocations: 0 / 0.5642 GB, free: 32.62 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.095e-06/0.3534, allocations: 3.984 kB / 0.5642 GB, free: 32.62 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.358e-06/0.3534, allocations: 0.5 kB / 0.5642 GB, free: 32.62 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.208e-06/0.3534, allocations: 2.469 kB / 0.5642 GB, free: 32.62 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001117/0.3545, allocations: 0.9714 MB / 0.5651 GB, free: 32.37 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.642e-06/0.3545, allocations: 3 kB / 0.5651 GB, free: 32.37 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.578e-06/0.3545, allocations: 0 / 0.5651 GB, free: 32.37 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006584/0.3552, allocations: 0.8069 MB / 0.5659 GB, free: 32.21 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.3552, allocations: 3.594 kB / 0.5659 GB, free: 32.21 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.3552, allocations: 1.906 kB / 0.5659 GB, free: 32.21 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.3552, allocations: 0 / 0.5659 GB, free: 32.21 MB / 446.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.0002919/0.3555, allocations: 379.2 kB / 0.5663 GB, free: 31.82 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.158e-05/0.3555, allocations: 9.188 kB / 0.5663 GB, free: 31.82 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.729e-05/0.3556, allocations: 78.5 kB / 0.5664 GB, free: 31.75 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.767e-05/0.3556, allocations: 238.6 kB / 0.5666 GB, free: 31.48 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.634e-05/0.3556, allocations: 150.9 kB / 0.5667 GB, free: 31.33 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.428e-05/0.3557, allocations: 155.6 kB / 0.5669 GB, free: 31.18 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.684e-05/0.3557, allocations: 109.2 kB / 0.567 GB, free: 31.07 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.3557, allocations: 75.28 kB / 0.5671 GB, free: 30.99 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.46e-05/0.3558, allocations: 151.4 kB / 0.5672 GB, free: 30.84 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.783e-05/0.3558, allocations: 155.2 kB / 0.5673 GB, free: 30.69 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.076e-05/0.3558, allocations: 154.4 kB / 0.5675 GB, free: 30.54 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001595/0.356, allocations: 443.7 kB / 0.5679 GB, free: 30.07 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.876e-05/0.356, allocations: 169.1 kB / 0.5681 GB, free: 29.89 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.743e-05/0.356, allocations: 84.77 kB / 0.5682 GB, free: 29.8 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.705e-05/0.356, allocations: 85.53 kB / 0.5682 GB, free: 29.73 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.258e-05/0.3561, allocations: 109.8 kB / 0.5683 GB, free: 29.61 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 8.32e-07/0.3561, allocations: 0 / 0.5683 GB, free: 29.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 6.286e-05/0.3561, allocations: 25.7 kB / 0.5684 GB, free: 29.58 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.334e-05/0.3562, allocations: 159.3 kB / 0.5685 GB, free: 29.41 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.569e-05/0.3562, allocations: 96.45 kB / 0.5686 GB, free: 29.31 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.36e-06/0.3562, allocations: 25.7 kB / 0.5686 GB, free: 29.28 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.738e-05/0.3562, allocations: 88.08 kB / 0.5687 GB, free: 29.19 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.653e-06/0.3562, allocations: 0 / 0.5687 GB, free: 29.19 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.94e-05/0.3562, allocations: 12.75 kB / 0.5687 GB, free: 29.17 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.916e-05/0.3563, allocations: 314.8 kB / 0.569 GB, free: 28.86 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.779e-06/0.3563, allocations: 0 / 0.569 GB, free: 28.86 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.705e-05/0.3563, allocations: 0 / 0.569 GB, free: 28.86 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.361e-05/0.3563, allocations: 77.28 kB / 0.5691 GB, free: 28.78 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-05/0.3563, allocations: 75.28 kB / 0.5692 GB, free: 28.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.615e-05/0.3564, allocations: 31.47 kB / 0.5692 GB, free: 28.68 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.291e-05/0.3564, allocations: 85.41 kB / 0.5693 GB, free: 28.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.517e-05/0.3564, allocations: 86.42 kB / 0.5694 GB, free: 28.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.36e-05/0.3564, allocations: 153.8 kB / 0.5695 GB, free: 28.37 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.155e-05/0.3565, allocations: 75.28 kB / 0.5696 GB, free: 28.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.392e-05/0.3565, allocations: 158.5 kB / 0.5697 GB, free: 28.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.493e-05/0.3565, allocations: 83.33 kB / 0.5698 GB, free: 28.06 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.307e-05/0.3566, allocations: 83.22 kB / 0.5699 GB, free: 27.98 MB / 446.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 5.572e-05/0.3566, allocations: 259.4 kB / 0.5702 GB, free: 27.72 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.856e-05/0.3566, allocations: 107.9 kB / 0.5703 GB, free: 27.61 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.511e-05/0.3567, allocations: 111 kB / 0.5704 GB, free: 27.5 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-05/0.3567, allocations: 180.2 kB / 0.5705 GB, free: 27.31 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.867e-05/0.3567, allocations: 187.3 kB / 0.5707 GB, free: 27.12 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.462e-05/0.3567, allocations: 183.8 kB / 0.5709 GB, free: 26.94 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001307/0.3569, allocations: 396.3 kB / 0.5713 GB, free: 26.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.688e-05/0.3569, allocations: 108 kB / 0.5714 GB, free: 26.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.552e-05/0.3569, allocations: 105 kB / 0.5715 GB, free: 26.28 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.52e-05/0.3569, allocations: 187.3 kB / 0.5716 GB, free: 26.09 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.813e-05/0.357, allocations: 191.3 kB / 0.5718 GB, free: 25.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.499e-05/0.357, allocations: 176.3 kB / 0.572 GB, free: 25.72 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.878e-05/0.357, allocations: 180.2 kB / 0.5722 GB, free: 25.54 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.655e-05/0.3571, allocations: 305 kB / 0.5725 GB, free: 25.23 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.972e-05/0.3571, allocations: 186 kB / 0.5726 GB, free: 25.02 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.365e-05/0.3571, allocations: 183.3 kB / 0.5728 GB, free: 24.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.323e-05/0.3572, allocations: 107.9 kB / 0.5729 GB, free: 24.73 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.25e-05/0.3572, allocations: 180.2 kB / 0.5731 GB, free: 24.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.423e-05/0.3572, allocations: 101 kB / 0.5732 GB, free: 24.44 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.838e-05/0.3573, allocations: 82.25 kB / 0.5733 GB, free: 24.36 MB / 446.1 MB Notification: Performance of sort global known variables: time 5e-08/0.3573, allocations: 0 / 0.5733 GB, free: 24.36 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005822/0.3579, allocations: 155.5 kB / 0.5734 GB, free: 24.33 MB / 446.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.0006393/0.3585, allocations: 342.5 kB / 0.5737 GB, free: 24.12 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 5.627e-05/0.3585, allocations: 0 / 0.5737 GB, free: 24.12 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3585, allocations: 0 / 0.5737 GB, free: 24.12 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.162e-06/0.3585, allocations: 0 / 0.5737 GB, free: 24.12 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002293/0.3588, allocations: 462.6 kB / 0.5742 GB, free: 23.66 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001431/0.3589, allocations: 159 kB / 0.5743 GB, free: 23.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001258/0.359, allocations: 0.669 MB / 0.575 GB, free: 22.8 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.267e-06/0.3591, allocations: 0 / 0.575 GB, free: 22.8 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.315e-05/0.3591, allocations: 10.38 kB / 0.575 GB, free: 22.79 MB / 446.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3591, allocations: 0 / 0.575 GB, free: 22.79 MB / 446.1 MB Notification: Performance of Templates: time 0.008019/0.3671, allocations: 3.458 MB / 0.5784 GB, free: 22.57 MB / 446.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 gbode -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.2196114379912615]