Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test31.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.Test31,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.Test31") translateModel(ModelicaTest.Tables.CombiTable2D.Test31,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.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008638/0.0008638, allocations: 180.5 kB / 17.41 MB, free: 4.406 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.454/1.454, allocations: 205.4 MB / 223.6 MB, free: 9.035 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.0007312/0.0007312, allocations: 82.33 kB / 271.9 MB, free: 8.254 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.2988/0.2988, allocations: 43.56 MB / 363.7 MB, free: 51.92 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003482/0.0003482, allocations: 12 kB / 432.6 MB, free: 5.66 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09903/0.0994, allocations: 58.85 MB / 491.4 MB, free: 10.72 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2815/0.3809, allocations: 87.13 MB / 0.565 GB, free: 15.12 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002079/0.3811, allocations: 71.97 kB / 0.5651 GB, free: 15.05 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01053/0.3917, allocations: 4.486 MB / 0.5695 GB, free: 10.6 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.3917, allocations: 0 / 0.5695 GB, free: 10.6 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.005e-05/0.3918, allocations: 0 / 0.5695 GB, free: 10.6 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004873/0.3923, allocations: 402.6 kB / 0.5699 GB, free: 10.16 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.3923, allocations: 12.03 kB / 0.5699 GB, free: 10.15 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.176e-05/0.3923, allocations: 8.844 kB / 0.5699 GB, free: 10.14 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002068/0.3926, allocations: 196.2 kB / 0.5701 GB, free: 9.91 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.3926, allocations: 4.375 kB / 0.5701 GB, free: 9.906 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.383e-05/0.3926, allocations: 4.375 kB / 0.5701 GB, free: 9.902 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001634/0.3928, allocations: 75.89 kB / 0.5701 GB, free: 9.816 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.3928, allocations: 192 / 0.5701 GB, free: 9.816 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.3928, allocations: 7.938 kB / 0.5701 GB, free: 9.809 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.3928, allocations: 0 / 0.5701 GB, free: 9.809 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001258/0.3929, allocations: 39.97 kB / 0.5702 GB, free: 9.77 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003381/0.3933, allocations: 292.8 kB / 0.5705 GB, free: 9.434 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001343/0.3934, allocations: 50.48 kB / 0.5705 GB, free: 9.375 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001088/0.3936, allocations: 28.94 kB / 0.5705 GB, free: 9.344 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.302e-05/0.3936, allocations: 0 / 0.5705 GB, free: 9.344 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.98e-05/0.3936, allocations: 34.88 kB / 0.5706 GB, free: 9.301 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.303e-06/0.3936, allocations: 0 / 0.5706 GB, free: 9.301 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007178/0.3944, allocations: 237.4 kB / 0.5708 GB, free: 9.062 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.08e-05/0.3944, allocations: 89.09 kB / 0.5709 GB, free: 8.957 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001275/0.3946, allocations: 136.6 kB / 0.571 GB, free: 8.812 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.582e-05/0.3946, allocations: 29.7 kB / 0.571 GB, free: 8.777 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.385e-05/0.3946, allocations: 92.05 kB / 0.5711 GB, free: 8.684 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.356e-05/0.3947, allocations: 30.83 kB / 0.5712 GB, free: 8.656 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.218e-06/0.3947, allocations: 0 / 0.5712 GB, free: 8.656 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.3948, allocations: 322.8 kB / 0.5715 GB, free: 8.332 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001841/0.395, allocations: 47.92 kB / 0.5715 GB, free: 8.285 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001292/0.3951, allocations: 53.67 kB / 0.5716 GB, free: 8.227 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002055/0.3954, allocations: 93.64 kB / 0.5717 GB, free: 8.133 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.3954, allocations: 0 / 0.5717 GB, free: 8.133 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002644/0.3956, allocations: 125.6 kB / 0.5718 GB, free: 8.004 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.3957, allocations: 4 kB / 0.5718 GB, free: 8 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.3957, allocations: 4.781 kB / 0.5718 GB, free: 7.996 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.3957, allocations: 3.984 kB / 0.5718 GB, free: 7.992 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001249/0.3958, allocations: 23.98 kB / 0.5718 GB, free: 7.969 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.3958, allocations: 0 / 0.5718 GB, free: 7.969 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.755e-05/0.3959, allocations: 19.98 kB / 0.5718 GB, free: 7.949 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.632e-06/0.3959, allocations: 0 / 0.5718 GB, free: 7.949 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: 0 () * Number of discrete states: 0 () * Number of clocked 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 8.88e-05/0.396, allocations: 125.8 kB / 0.572 GB, free: 7.816 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.014e-05/0.3961, allocations: 15.84 kB / 0.572 GB, free: 7.801 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003195/0.3964, allocations: 138.6 kB / 0.5721 GB, free: 7.66 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.3964, allocations: 8 kB / 0.5721 GB, free: 7.652 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.3964, allocations: 0.8125 kB / 0.5721 GB, free: 7.652 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.3964, allocations: 0 / 0.5721 GB, free: 7.652 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005074/0.3969, allocations: 414.4 kB / 0.5725 GB, free: 7.191 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.3969, allocations: 0 / 0.5725 GB, free: 7.191 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.007e-05/0.397, allocations: 19.98 kB / 0.5725 GB, free: 7.172 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.397, allocations: 4 kB / 0.5725 GB, free: 7.168 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-06/0.397, allocations: 4 kB / 0.5725 GB, free: 7.164 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.3971, allocations: 0 / 0.5725 GB, free: 7.164 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.3971, allocations: 3.938 kB / 0.5725 GB, free: 7.16 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002966/0.3974, allocations: 227.4 kB / 0.5727 GB, free: 6.922 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.98e-05/0.3974, allocations: 89.02 kB / 0.5728 GB, free: 6.816 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.706e-05/0.3975, allocations: 3.938 kB / 0.5728 GB, free: 6.812 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.203e-05/0.3976, allocations: 19.98 kB / 0.5729 GB, free: 6.793 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.439e-05/0.3976, allocations: 7.922 kB / 0.5729 GB, free: 6.785 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.683e-06/0.3976, allocations: 4 kB / 0.5729 GB, free: 6.781 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.238e-05/0.3977, allocations: 112 kB / 0.573 GB, free: 6.672 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.3977, allocations: 0 / 0.573 GB, free: 6.672 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002618/0.398, allocations: 43.88 kB / 0.573 GB, free: 6.629 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: 0 () * Number of discrete states: 0 () * Number of clocked 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.0008755/0.3989, allocations: 443.9 kB / 0.5734 GB, free: 6.289 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002813/0.3992, allocations: 99.94 kB / 0.5735 GB, free: 6.191 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3992, allocations: 0 / 0.5735 GB, free: 6.191 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001184/0.3993, allocations: 51.91 kB / 0.5736 GB, free: 6.141 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002687/0.3996, allocations: 15.98 kB / 0.5736 GB, free: 6.125 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000408/0.4, allocations: 221.2 kB / 0.5738 GB, free: 5.879 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002513/0.4002, allocations: 0.6965 MB / 0.5745 GB, free: 5.156 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.44e-05/0.4003, allocations: 19.42 kB / 0.5745 GB, free: 5.141 MB / 394.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4003, allocations: 4 kB / 0.5745 GB, free: 5.137 MB / 394.7 MB Notification: Performance of Templates: time 0.00304/0.4034, allocations: 1.747 MB / 0.5762 GB, free: 3.395 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test31.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test31.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test31.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test31.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test31 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test31/Test31.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches