Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26.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.CombiTable2Dv.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001528/0.001528, allocations: 180.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.281/2.281, allocations: 205.2 MB / 219.4 MB, free: 14.29 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.001531/0.001531, allocations: 86.66 kB / 267.5 MB, free: 14.12 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.2842/0.2842, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.482e-05/3.495e-05, allocations: 8 kB / 425.3 MB, free: 23.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1224, allocations: 58.85 MB / 484.1 MB, free: 12.47 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.499/0.6214, allocations: 87.13 MB / 0.5579 GB, free: 484 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002879/0.6217, allocations: 68.22 kB / 0.5579 GB, free: 452 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01783/0.6396, allocations: 4.291 MB / 0.5621 GB, free: 12.77 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.6396, allocations: 0 / 0.5621 GB, free: 12.77 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.838e-05/0.6397, allocations: 4 kB / 0.5621 GB, free: 12.76 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.000498/0.6402, allocations: 381.9 kB / 0.5625 GB, free: 12.35 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/0.6402, allocations: 8.031 kB / 0.5625 GB, free: 12.34 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.138e-05/0.6403, allocations: 15.86 kB / 0.5625 GB, free: 12.33 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002932/0.6406, allocations: 209 kB / 0.5627 GB, free: 12.09 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.6406, allocations: 4 kB / 0.5627 GB, free: 12.09 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.14e-05/0.6407, allocations: 7.312 kB / 0.5627 GB, free: 12.08 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001455/0.6408, allocations: 49.25 kB / 0.5628 GB, free: 12.04 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.6408, allocations: 7.938 kB / 0.5628 GB, free: 12.03 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/0.6409, allocations: 0 / 0.5628 GB, free: 12.03 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.73e-06/0.6409, allocations: 0 / 0.5628 GB, free: 12.03 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.71e-05/0.641, allocations: 19.44 kB / 0.5628 GB, free: 12.02 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005779/0.6416, allocations: 326.2 kB / 0.5631 GB, free: 11.67 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00011/0.6417, allocations: 37.58 kB / 0.5632 GB, free: 11.63 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.166e-05/0.6418, allocations: 16.73 kB / 0.5632 GB, free: 11.61 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.96e-05/0.6418, allocations: 4.078 kB / 0.5632 GB, free: 11.61 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.658e-05/0.6419, allocations: 38 kB / 0.5632 GB, free: 11.57 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 2.034e-06/0.6419, allocations: 4 kB / 0.5632 GB, free: 11.56 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.00069/0.6426, allocations: 158.5 kB / 0.5634 GB, free: 11.43 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.806e-05/0.6426, allocations: 51.41 kB / 0.5634 GB, free: 11.36 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002548/0.6429, allocations: 176.4 kB / 0.5636 GB, free: 11.2 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.966e-05/0.6429, allocations: 33.2 kB / 0.5636 GB, free: 11.17 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.575e-05/0.643, allocations: 161.6 kB / 0.5638 GB, free: 11.02 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.18e-05/0.6431, allocations: 15.16 kB / 0.5638 GB, free: 11 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.184e-06/0.6431, allocations: 0 / 0.5638 GB, free: 11 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001186/0.6432, allocations: 322.2 kB / 0.5641 GB, free: 10.68 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.655e-05/0.6433, allocations: 19.5 kB / 0.5641 GB, free: 10.67 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.278e-05/0.6434, allocations: 19.31 kB / 0.5641 GB, free: 10.66 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.264e-05/0.6434, allocations: 23.22 kB / 0.5642 GB, free: 10.64 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.6435, allocations: 0 / 0.5642 GB, free: 10.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002119/0.6437, allocations: 100.4 kB / 0.5643 GB, free: 10.55 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.6437, allocations: 4 kB / 0.5643 GB, free: 10.55 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.6437, allocations: 0 / 0.5643 GB, free: 10.55 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.6438, allocations: 3.953 kB / 0.5643 GB, free: 10.55 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002165/0.644, allocations: 24.12 kB / 0.5643 GB, free: 10.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/0.644, allocations: 0 / 0.5643 GB, free: 10.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001361/0.6442, allocations: 27.92 kB / 0.5643 GB, free: 10.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.205e-05/0.6442, allocations: 3.312 kB / 0.5643 GB, free: 10.5 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 7.956e-05/0.6443, allocations: 101 kB / 0.5644 GB, free: 10.39 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.083e-05/0.6443, allocations: 19.83 kB / 0.5644 GB, free: 10.37 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002895/0.6446, allocations: 107.3 kB / 0.5645 GB, free: 10.28 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.6446, allocations: 3.953 kB / 0.5645 GB, free: 10.28 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.6447, allocations: 0 / 0.5645 GB, free: 10.28 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.6447, allocations: 0 / 0.5645 GB, free: 10.28 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006147/0.6453, allocations: 388.7 kB / 0.5649 GB, free: 9.879 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.6453, allocations: 3.984 kB / 0.5649 GB, free: 9.875 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001773/0.6455, allocations: 27.73 kB / 0.5649 GB, free: 9.852 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.645e-06/0.6455, allocations: 3.953 kB / 0.5649 GB, free: 9.848 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.6455, allocations: 0 / 0.5649 GB, free: 9.848 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.6456, allocations: 0 / 0.5649 GB, free: 9.848 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.329e-06/0.6456, allocations: 7.938 kB / 0.5649 GB, free: 9.84 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002976/0.6459, allocations: 188.7 kB / 0.5651 GB, free: 9.656 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.69e-05/0.646, allocations: 88.39 kB / 0.5652 GB, free: 9.555 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.929e-05/0.646, allocations: 3.953 kB / 0.5652 GB, free: 9.551 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000161/0.6462, allocations: 15.98 kB / 0.5652 GB, free: 9.535 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.649e-05/0.6462, allocations: 11.92 kB / 0.5652 GB, free: 9.523 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.101e-05/0.6463, allocations: 3.812 kB / 0.5652 GB, free: 9.523 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001769/0.6465, allocations: 136.2 kB / 0.5654 GB, free: 9.406 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6465, allocations: 8 kB / 0.5654 GB, free: 9.398 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003279/0.6468, allocations: 23.38 kB / 0.5654 GB, free: 9.379 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.001072/0.6479, allocations: 369.1 kB / 0.5658 GB, free: 9.07 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002152/0.6481, allocations: 49.98 kB / 0.5658 GB, free: 9.035 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.6481, allocations: 11.81 kB / 0.5658 GB, free: 9.023 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.31e-05/0.6482, allocations: 25.44 kB / 0.5658 GB, free: 9.008 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002918/0.6485, allocations: 15.36 kB / 0.5659 GB, free: 8.996 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005323/0.6491, allocations: 203.1 kB / 0.566 GB, free: 8.789 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000303/0.6494, allocations: 0.7198 MB / 0.5667 GB, free: 8.047 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.54e-05/0.6495, allocations: 15.44 kB / 0.5668 GB, free: 8.031 MB / 378.7 MB Notification: Performance of SimCode: time 8.41e-07/0.6495, allocations: 0 / 0.5668 GB, free: 8.031 MB / 378.7 MB Notification: Performance of Templates: time 0.005067/0.6546, allocations: 1.766 MB / 0.5685 GB, free: 6.273 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test26/Test26.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches