Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2.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.001225/0.001225, allocations: 116.9 kB / 19.13 MB, free: 3.922 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.001391/0.001392, allocations: 214.5 kB / 22.08 MB, free: 0.9727 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.452/1.452, allocations: 227.4 MB / 252.3 MB, free: 60 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2336/0.2336, allocations: 46.16 MB / 351.8 MB, free: 14.27 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.TestMatrices2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2") translateModel(ModelicaTest.Math.TestMatrices2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0023/0.002301, allocations: 85.08 kB / 490.8 MB, free: 28.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.117, allocations: 62.45 MB / 0.5403 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2): time 0.001614/0.1187, allocations: 492.9 kB / 0.5408 GB, free: 3.766 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007743/0.1264, allocations: 4.889 MB / 0.5456 GB, free: 14.85 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.14e-05/0.1265, allocations: 4 kB / 0.5456 GB, free: 14.85 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.442e-05/0.1265, allocations: 4 kB / 0.5456 GB, free: 14.84 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 7.574e-06/0.1266, allocations: 0 / 0.5456 GB, free: 14.84 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.007416/0.134, allocations: 2.937 MB / 0.5484 GB, free: 11.92 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 6.181e-05/0.1341, allocations: 7.984 kB / 0.5485 GB, free: 11.91 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.586e-05/0.1342, allocations: 0 / 0.5485 GB, free: 11.91 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.85e-05/0.1342, allocations: 7.922 kB / 0.5485 GB, free: 11.9 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.78e-05/0.1342, allocations: 0 / 0.5485 GB, free: 11.9 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.103e-06/0.1342, allocations: 0 / 0.5485 GB, free: 11.9 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02823/0.1624, allocations: 18.82 MB / 0.5668 GB, free: 9.066 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.466e-05/0.1625, allocations: 8 kB / 0.5668 GB, free: 9.059 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.849e-05/0.1625, allocations: 0 / 0.5668 GB, free: 9.059 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03806/0.2006, allocations: 27.48 MB / 0.5937 GB, free: 13.53 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.311e-06/0.2007, allocations: 0 / 0.5937 GB, free: 13.53 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2007, allocations: 3.938 kB / 0.5937 GB, free: 13.53 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.522e-06/0.2007, allocations: 0 / 0.5937 GB, free: 13.53 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.008002/0.2087, allocations: 0.6735 MB / 0.5943 GB, free: 12.8 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.2088, allocations: 8.031 kB / 0.5943 GB, free: 12.79 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.744e-05/0.2088, allocations: 0.9375 kB / 0.5944 GB, free: 12.79 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001285/0.2089, allocations: 171.7 kB / 0.5945 GB, free: 12.59 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.655e-05/0.209, allocations: 8 kB / 0.5945 GB, free: 12.58 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.536e-06/0.209, allocations: 0 / 0.5945 GB, free: 12.58 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.756e-05/0.2091, allocations: 25.7 kB / 0.5945 GB, free: 12.55 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.2091, allocations: 3.938 kB / 0.5946 GB, free: 12.54 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.617e-06/0.2091, allocations: 4 kB / 0.5946 GB, free: 12.54 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.2091, allocations: 0 / 0.5946 GB, free: 12.54 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.767e-05/0.2092, allocations: 0 / 0.5946 GB, free: 12.54 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001551/0.2093, allocations: 145.6 kB / 0.5947 GB, free: 12.35 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.716e-05/0.2094, allocations: 34.53 kB / 0.5947 GB, free: 12.3 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.41e-05/0.2094, allocations: 4.859 kB / 0.5947 GB, free: 12.3 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.849e-06/0.2094, allocations: 0 / 0.5947 GB, free: 12.3 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.771e-05/0.2095, allocations: 60.33 kB / 0.5948 GB, free: 12.22 MB / 462.1 MB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.2095, allocations: 0 / 0.5948 GB, free: 12.22 MB / 462.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002014/0.2097, allocations: 59.41 kB / 0.5948 GB, free: 12.15 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.233e-05/0.2098, allocations: 81.09 kB / 0.5949 GB, free: 12.05 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.022e-05/0.2098, allocations: 97.98 kB / 0.595 GB, free: 11.95 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/0.2098, allocations: 25.7 kB / 0.595 GB, free: 11.92 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.033e-05/0.2099, allocations: 84.08 kB / 0.5951 GB, free: 11.83 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.068e-05/0.2099, allocations: 0 / 0.5951 GB, free: 11.83 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.167e-05/0.2099, allocations: 13.72 kB / 0.5951 GB, free: 11.81 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.2101, allocations: 318.8 kB / 0.5954 GB, free: 11.49 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.083e-05/0.2101, allocations: 0 / 0.5954 GB, free: 11.49 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.422e-06/0.2101, allocations: 0 / 0.5954 GB, free: 11.49 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.855e-05/0.2102, allocations: 68.33 kB / 0.5955 GB, free: 11.41 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.2102, allocations: 3.984 kB / 0.5955 GB, free: 11.41 MB / 462.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.24e-05/0.2103, allocations: 59.41 kB / 0.5956 GB, free: 11.34 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.332e-05/0.2103, allocations: 29.7 kB / 0.5956 GB, free: 11.3 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.2103, allocations: 4 kB / 0.5956 GB, free: 11.3 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.2103, allocations: 0 / 0.5956 GB, free: 11.3 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5e-06/0.2103, allocations: 4 kB / 0.5956 GB, free: 11.29 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.2103, allocations: 3.938 kB / 0.5956 GB, free: 11.29 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.77e-05/0.2104, allocations: 0 / 0.5956 GB, free: 11.29 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.714e-06/0.2104, allocations: 4.031 kB / 0.5956 GB, free: 11.29 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.564e-05/0.2105, allocations: 143.5 kB / 0.5957 GB, free: 11.13 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.605e-06/0.2105, allocations: 0 / 0.5957 GB, free: 11.13 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.229e-05/0.2105, allocations: 7.125 kB / 0.5958 GB, free: 11.12 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.2105, allocations: 3.938 kB / 0.5958 GB, free: 11.12 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.2105, allocations: 0 / 0.5958 GB, free: 11.12 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.2105, allocations: 7.984 kB / 0.5958 GB, free: 11.11 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001087/0.2107, allocations: 153.5 kB / 0.5959 GB, free: 10.91 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.2107, allocations: 0 / 0.5959 GB, free: 10.91 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.11e-07/0.2107, allocations: 4 kB / 0.5959 GB, free: 10.91 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.2107, allocations: 0 / 0.5959 GB, free: 10.91 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.771e-06/0.2107, allocations: 0 / 0.5959 GB, free: 10.91 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.2107, allocations: 4 kB / 0.5959 GB, free: 10.91 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2107, allocations: 0 / 0.5959 GB, free: 10.91 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.755e-05/0.2108, allocations: 90.77 kB / 0.596 GB, free: 10.79 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.247e-05/0.2109, allocations: 77.11 kB / 0.5961 GB, free: 10.7 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.482e-05/0.2109, allocations: 4 kB / 0.5961 GB, free: 10.7 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.075e-06/0.2109, allocations: 7.969 kB / 0.5961 GB, free: 10.69 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.018e-05/0.2109, allocations: 0 / 0.5961 GB, free: 10.69 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-06/0.2109, allocations: 0 / 0.5961 GB, free: 10.69 MB / 462.1 MB Notification: Performance of sorting global known variables: time 3.358e-05/0.211, allocations: 75.28 kB / 0.5962 GB, free: 10.61 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.211, allocations: 0 / 0.5962 GB, free: 10.61 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.01085/0.2218, allocations: 3.791 MB / 0.5999 GB, free: 6.82 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.01976/0.2416, allocations: 0.9803 MB / 0.6008 GB, free: 5.844 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.000166/0.2418, allocations: 63.33 kB / 0.6009 GB, free: 5.77 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.2418, allocations: 0 / 0.6009 GB, free: 5.77 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 4.069e-05/0.2419, allocations: 59.34 kB / 0.6009 GB, free: 5.699 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001598/0.242, allocations: 6.25 kB / 0.6009 GB, free: 5.695 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002085/0.2422, allocations: 102.8 kB / 0.601 GB, free: 5.562 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002746/0.2425, allocations: 0.6806 MB / 0.6017 GB, free: 4.855 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.47e-05/0.2426, allocations: 7.438 kB / 0.6017 GB, free: 4.848 MB / 462.1 MB Notification: Performance of SimCode: time 3.5e-07/0.2426, allocations: 8.125 kB / 0.6017 GB, free: 4.84 MB / 462.1 MB Notification: Performance of Templates: time 0.3204/0.563, allocations: 64.86 MB / 0.6651 GB, free: 2.062 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestMatrices2/TestMatrices2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 23.170589765999466]