Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b") translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00119/0.00119, allocations: 184.3 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.722/1.722, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008164/0.0008163, allocations: 82.86 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.238/0.238, allocations: 43.56 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003816/0.0003816, allocations: 12 kB / 431.4 MB, free: 19.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1352, allocations: 58.86 MB / 490.2 MB, free: 8.68 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3878/0.523, allocations: 88.68 MB / 0.5653 GB, free: 11.17 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002481/0.5233, allocations: 63.53 kB / 0.5654 GB, free: 11.14 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06889/0.5922, allocations: 25.72 MB / 0.5905 GB, free: 5.215 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.5923, allocations: 0 / 0.5905 GB, free: 5.215 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.558e-06/0.5923, allocations: 0 / 0.5905 GB, free: 5.215 MB / 394.7 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.0006911/0.593, allocations: 436.3 kB / 0.5909 GB, free: 4.738 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.933e-05/0.5931, allocations: 15.97 kB / 0.591 GB, free: 4.723 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.334e-05/0.5931, allocations: 7.953 kB / 0.591 GB, free: 4.715 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001042/0.5932, allocations: 163.1 kB / 0.5911 GB, free: 4.516 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.473e-05/0.5933, allocations: 0 / 0.5911 GB, free: 4.516 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.834e-06/0.5933, allocations: 0 / 0.5911 GB, free: 4.516 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.737e-05/0.5934, allocations: 33.02 kB / 0.5912 GB, free: 4.48 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.5934, allocations: 3.938 kB / 0.5912 GB, free: 4.477 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.5934, allocations: 3.984 kB / 0.5912 GB, free: 4.473 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.5934, allocations: 0 / 0.5912 GB, free: 4.473 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.875e-05/0.5935, allocations: 0 / 0.5912 GB, free: 4.473 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000161/0.5936, allocations: 157.6 kB / 0.5913 GB, free: 4.27 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.93e-05/0.5937, allocations: 14.58 kB / 0.5913 GB, free: 4.246 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.203e-06/0.5937, allocations: 0 / 0.5913 GB, free: 4.246 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.025e-05/0.5937, allocations: 60.3 kB / 0.5914 GB, free: 4.176 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 8.31e-07/0.5938, allocations: 4 kB / 0.5914 GB, free: 4.172 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001801/0.5939, allocations: 63.33 kB / 0.5914 GB, free: 4.098 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.116e-05/0.594, allocations: 85.23 kB / 0.5915 GB, free: 3.996 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.925e-05/0.5941, allocations: 85 kB / 0.5916 GB, free: 3.906 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.236e-05/0.5941, allocations: 25.7 kB / 0.5916 GB, free: 3.875 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.234e-05/0.5941, allocations: 80.14 kB / 0.5917 GB, free: 3.793 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.191e-05/0.5941, allocations: 0 / 0.5917 GB, free: 3.793 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.104e-06/0.5941, allocations: 0 / 0.5917 GB, free: 3.793 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.5943, allocations: 318.4 kB / 0.592 GB, free: 3.477 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.076e-05/0.5943, allocations: 4 kB / 0.592 GB, free: 3.473 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.737e-06/0.5943, allocations: 0 / 0.592 GB, free: 3.473 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.639e-05/0.5943, allocations: 29.77 kB / 0.592 GB, free: 3.438 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.5944, allocations: 0 / 0.592 GB, free: 3.438 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.593e-05/0.5944, allocations: 67.33 kB / 0.5921 GB, free: 3.359 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.378e-05/0.5945, allocations: 32.36 kB / 0.5921 GB, free: 3.324 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.5945, allocations: 0 / 0.5921 GB, free: 3.324 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.5945, allocations: 4 kB / 0.5921 GB, free: 3.32 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.71e-07/0.5945, allocations: 0 / 0.5921 GB, free: 3.32 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.5945, allocations: 0 / 0.5921 GB, free: 3.32 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.143e-05/0.5945, allocations: 0 / 0.5921 GB, free: 3.32 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.5945, allocations: 3.281 kB / 0.5921 GB, free: 3.32 MB / 394.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.955e-05/0.5946, allocations: 147.5 kB / 0.5923 GB, free: 3.16 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.035e-06/0.5947, allocations: 7.922 kB / 0.5923 GB, free: 3.152 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.289e-05/0.5947, allocations: 7.125 kB / 0.5923 GB, free: 3.141 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-06/0.5947, allocations: 3.938 kB / 0.5923 GB, free: 3.137 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.5947, allocations: 0 / 0.5923 GB, free: 3.137 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.5947, allocations: 0 / 0.5923 GB, free: 3.137 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001015/0.5948, allocations: 149.6 kB / 0.5924 GB, free: 2.941 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.5948, allocations: 0 / 0.5924 GB, free: 2.941 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.5e-07/0.5948, allocations: 0 / 0.5924 GB, free: 2.941 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.5948, allocations: 7.984 kB / 0.5925 GB, free: 2.934 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-06/0.5948, allocations: 0 / 0.5925 GB, free: 2.934 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.5948, allocations: 0 / 0.5925 GB, free: 2.934 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.5949, allocations: 0 / 0.5925 GB, free: 2.934 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.28e-05/0.595, allocations: 93.28 kB / 0.5925 GB, free: 2.824 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.78e-05/0.595, allocations: 85.05 kB / 0.5926 GB, free: 2.723 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.209e-05/0.595, allocations: 0 / 0.5926 GB, free: 2.723 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.015e-05/0.595, allocations: 8.031 kB / 0.5926 GB, free: 2.715 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.229e-05/0.5951, allocations: 0 / 0.5926 GB, free: 2.715 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.324e-06/0.5951, allocations: 0 / 0.5926 GB, free: 2.715 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.751e-05/0.5951, allocations: 75.28 kB / 0.5927 GB, free: 2.641 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5951, allocations: 0 / 0.5927 GB, free: 2.641 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005052/0.5956, allocations: 163 kB / 0.5929 GB, free: 2.484 MB / 394.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000872/0.5965, allocations: 339.3 kB / 0.5932 GB, free: 2.156 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 8.765e-05/0.5966, allocations: 67.39 kB / 0.5932 GB, free: 2.078 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.5966, allocations: 0 / 0.5932 GB, free: 2.078 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.385e-05/0.5967, allocations: 59.34 kB / 0.5933 GB, free: 2.008 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.587e-05/0.5967, allocations: 2.969 kB / 0.5933 GB, free: 2.008 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001901/0.5969, allocations: 80.78 kB / 0.5934 GB, free: 1.906 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002925/0.5972, allocations: 0.6731 MB / 0.594 GB, free: 1.207 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 8.446e-06/0.5973, allocations: 0 / 0.594 GB, free: 1.207 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.332e-05/0.5973, allocations: 11.44 kB / 0.5941 GB, free: 1.195 MB / 394.7 MB Notification: Performance of SimCode: time 2.21e-07/0.5973, allocations: 128 / 0.5941 GB, free: 1.195 MB / 394.7 MB Notification: Performance of Templates: time 0.008552/0.6058, allocations: 4.544 MB / 0.5985 GB, free: 12.66 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.sim & ./ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/TestMatrices2b/TestMatrices2b.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches