Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.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.001377/0.001377, allocations: 71.75 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.001621/0.001621, allocations: 168.1 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.443/1.443, allocations: 177.2 MB / 204.9 MB, free: 9.039 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.1998/0.1998, allocations: 32.8 MB / 294.1 MB, free: 60 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.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices") translateModel(ModelicaTest.Math.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices") [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.002121/0.002121, allocations: 63.89 kB / 440.5 MB, free: 9.484 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3031/0.3052, allocations: 65.44 MB / 0.4941 GB, free: 31.45 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.001429/0.3066, allocations: 0.4948 MB / 0.4946 GB, free: 31.14 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001511/0.3081, allocations: 1.55 MB / 0.4961 GB, free: 30.07 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.996e-05/0.3081, allocations: 3.938 kB / 0.4961 GB, free: 30.06 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.32e-05/0.3082, allocations: 0 / 0.4961 GB, free: 30.06 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.2e-06/0.3082, allocations: 7.938 kB / 0.4961 GB, free: 30.05 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Math.mo:171:3-212:15:writable] Warning: Pure function 'ModelicaTest.Math.Matrices' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.0008247/0.309, allocations: 287.4 kB / 0.4964 GB, free: 29.98 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.004e-05/0.309, allocations: 7.984 kB / 0.4964 GB, free: 29.97 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.147e-05/0.3091, allocations: 10.72 kB / 0.4964 GB, free: 29.96 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.317e-05/0.3091, allocations: 0 / 0.4964 GB, free: 29.96 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.598e-05/0.3091, allocations: 0 / 0.4964 GB, free: 29.96 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.49e-06/0.3091, allocations: 0 / 0.4964 GB, free: 29.96 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005782/0.3097, allocations: 421.3 kB / 0.4968 GB, free: 29.88 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.276e-06/0.3097, allocations: 3.375 kB / 0.4968 GB, free: 29.88 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.413e-05/0.3097, allocations: 7.984 kB / 0.4968 GB, free: 29.87 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003521/0.3101, allocations: 299.1 kB / 0.4971 GB, free: 29.82 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3101, allocations: 0 / 0.4971 GB, free: 29.82 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3101, allocations: 0 / 0.4971 GB, free: 29.82 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.559e-06/0.3101, allocations: 3.938 kB / 0.4971 GB, free: 29.81 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002557/0.3103, allocations: 300.9 kB / 0.4974 GB, free: 29.5 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.89e-05/0.3104, allocations: 13.56 kB / 0.4974 GB, free: 29.5 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.063e-05/0.3104, allocations: 0.9375 kB / 0.4974 GB, free: 29.5 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.816e-05/0.3104, allocations: 105.6 kB / 0.4975 GB, free: 29.38 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.3104, allocations: 384 / 0.4975 GB, free: 29.38 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.063e-06/0.3105, allocations: 4.375 kB / 0.4975 GB, free: 29.37 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.183e-05/0.3105, allocations: 66.19 kB / 0.4976 GB, free: 29.3 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.3105, allocations: 0 / 0.4976 GB, free: 29.3 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.682e-06/0.3105, allocations: 0 / 0.4976 GB, free: 29.3 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.858e-06/0.3105, allocations: 0 / 0.4976 GB, free: 29.3 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.163e-05/0.3106, allocations: 28.89 kB / 0.4976 GB, free: 29.27 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.674e-05/0.3106, allocations: 100.5 kB / 0.4977 GB, free: 29.14 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.123e-05/0.3107, allocations: 47.8 kB / 0.4978 GB, free: 29.09 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.522e-05/0.3107, allocations: 33.78 kB / 0.4978 GB, free: 29.05 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.794e-06/0.3107, allocations: 0 / 0.4978 GB, free: 29.05 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.583e-05/0.3107, allocations: 63.23 kB / 0.4979 GB, free: 28.97 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/0.3107, allocations: 0 / 0.4979 GB, free: 28.97 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001492/0.3109, allocations: 120.4 kB / 0.498 GB, free: 28.84 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.836e-05/0.3109, allocations: 80.3 kB / 0.498 GB, free: 28.75 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.908e-05/0.3109, allocations: 93.81 kB / 0.4981 GB, free: 28.64 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.931e-06/0.3109, allocations: 25.7 kB / 0.4982 GB, free: 28.61 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.056e-05/0.3109, allocations: 84.27 kB / 0.4982 GB, free: 28.53 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.74e-05/0.311, allocations: 0 / 0.4982 GB, free: 28.53 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.199e-05/0.311, allocations: 13 kB / 0.4983 GB, free: 28.51 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.754e-05/0.311, allocations: 314.3 kB / 0.4986 GB, free: 28.2 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.324e-05/0.311, allocations: 29.02 kB / 0.4986 GB, free: 28.17 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.679e-06/0.311, allocations: 33.64 kB / 0.4986 GB, free: 28.13 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.756e-05/0.3111, allocations: 63.11 kB / 0.4987 GB, free: 28.05 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.3111, allocations: 0 / 0.4987 GB, free: 28.05 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.269e-05/0.3111, allocations: 97.52 kB / 0.4988 GB, free: 27.95 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.3111, allocations: 35.58 kB / 0.4988 GB, free: 27.92 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.3111, allocations: 0 / 0.4988 GB, free: 27.92 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.3112, allocations: 3.938 kB / 0.4988 GB, free: 27.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.31e-07/0.3112, allocations: 0 / 0.4988 GB, free: 27.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.3112, allocations: 0 / 0.4988 GB, free: 27.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.475e-05/0.3112, allocations: 7.031 kB / 0.4988 GB, free: 27.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.3112, allocations: 0 / 0.4988 GB, free: 27.91 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: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 4.415e-05/0.3112, allocations: 138 kB / 0.4989 GB, free: 27.77 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.084e-06/0.3112, allocations: 0 / 0.4989 GB, free: 27.77 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.087e-06/0.3112, allocations: 6.938 kB / 0.4989 GB, free: 27.76 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.72e-07/0.3112, allocations: 0 / 0.4989 GB, free: 27.76 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.3112, allocations: 7.125 kB / 0.499 GB, free: 27.75 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.824e-06/0.3112, allocations: 3.938 kB / 0.499 GB, free: 27.75 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.724e-05/0.3113, allocations: 93.33 kB / 0.499 GB, free: 27.63 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.3113, allocations: 7.5 kB / 0.4991 GB, free: 27.62 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.91e-07/0.3113, allocations: 0 / 0.4991 GB, free: 27.62 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-06/0.3113, allocations: 3 kB / 0.4991 GB, free: 27.62 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.23e-06/0.3113, allocations: 0 / 0.4991 GB, free: 27.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.3113, allocations: 3.938 kB / 0.4991 GB, free: 27.62 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.3113, allocations: 0 / 0.4991 GB, free: 27.62 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.65e-05/0.3114, allocations: 116.5 kB / 0.4992 GB, free: 27.49 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.567e-06/0.3114, allocations: 4.031 kB / 0.4992 GB, free: 27.49 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.048e-05/0.3114, allocations: 3.219 kB / 0.4992 GB, free: 27.49 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.606e-06/0.3114, allocations: 3.938 kB / 0.4992 GB, free: 27.48 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.033e-05/0.3114, allocations: 4 kB / 0.4992 GB, free: 27.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.986e-06/0.3114, allocations: 3.25 kB / 0.4992 GB, free: 27.48 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.06e-05/0.3114, allocations: 75.28 kB / 0.4993 GB, free: 27.41 MB / 446.1 MB Notification: Performance of sort global known variables: time 5e-08/0.3114, allocations: 0 / 0.4993 GB, free: 27.41 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002667/0.3117, allocations: 60.84 kB / 0.4993 GB, free: 27.39 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: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0003573/0.312, allocations: 200.1 kB / 0.4995 GB, free: 27.27 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 8.894e-05/0.3121, allocations: 116.2 kB / 0.4996 GB, free: 27.14 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.3121, allocations: 4.062 kB / 0.4996 GB, free: 27.13 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.259e-05/0.3121, allocations: 83.3 kB / 0.4997 GB, free: 27.04 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000121/0.3123, allocations: 0 / 0.4997 GB, free: 27.04 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001464/0.3124, allocations: 117.5 kB / 0.4998 GB, free: 26.91 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.454e-05/0.3124, allocations: 54.39 kB / 0.4999 GB, free: 26.84 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.671e-06/0.3124, allocations: 4 kB / 0.4999 GB, free: 26.83 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.037e-06/0.3125, allocations: 8.5 kB / 0.4999 GB, free: 26.82 MB / 446.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3125, allocations: 0 / 0.4999 GB, free: 26.82 MB / 446.1 MB Notification: Performance of Templates: time 0.003446/0.3159, allocations: 1.301 MB / 0.5012 GB, free: 26.69 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestMatrices/TestMatrices.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.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: 4.758474515983835]