Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Math.TestMatrices2b") translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices2b") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001327/0.001327, allocations: 177.3 kB / 17.41 MB, free: 4.414 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.36/1.36, allocations: 205.4 MB / 223.6 MB, free: 9.039 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.0006908/0.0006907, allocations: 84.94 kB / 271.9 MB, free: 8.281 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3548/0.3548, allocations: 43.56 MB / 363.8 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003773/0.0003775, allocations: 12 kB / 432.6 MB, free: 5.906 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.119, allocations: 58.86 MB / 491.4 MB, free: 10.96 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3465/0.4656, allocations: 88.73 MB / 0.5666 GB, free: 13.72 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002415/0.4658, allocations: 67.97 kB / 0.5666 GB, free: 13.66 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05465/0.5205, allocations: 22.38 MB / 0.5885 GB, free: 7.277 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.096e-06/0.5206, allocations: 0 / 0.5885 GB, free: 7.277 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.314e-06/0.5206, allocations: 0 / 0.5885 GB, free: 7.277 MB / 410.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.0008163/0.5214, allocations: 449.9 kB / 0.5889 GB, free: 6.781 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6e-05/0.5215, allocations: 16.02 kB / 0.5889 GB, free: 6.766 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.044e-05/0.5215, allocations: 0.9375 kB / 0.5889 GB, free: 6.766 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001336/0.5217, allocations: 160.4 kB / 0.5891 GB, free: 6.57 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.5217, allocations: 384 / 0.5891 GB, free: 6.57 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.776e-05/0.5217, allocations: 384 / 0.5891 GB, free: 6.57 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001281/0.5219, allocations: 34.2 kB / 0.5891 GB, free: 6.531 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.5219, allocations: 192 / 0.5891 GB, free: 6.531 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.5219, allocations: 3.938 kB / 0.5891 GB, free: 6.527 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.5219, allocations: 3.984 kB / 0.5891 GB, free: 6.523 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.255e-05/0.5219, allocations: 4 kB / 0.5891 GB, free: 6.52 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001928/0.5221, allocations: 150.2 kB / 0.5893 GB, free: 6.324 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.585e-05/0.5222, allocations: 18.58 kB / 0.5893 GB, free: 6.297 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.762e-05/0.5222, allocations: 8.953 kB / 0.5893 GB, free: 6.285 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.576e-06/0.5222, allocations: 3.938 kB / 0.5893 GB, free: 6.281 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.532e-05/0.5223, allocations: 56.27 kB / 0.5894 GB, free: 6.211 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.5223, allocations: 0 / 0.5894 GB, free: 6.211 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001942/0.5225, allocations: 78.69 kB / 0.5894 GB, free: 6.125 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.234e-05/0.5226, allocations: 85.05 kB / 0.5895 GB, free: 6.023 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.464e-05/0.5226, allocations: 89.86 kB / 0.5896 GB, free: 5.926 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.463e-05/0.5227, allocations: 25.7 kB / 0.5896 GB, free: 5.895 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.053e-05/0.5227, allocations: 80.14 kB / 0.5897 GB, free: 5.812 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.088e-05/0.5227, allocations: 2.031 kB / 0.5897 GB, free: 5.812 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.003e-06/0.5227, allocations: 4 kB / 0.5897 GB, free: 5.809 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.5229, allocations: 311 kB / 0.59 GB, free: 5.496 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.564e-06/0.5229, allocations: 4 kB / 0.59 GB, free: 5.492 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.226e-06/0.5229, allocations: 3.938 kB / 0.59 GB, free: 5.488 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.404e-05/0.523, allocations: 64.25 kB / 0.5901 GB, free: 5.41 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.523, allocations: 0 / 0.5901 GB, free: 5.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.048e-05/0.5231, allocations: 63.41 kB / 0.5901 GB, free: 5.336 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.274e-05/0.5231, allocations: 29.7 kB / 0.5902 GB, free: 5.301 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.5231, allocations: 0 / 0.5902 GB, free: 5.301 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.5231, allocations: 3.938 kB / 0.5902 GB, free: 5.297 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.583e-06/0.5231, allocations: 4.094 kB / 0.5902 GB, free: 5.293 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.212e-05/0.5232, allocations: 7.984 kB / 0.5902 GB, free: 5.285 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.418e-05/0.5232, allocations: 0 / 0.5902 GB, free: 5.285 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.164e-06/0.5232, allocations: 0 / 0.5902 GB, free: 5.285 MB / 410.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 0.0001074/0.5233, allocations: 131.5 kB / 0.5903 GB, free: 5.141 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.083e-05/0.5233, allocations: 4 kB / 0.5903 GB, free: 5.137 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.549e-05/0.5233, allocations: 11 kB / 0.5903 GB, free: 5.129 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.5233, allocations: 0 / 0.5903 GB, free: 5.129 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.5234, allocations: 0 / 0.5903 GB, free: 5.129 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.5234, allocations: 4 kB / 0.5903 GB, free: 5.125 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001152/0.5235, allocations: 149.7 kB / 0.5905 GB, free: 4.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.5235, allocations: 4 kB / 0.5905 GB, free: 4.926 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.002e-06/0.5235, allocations: 0 / 0.5905 GB, free: 4.926 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.5235, allocations: 0 / 0.5905 GB, free: 4.926 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.709e-06/0.5235, allocations: 3.938 kB / 0.5905 GB, free: 4.922 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.5235, allocations: 0 / 0.5905 GB, free: 4.922 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.5235, allocations: 0 / 0.5905 GB, free: 4.922 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001013/0.5236, allocations: 94.83 kB / 0.5906 GB, free: 4.805 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.805e-05/0.5237, allocations: 77.11 kB / 0.5906 GB, free: 4.711 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.467e-05/0.5237, allocations: 3.938 kB / 0.5906 GB, free: 4.707 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.191e-05/0.5237, allocations: 4.75 kB / 0.5906 GB, free: 4.703 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.816e-05/0.5238, allocations: 7.938 kB / 0.5907 GB, free: 4.695 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.5238, allocations: 0 / 0.5907 GB, free: 4.695 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.979e-05/0.5238, allocations: 75.28 kB / 0.5907 GB, free: 4.621 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.493e-06/0.5238, allocations: 0 / 0.5907 GB, free: 4.621 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005477/0.5244, allocations: 159.8 kB / 0.5909 GB, free: 4.465 MB / 410.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.0009981/0.5254, allocations: 352.6 kB / 0.5912 GB, free: 4.129 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001168/0.5255, allocations: 63.41 kB / 0.5913 GB, free: 4.055 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.5255, allocations: 0 / 0.5913 GB, free: 4.055 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.087e-05/0.5255, allocations: 51.41 kB / 0.5913 GB, free: 3.992 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001273/0.5257, allocations: 7.984 kB / 0.5913 GB, free: 3.984 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001919/0.5259, allocations: 103.1 kB / 0.5914 GB, free: 3.852 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002601/0.5261, allocations: 0.6772 MB / 0.5921 GB, free: 3.148 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.446e-05/0.5262, allocations: 7.438 kB / 0.5921 GB, free: 3.141 MB / 410.7 MB Notification: Performance of SimCode: time 2.1e-07/0.5262, allocations: 0 / 0.5921 GB, free: 3.141 MB / 410.7 MB Notification: Performance of Templates: time 0.006641/0.5328, allocations: 3.509 MB / 0.5955 GB, free: 15.63 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices2b.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices2b.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices2b.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices2b.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices2b.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices2b --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices2b.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices2b_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/TestMatrices2b/TestMatrices2b.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices2b.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches