Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.002217/0.002217, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002423/0.002423, allocations: 215.8 kB / 23.73 MB, free: 4.156 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.533/1.533, allocations: 230.6 MB / 257.5 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2265/0.2265, allocations: 44.94 MB / 358.8 MB, free: 6.074 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") translateModel(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002127/0.002127, allocations: 63.91 kB / 0.4935 GB, free: 10.08 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3096/0.3118, allocations: 65.48 MB / 0.5574 GB, free: 7.48 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001672/0.3134, allocations: 485.1 kB / 0.5579 GB, free: 7.004 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003404/0.3168, allocations: 1.954 MB / 0.5598 GB, free: 5.031 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.338e-06/0.3168, allocations: 0 / 0.5598 GB, free: 5.031 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 4.839e-06/0.3168, allocations: 0 / 0.5598 GB, free: 5.031 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.442e-06/0.3168, allocations: 0 / 0.5598 GB, free: 5.031 MB / 398.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.001807/0.3187, allocations: 0.5647 MB / 0.5604 GB, free: 4.469 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 1.703e-05/0.3187, allocations: 4 kB / 0.5604 GB, free: 4.465 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.126e-05/0.3187, allocations: 0 / 0.5604 GB, free: 4.465 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.133e-06/0.3187, allocations: 0 / 0.5604 GB, free: 4.465 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.088e-05/0.3187, allocations: 3.984 kB / 0.5604 GB, free: 4.461 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.398e-06/0.3187, allocations: 0 / 0.5604 GB, free: 4.461 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001501/0.3202, allocations: 0.8537 MB / 0.5612 GB, free: 3.605 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.955e-06/0.3202, allocations: 3.984 kB / 0.5612 GB, free: 3.602 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.608e-06/0.3202, allocations: 0 / 0.5612 GB, free: 3.602 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000987/0.3212, allocations: 0.77 MB / 0.562 GB, free: 2.836 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.3212, allocations: 11.94 kB / 0.562 GB, free: 2.824 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3212, allocations: 0 / 0.562 GB, free: 2.824 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.161e-06/0.3212, allocations: 0 / 0.562 GB, free: 2.824 MB / 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.0003888/0.3216, allocations: 305.7 kB / 0.5623 GB, free: 2.496 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.3217, allocations: 8.031 kB / 0.5623 GB, free: 2.488 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.362e-05/0.3217, allocations: 80.22 kB / 0.5624 GB, free: 2.41 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001151/0.3218, allocations: 177.8 kB / 0.5625 GB, free: 2.211 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.365e-05/0.3219, allocations: 154.9 kB / 0.5627 GB, free: 2.059 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.076e-05/0.322, allocations: 150.9 kB / 0.5628 GB, free: 1.91 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.69e-05/0.3221, allocations: 109.2 kB / 0.5629 GB, free: 1.797 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.482e-05/0.3221, allocations: 79.28 kB / 0.563 GB, free: 1.719 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.504e-05/0.3222, allocations: 154.6 kB / 0.5631 GB, free: 1.566 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.219e-05/0.3222, allocations: 150.6 kB / 0.5633 GB, free: 1.418 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.396e-05/0.3223, allocations: 158.5 kB / 0.5634 GB, free: 1.262 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003018/0.3226, allocations: 397.6 kB / 0.5638 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001039/0.3227, allocations: 169.1 kB / 0.564 GB, free: 0.668 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.113e-05/0.3228, allocations: 80.14 kB / 0.5641 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.829e-05/0.3228, allocations: 79.28 kB / 0.5641 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.06e-05/0.3229, allocations: 113.9 kB / 0.5642 GB, free: 396 kB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.3229, allocations: 0 / 0.5642 GB, free: 396 kB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 7.27e-05/0.323, allocations: 29.64 kB / 0.5643 GB, free: 360 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.279e-05/0.3231, allocations: 156.4 kB / 0.5644 GB, free: 184 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.816e-05/0.3231, allocations: 89.86 kB / 0.5645 GB, free: 84 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.419e-05/0.3232, allocations: 29.7 kB / 0.5645 GB, free: 48 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.35e-05/0.3232, allocations: 80.14 kB / 0.5646 GB, free: 15.96 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.472e-06/0.3232, allocations: 0 / 0.5646 GB, free: 15.96 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.263e-05/0.3232, allocations: 9.719 kB / 0.5646 GB, free: 15.95 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001404/0.3234, allocations: 318.8 kB / 0.5649 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.308e-06/0.3234, allocations: 3.938 kB / 0.5649 GB, free: 15.62 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.982e-05/0.3234, allocations: 29.7 kB / 0.5649 GB, free: 15.59 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.39e-05/0.3234, allocations: 75.28 kB / 0.565 GB, free: 15.52 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.549e-05/0.3235, allocations: 79.31 kB / 0.5651 GB, free: 15.44 MB / 414.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.238e-05/0.3235, allocations: 29.7 kB / 0.5651 GB, free: 15.4 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.918e-05/0.3236, allocations: 79.28 kB / 0.5652 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.455e-05/0.3236, allocations: 79.3 kB / 0.5653 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.075e-05/0.3237, allocations: 162.5 kB / 0.5654 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.138e-05/0.3237, allocations: 75.28 kB / 0.5655 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.81e-05/0.3238, allocations: 158.5 kB / 0.5657 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.586e-05/0.3239, allocations: 79.28 kB / 0.5657 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.781e-05/0.3239, allocations: 83.22 kB / 0.5658 GB, free: 14.7 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.000192/0.3241, allocations: 260.4 kB / 0.5661 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.062e-05/0.3241, allocations: 105 kB / 0.5662 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.832e-05/0.3242, allocations: 115.6 kB / 0.5663 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.678e-05/0.3243, allocations: 188.2 kB / 0.5664 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.93e-05/0.3244, allocations: 176.3 kB / 0.5666 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.379e-05/0.3245, allocations: 184.2 kB / 0.5668 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004025/0.3249, allocations: 348.9 kB / 0.5671 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.957e-05/0.3249, allocations: 109 kB / 0.5672 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.392e-05/0.325, allocations: 104.9 kB / 0.5673 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001245/0.3251, allocations: 184.2 kB / 0.5675 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.093e-05/0.3252, allocations: 184.2 kB / 0.5677 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.103e-05/0.3253, allocations: 180.2 kB / 0.5679 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.676e-05/0.3253, allocations: 184.3 kB / 0.568 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001575/0.3255, allocations: 311.8 kB / 0.5683 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.755e-05/0.3256, allocations: 104.9 kB / 0.5684 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.365e-05/0.3256, allocations: 180.3 kB / 0.5686 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001642/0.3258, allocations: 108.9 kB / 0.5687 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.994e-05/0.3259, allocations: 184.2 kB / 0.5689 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.371e-05/0.3259, allocations: 101 kB / 0.569 GB, free: 11.27 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4e-05/0.326, allocations: 75.28 kB / 0.569 GB, free: 11.19 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.326, allocations: 0 / 0.569 GB, free: 11.19 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005506/0.3265, allocations: 151.6 kB / 0.5692 GB, free: 11.04 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.000687/0.3272, allocations: 356.2 kB / 0.5695 GB, free: 10.7 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 4.315e-05/0.3273, allocations: 3.938 kB / 0.5695 GB, free: 10.7 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/0.3273, allocations: 8 kB / 0.5695 GB, free: 10.69 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.142e-06/0.3273, allocations: 0 / 0.5695 GB, free: 10.69 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003694/0.3276, allocations: 462.3 kB / 0.57 GB, free: 10.23 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001681/0.3278, allocations: 148.2 kB / 0.5701 GB, free: 10.06 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.69e-05/0.3279, allocations: 51.36 kB / 0.5702 GB, free: 9.992 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.065e-06/0.3279, allocations: 0 / 0.5702 GB, free: 9.992 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.612e-05/0.3279, allocations: 15.38 kB / 0.5702 GB, free: 9.977 MB / 414.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3279, allocations: 0 / 0.5702 GB, free: 9.977 MB / 414.1 MB Notification: Performance of Templates: time 0.007919/0.3358, allocations: 3.445 MB / 0.5735 GB, free: 6.527 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestMatricesExamplesSolveLinearEquations/TestMatricesExamplesSolveLinearEquations.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.223473429679871]