Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test25.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.Tables.CombiTable2D.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test25") translateModel(ModelicaTest.Tables.CombiTable2D.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002229/0.002229, allocations: 181.9 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.217/2.217, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001093/0.001093, allocations: 78.67 kB / 267.5 MB, free: 14.05 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.2835/0.2835, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.76e-05/3.795e-05, allocations: 4 kB / 425.3 MB, free: 23.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1225, allocations: 58.85 MB / 484.1 MB, free: 12.47 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4958/0.6184, allocations: 86.74 MB / 0.5575 GB, free: 0.8711 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002684/0.6187, allocations: 84.41 kB / 0.5576 GB, free: 0.8242 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01751/0.6362, allocations: 4.106 MB / 0.5616 GB, free: 13.32 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.6363, allocations: 0 / 0.5616 GB, free: 13.32 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.737e-05/0.6363, allocations: 3.938 kB / 0.5616 GB, free: 13.31 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005672/0.6369, allocations: 385.5 kB / 0.562 GB, free: 12.9 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.296e-05/0.637, allocations: 8.031 kB / 0.562 GB, free: 12.89 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.666e-05/0.637, allocations: 11.86 kB / 0.562 GB, free: 12.88 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003444/0.6374, allocations: 199.2 kB / 0.5622 GB, free: 12.65 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.6374, allocations: 3.938 kB / 0.5622 GB, free: 12.65 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.829e-05/0.6375, allocations: 8 kB / 0.5622 GB, free: 12.64 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001479/0.6376, allocations: 45.27 kB / 0.5622 GB, free: 12.6 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.659e-05/0.6377, allocations: 3.984 kB / 0.5622 GB, free: 12.59 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.693e-05/0.6377, allocations: 4 kB / 0.5622 GB, free: 12.59 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/0.6377, allocations: 0 / 0.5622 GB, free: 12.59 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.477e-05/0.6378, allocations: 15.75 kB / 0.5622 GB, free: 12.58 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001105/0.6389, allocations: 291.7 kB / 0.5625 GB, free: 12.27 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002646/0.6393, allocations: 38.39 kB / 0.5626 GB, free: 12.22 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001004/0.6394, allocations: 16.48 kB / 0.5626 GB, free: 12.21 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.069e-05/0.6395, allocations: 0 / 0.5626 GB, free: 12.21 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.747e-05/0.6395, allocations: 34.59 kB / 0.5626 GB, free: 12.17 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 2.565e-06/0.6395, allocations: 0 / 0.5626 GB, free: 12.17 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.00107/0.6406, allocations: 152.4 kB / 0.5628 GB, free: 12.03 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.376e-05/0.6407, allocations: 55.41 kB / 0.5628 GB, free: 11.96 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003383/0.6411, allocations: 149.5 kB / 0.563 GB, free: 11.82 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.808e-05/0.6411, allocations: 29.08 kB / 0.563 GB, free: 11.79 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001358/0.6413, allocations: 166 kB / 0.5631 GB, free: 11.63 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.007e-05/0.6414, allocations: 27.45 kB / 0.5632 GB, free: 11.61 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.012e-05/0.6414, allocations: 0 / 0.5632 GB, free: 11.61 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001755/0.6416, allocations: 314.8 kB / 0.5635 GB, free: 11.29 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.115e-05/0.6417, allocations: 15.69 kB / 0.5635 GB, free: 11.29 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.258e-05/0.6417, allocations: 11.94 kB / 0.5635 GB, free: 11.28 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.415e-05/0.6418, allocations: 19.92 kB / 0.5635 GB, free: 11.26 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.6418, allocations: 0 / 0.5635 GB, free: 11.26 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002184/0.6421, allocations: 73.02 kB / 0.5636 GB, free: 11.2 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/0.6421, allocations: 11.38 kB / 0.5636 GB, free: 11.19 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.6421, allocations: 7.984 kB / 0.5636 GB, free: 11.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.096e-05/0.6422, allocations: 8.094 kB / 0.5636 GB, free: 11.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002294/0.6424, allocations: 23.98 kB / 0.5636 GB, free: 11.15 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.597e-06/0.6424, allocations: 0 / 0.5636 GB, free: 11.15 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001443/0.6426, allocations: 19.97 kB / 0.5636 GB, free: 11.13 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.193e-05/0.6426, allocations: 0 / 0.5636 GB, free: 11.13 MB / 378.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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.197e-05/0.6427, allocations: 108.6 kB / 0.5637 GB, free: 11.02 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.76e-05/0.6428, allocations: 7.906 kB / 0.5638 GB, free: 11.02 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002806/0.643, allocations: 98.08 kB / 0.5639 GB, free: 10.93 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.037e-06/0.6431, allocations: 7.953 kB / 0.5639 GB, free: 10.92 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.6431, allocations: 0 / 0.5639 GB, free: 10.92 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.6431, allocations: 0 / 0.5639 GB, free: 10.92 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005875/0.6437, allocations: 368.6 kB / 0.5642 GB, free: 10.54 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.081e-06/0.6437, allocations: 0 / 0.5642 GB, free: 10.54 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001925/0.6439, allocations: 23.92 kB / 0.5642 GB, free: 10.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.014e-05/0.6439, allocations: 7.953 kB / 0.5642 GB, free: 10.51 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.469e-05/0.644, allocations: 4 kB / 0.5642 GB, free: 10.51 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.644, allocations: 0 / 0.5642 GB, free: 10.51 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.644, allocations: 0 / 0.5642 GB, free: 10.51 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002389/0.6442, allocations: 167.1 kB / 0.5644 GB, free: 10.34 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.971e-05/0.6443, allocations: 93 kB / 0.5645 GB, free: 10.23 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.925e-05/0.6444, allocations: 7.578 kB / 0.5645 GB, free: 10.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001578/0.6445, allocations: 15.98 kB / 0.5645 GB, free: 10.21 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.246e-05/0.6446, allocations: 7.984 kB / 0.5645 GB, free: 10.21 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.295e-05/0.6446, allocations: 4 kB / 0.5645 GB, free: 10.2 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001736/0.6448, allocations: 131.9 kB / 0.5647 GB, free: 10.09 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.9e-07/0.6448, allocations: 3.938 kB / 0.5647 GB, free: 10.09 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003427/0.6452, allocations: 23.94 kB / 0.5647 GB, free: 10.07 MB / 378.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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.001166/0.6464, allocations: 364.6 kB / 0.565 GB, free: 9.758 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002187/0.6466, allocations: 47.73 kB / 0.5651 GB, free: 9.723 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.6466, allocations: 0 / 0.5651 GB, free: 9.723 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.139e-05/0.6467, allocations: 31.67 kB / 0.5651 GB, free: 9.699 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003232/0.6471, allocations: 17.03 kB / 0.5651 GB, free: 9.691 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005126/0.6476, allocations: 173.8 kB / 0.5653 GB, free: 9.512 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003374/0.648, allocations: 0.7021 MB / 0.566 GB, free: 8.785 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.093e-05/0.648, allocations: 19.44 kB / 0.566 GB, free: 8.766 MB / 378.7 MB Notification: Performance of SimCode: time 1.132e-06/0.6481, allocations: 0 / 0.566 GB, free: 8.766 MB / 378.7 MB Notification: Performance of Templates: time 0.005042/0.6531, allocations: 1.643 MB / 0.5676 GB, free: 7.129 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test25.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test25.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test25.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test25.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test25.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test25 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test25_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test25/Test25.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches