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.001923/0.001923, allocations: 75.73 kB / 21.24 MB, free: 400 kB / 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.002317/0.002317, allocations: 169.9 kB / 24.5 MB, free: 3.453 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.461/1.461, allocations: 177.2 MB / 204.9 MB, free: 9.055 MB / 190.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.1977/0.1977, allocations: 32.81 MB / 294.1 MB, free: 68 kB / 270.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.002161/0.002161, allocations: 67.89 kB / 440.5 MB, free: 9.5 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.365/0.3671, allocations: 65.44 MB / 0.4941 GB, free: 31.46 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001469/0.3686, allocations: 495.7 kB / 0.4946 GB, free: 31.17 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002387/0.371, allocations: 1.958 MB / 0.4965 GB, free: 29.85 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.388e-06/0.371, allocations: 0 / 0.4965 GB, free: 29.85 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.607e-06/0.371, allocations: 0 / 0.4965 GB, free: 29.85 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 1.372e-06/0.371, allocations: 0 / 0.4965 GB, free: 29.85 MB / 446.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.001557/0.3726, allocations: 0.5659 MB / 0.4971 GB, free: 29.66 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 2.078e-05/0.3726, allocations: 0 / 0.4971 GB, free: 29.66 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.79e-05/0.3726, allocations: 0 / 0.4971 GB, free: 29.66 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.764e-06/0.3726, allocations: 0 / 0.4971 GB, free: 29.66 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.015e-06/0.3726, allocations: 0 / 0.4971 GB, free: 29.66 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.678e-06/0.3726, allocations: 7.125 kB / 0.4971 GB, free: 29.66 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001114/0.3737, allocations: 0.8543 MB / 0.4979 GB, free: 29.45 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.264e-06/0.3738, allocations: 0 / 0.4979 GB, free: 29.45 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.698e-05/0.3738, allocations: 0 / 0.4979 GB, free: 29.45 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007028/0.3745, allocations: 0.7699 MB / 0.4987 GB, free: 29.32 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.3745, allocations: 0 / 0.4987 GB, free: 29.32 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.3745, allocations: 0 / 0.4987 GB, free: 29.32 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.3745, allocations: 0 / 0.4987 GB, free: 29.32 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.0002939/0.3748, allocations: 304.3 kB / 0.499 GB, free: 29.02 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.3748, allocations: 13.5 kB / 0.499 GB, free: 29.02 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.01e-05/0.3749, allocations: 83.47 kB / 0.499 GB, free: 28.94 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.692e-05/0.3749, allocations: 185.1 kB / 0.4992 GB, free: 28.74 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.394e-05/0.3749, allocations: 150.9 kB / 0.4994 GB, free: 28.59 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.859e-05/0.375, allocations: 154.3 kB / 0.4995 GB, free: 28.44 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.429e-05/0.375, allocations: 109.2 kB / 0.4996 GB, free: 28.33 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.375, allocations: 75.28 kB / 0.4997 GB, free: 28.25 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.46e-05/0.375, allocations: 150.6 kB / 0.4998 GB, free: 28.11 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.174e-05/0.3751, allocations: 157.8 kB / 0.5 GB, free: 27.95 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.679e-05/0.3751, allocations: 150.6 kB / 0.5001 GB, free: 27.8 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001422/0.3752, allocations: 392.8 kB / 0.5005 GB, free: 27.39 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.212e-05/0.3753, allocations: 176.6 kB / 0.5007 GB, free: 27.21 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.872e-05/0.3753, allocations: 84.14 kB / 0.5007 GB, free: 27.13 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.509e-05/0.3753, allocations: 78.38 kB / 0.5008 GB, free: 27.05 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.559e-05/0.3753, allocations: 105.9 kB / 0.5009 GB, free: 26.94 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 8.12e-07/0.3753, allocations: 0 / 0.5009 GB, free: 26.94 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 6.679e-05/0.3754, allocations: 40.83 kB / 0.501 GB, free: 26.9 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.004e-05/0.3754, allocations: 152.4 kB / 0.5011 GB, free: 26.73 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.483e-05/0.3755, allocations: 89.86 kB / 0.5012 GB, free: 26.63 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.971e-06/0.3755, allocations: 25.7 kB / 0.5012 GB, free: 26.6 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.225e-05/0.3755, allocations: 80.14 kB / 0.5013 GB, free: 26.52 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.014e-06/0.3755, allocations: 0 / 0.5013 GB, free: 26.52 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.832e-05/0.3755, allocations: 17 kB / 0.5013 GB, free: 26.5 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.473e-05/0.3755, allocations: 318.2 kB / 0.5016 GB, free: 26.18 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.408e-06/0.3755, allocations: 3.938 kB / 0.5016 GB, free: 26.18 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.11e-05/0.3756, allocations: 32.92 kB / 0.5017 GB, free: 26.14 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.444e-05/0.3756, allocations: 75.28 kB / 0.5017 GB, free: 26.07 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.033e-05/0.3756, allocations: 75.28 kB / 0.5018 GB, free: 26 MB / 446.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.805e-05/0.3757, allocations: 28.92 kB / 0.5018 GB, free: 25.96 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.456e-05/0.3757, allocations: 81.72 kB / 0.5019 GB, free: 25.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.364e-05/0.3757, allocations: 83.3 kB / 0.502 GB, free: 25.81 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.113e-05/0.3757, allocations: 154.5 kB / 0.5021 GB, free: 25.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.232e-05/0.3757, allocations: 85.98 kB / 0.5022 GB, free: 25.58 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.886e-05/0.3758, allocations: 154.5 kB / 0.5024 GB, free: 25.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.483e-05/0.3758, allocations: 79.28 kB / 0.5024 GB, free: 25.35 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.22e-05/0.3758, allocations: 82.59 kB / 0.5025 GB, free: 25.27 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.501e-05/0.3759, allocations: 260.3 kB / 0.5028 GB, free: 25.01 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.376e-05/0.3759, allocations: 101 kB / 0.5029 GB, free: 24.9 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.516e-05/0.3759, allocations: 115.1 kB / 0.503 GB, free: 24.79 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.175e-05/0.376, allocations: 183 kB / 0.5031 GB, free: 24.6 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.444e-05/0.376, allocations: 180.3 kB / 0.5033 GB, free: 24.42 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-05/0.376, allocations: 183.6 kB / 0.5035 GB, free: 24.23 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.943e-05/0.3761, allocations: 356 kB / 0.5038 GB, free: 23.85 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.496e-05/0.3761, allocations: 108.1 kB / 0.5039 GB, free: 23.74 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.479e-05/0.3761, allocations: 104.9 kB / 0.504 GB, free: 23.63 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.217e-05/0.3762, allocations: 179.7 kB / 0.5042 GB, free: 23.45 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.309e-05/0.3762, allocations: 187.4 kB / 0.5044 GB, free: 23.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-05/0.3762, allocations: 180.2 kB / 0.5046 GB, free: 23.08 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.321e-05/0.3762, allocations: 179.5 kB / 0.5047 GB, free: 22.9 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.935e-05/0.3763, allocations: 306.3 kB / 0.505 GB, free: 22.59 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.92e-05/0.3763, allocations: 108 kB / 0.5051 GB, free: 22.48 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.097e-05/0.3763, allocations: 176.3 kB / 0.5053 GB, free: 22.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.255e-05/0.3764, allocations: 111.9 kB / 0.5054 GB, free: 22.18 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.438e-05/0.3764, allocations: 187.7 kB / 0.5056 GB, free: 22 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.677e-05/0.3765, allocations: 104.2 kB / 0.5057 GB, free: 21.89 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.551e-05/0.3765, allocations: 79.28 kB / 0.5057 GB, free: 21.81 MB / 446.1 MB Notification: Performance of sort global known variables: time 5e-08/0.3765, allocations: 0 / 0.5057 GB, free: 21.81 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005004/0.377, allocations: 149.2 kB / 0.5059 GB, free: 21.79 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.0006269/0.3776, allocations: 354.7 kB / 0.5062 GB, free: 21.56 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 4.593e-05/0.3776, allocations: 3.938 kB / 0.5062 GB, free: 21.56 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3776, allocations: 3.25 kB / 0.5062 GB, free: 21.56 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.274e-06/0.3776, allocations: 4 kB / 0.5062 GB, free: 21.55 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002534/0.3779, allocations: 455.3 kB / 0.5067 GB, free: 21.11 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001211/0.378, allocations: 145.7 kB / 0.5068 GB, free: 20.95 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.928e-05/0.378, allocations: 54.33 kB / 0.5069 GB, free: 20.88 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.887e-06/0.3781, allocations: 7.422 kB / 0.5069 GB, free: 20.87 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.184e-05/0.3781, allocations: 15.41 kB / 0.5069 GB, free: 20.86 MB / 446.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3781, allocations: 0 / 0.5069 GB, free: 20.86 MB / 446.1 MB Notification: Performance of Templates: time 0.006317/0.3844, allocations: 3.452 MB / 0.5103 GB, free: 20.63 MB / 446.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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestMatricesExamplesSolveLinearEquations/TestMatricesExamplesSolveLinearEquations.csv","/var/lib/jenkins1/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.032119159004651]