Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2.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.001388/0.001388, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001474/0.001474, allocations: 211.5 kB / 24.48 MB, free: 3.938 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.686/1.686, allocations: 230.6 MB / 258.3 MB, free: 7.734 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2287/0.2287, allocations: 46.96 MB / 361.6 MB, free: 4.098 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+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.TestMatrices2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2") translateModel(ModelicaTest.Math.TestMatrices2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002149/0.002149, allocations: 59.89 kB / 0.4973 GB, free: 7.215 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3199/0.322, allocations: 66.04 MB / 0.5618 GB, free: 4.152 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2): time 0.001771/0.3238, allocations: 489.1 kB / 0.5623 GB, free: 3.672 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007984/0.3318, allocations: 4.577 MB / 0.5667 GB, free: 15.07 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.964e-05/0.3318, allocations: 0 / 0.5667 GB, free: 15.07 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.643e-05/0.3318, allocations: 0 / 0.5667 GB, free: 15.07 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 7.233e-06/0.3318, allocations: 0 / 0.5667 GB, free: 15.07 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/Math.mo:214:3-483:16:writable] Warning: Pure function 'ModelicaTest.Math.Matrices2' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.008412/0.3402, allocations: 3.27 MB / 0.5699 GB, free: 11.81 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 5.052e-05/0.3403, allocations: 0 / 0.5699 GB, free: 11.81 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.26e-05/0.3403, allocations: 3.984 kB / 0.5699 GB, free: 11.8 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.709e-05/0.3403, allocations: 4 kB / 0.5699 GB, free: 11.8 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.764e-05/0.3404, allocations: 0 / 0.5699 GB, free: 11.8 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.412e-06/0.3404, allocations: 0 / 0.5699 GB, free: 11.8 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03007/0.3704, allocations: 19.8 MB / 0.5893 GB, free: 7.977 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.477e-05/0.3704, allocations: 0 / 0.5893 GB, free: 7.977 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.66e-05/0.3705, allocations: 0 / 0.5893 GB, free: 7.977 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03663/0.4071, allocations: 26.14 MB / 0.6148 GB, free: 13.8 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.4071, allocations: 0 / 0.6148 GB, free: 13.8 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.4071, allocations: 0 / 0.6148 GB, free: 13.8 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.137e-06/0.4071, allocations: 4 kB / 0.6148 GB, free: 13.79 MB / 462.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.007026/0.4141, allocations: 0.5904 MB / 0.6154 GB, free: 13.17 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.4142, allocations: 12.03 kB / 0.6154 GB, free: 13.16 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.69e-05/0.4142, allocations: 4.938 kB / 0.6154 GB, free: 13.15 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.442e-05/0.4143, allocations: 109.4 kB / 0.6155 GB, free: 13.02 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.4143, allocations: 4 kB / 0.6155 GB, free: 13.02 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.735e-06/0.4143, allocations: 7.938 kB / 0.6155 GB, free: 13.01 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001078/0.4144, allocations: 59.33 kB / 0.6156 GB, free: 12.94 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.4145, allocations: 4 kB / 0.6156 GB, free: 12.93 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.889e-06/0.4145, allocations: 0 / 0.6156 GB, free: 12.93 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.4145, allocations: 0 / 0.6156 GB, free: 12.93 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.299e-05/0.4145, allocations: 25.7 kB / 0.6156 GB, free: 12.9 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001265/0.4146, allocations: 101.3 kB / 0.6157 GB, free: 12.77 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.296e-05/0.4147, allocations: 48.22 kB / 0.6157 GB, free: 12.71 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.24e-05/0.4147, allocations: 34.66 kB / 0.6158 GB, free: 12.67 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.093e-05/0.4147, allocations: 7.984 kB / 0.6158 GB, free: 12.66 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.298e-05/0.4148, allocations: 56.27 kB / 0.6158 GB, free: 12.59 MB / 462.1 MB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.4148, allocations: 3.938 kB / 0.6158 GB, free: 12.59 MB / 462.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002053/0.415, allocations: 114.8 kB / 0.6159 GB, free: 12.45 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.207e-05/0.4151, allocations: 85.09 kB / 0.616 GB, free: 12.35 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.542e-05/0.4151, allocations: 89.86 kB / 0.6161 GB, free: 12.25 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.385e-05/0.4151, allocations: 25.7 kB / 0.6161 GB, free: 12.22 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.316e-05/0.4152, allocations: 80.14 kB / 0.6162 GB, free: 12.14 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.51e-05/0.4152, allocations: 0 / 0.6162 GB, free: 12.14 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.991e-05/0.4152, allocations: 13.72 kB / 0.6162 GB, free: 12.12 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.4153, allocations: 318.9 kB / 0.6165 GB, free: 11.8 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.735e-05/0.4154, allocations: 29.7 kB / 0.6166 GB, free: 11.76 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.114e-05/0.4154, allocations: 29.7 kB / 0.6166 GB, free: 11.73 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.645e-05/0.4154, allocations: 68.19 kB / 0.6167 GB, free: 11.64 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.4154, allocations: 0 / 0.6167 GB, free: 11.64 MB / 462.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.855e-05/0.4155, allocations: 85.11 kB / 0.6167 GB, free: 11.54 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.508e-05/0.4156, allocations: 33.7 kB / 0.6168 GB, free: 11.5 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.4156, allocations: 0 / 0.6168 GB, free: 11.5 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.4156, allocations: 0 / 0.6168 GB, free: 11.5 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.41e-07/0.4156, allocations: 4.094 kB / 0.6168 GB, free: 11.5 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.4156, allocations: 3.984 kB / 0.6168 GB, free: 11.5 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.69e-05/0.4156, allocations: 0 / 0.6168 GB, free: 11.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.4156, allocations: 4 kB / 0.6168 GB, free: 11.49 MB / 462.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 9.15e-05/0.4157, allocations: 135.5 kB / 0.6169 GB, free: 11.34 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.969e-06/0.4157, allocations: 4 kB / 0.6169 GB, free: 11.34 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.18e-05/0.4157, allocations: 3 kB / 0.6169 GB, free: 11.34 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.4157, allocations: 0 / 0.6169 GB, free: 11.34 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.4157, allocations: 0 / 0.6169 GB, free: 11.34 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.4157, allocations: 0 / 0.6169 GB, free: 11.34 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.637e-05/0.4158, allocations: 101.2 kB / 0.617 GB, free: 11.21 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.4158, allocations: 8 kB / 0.617 GB, free: 11.2 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4e-07/0.4158, allocations: 0 / 0.617 GB, free: 11.2 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.4158, allocations: 7.922 kB / 0.617 GB, free: 11.19 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.4158, allocations: 3.938 kB / 0.617 GB, free: 11.19 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.4158, allocations: 3.938 kB / 0.617 GB, free: 11.18 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.4158, allocations: 4 kB / 0.617 GB, free: 11.18 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001158/0.4159, allocations: 120.5 kB / 0.6172 GB, free: 11.03 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.347e-06/0.416, allocations: 7.938 kB / 0.6172 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.168e-05/0.416, allocations: 4 kB / 0.6172 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.226e-06/0.416, allocations: 0 / 0.6172 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.908e-06/0.416, allocations: 4.031 kB / 0.6172 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-06/0.416, allocations: 0 / 0.6172 GB, free: 11.02 MB / 462.1 MB Notification: Performance of sorting global known variables: time 3.614e-05/0.416, allocations: 79.28 kB / 0.6172 GB, free: 10.94 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.416, allocations: 0 / 0.6172 GB, free: 10.94 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.01043/0.4264, allocations: 3.78 MB / 0.6209 GB, free: 7.156 MB / 462.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.02072/0.4472, allocations: 0.9861 MB / 0.6219 GB, free: 6.188 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0001596/0.4473, allocations: 118.8 kB / 0.622 GB, free: 6.047 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.4473, allocations: 4.062 kB / 0.622 GB, free: 6.043 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 5.233e-05/0.4474, allocations: 81.11 kB / 0.6221 GB, free: 5.945 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001399/0.4475, allocations: 3.938 kB / 0.6221 GB, free: 5.941 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002262/0.4478, allocations: 136.5 kB / 0.6222 GB, free: 5.77 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.465e-05/0.4478, allocations: 55.36 kB / 0.6223 GB, free: 5.695 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.687e-05/0.4478, allocations: 11.44 kB / 0.6223 GB, free: 5.684 MB / 462.1 MB Notification: Performance of SimCode: time 7.11e-07/0.4478, allocations: 0 / 0.6223 GB, free: 5.684 MB / 462.1 MB Notification: Performance of Templates: time 0.1004/0.5482, allocations: 64.88 MB / 0.6856 GB, free: 4.703 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestMatrices2/TestMatrices2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2.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: 25.257690960075706]