Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test28.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.Test28,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.Test28") translateModel(ModelicaTest.Tables.CombiTable2D.Test28,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.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009459/0.000946, 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.425/1.425, allocations: 205.4 MB / 223.6 MB, free: 9.031 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.0008705/0.0008706, allocations: 84.95 kB / 271.9 MB, free: 8.27 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.3341/0.3341, allocations: 43.56 MB / 363.8 MB, free: 51.86 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003786/0.0003786, allocations: 12 kB / 432.6 MB, free: 5.648 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1127, allocations: 58.85 MB / 491.4 MB, free: 10.71 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2703/0.383, allocations: 86.88 MB / 0.5648 GB, free: 15.39 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002222/0.3833, allocations: 71.97 kB / 0.5648 GB, free: 15.32 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01028/0.3936, allocations: 4.248 MB / 0.569 GB, free: 11.11 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.522e-06/0.3936, allocations: 0.5625 kB / 0.569 GB, free: 11.11 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.396e-06/0.3937, allocations: 0 / 0.569 GB, free: 11.11 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.0003999/0.3941, allocations: 413.9 kB / 0.5694 GB, free: 10.66 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.3941, allocations: 12.03 kB / 0.5694 GB, free: 10.65 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.72e-05/0.3942, allocations: 8.844 kB / 0.5694 GB, free: 10.64 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001973/0.3944, allocations: 205.5 kB / 0.5696 GB, free: 10.4 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.258e-05/0.3944, allocations: 7.75 kB / 0.5696 GB, free: 10.4 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.754e-05/0.3944, allocations: 4.375 kB / 0.5696 GB, free: 10.39 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001507/0.3946, allocations: 62.17 kB / 0.5697 GB, free: 10.33 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.3946, allocations: 192 / 0.5697 GB, free: 10.33 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.3946, allocations: 7.938 kB / 0.5697 GB, free: 10.32 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.878e-06/0.3946, allocations: 0 / 0.5697 GB, free: 10.32 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001311/0.3947, allocations: 43.97 kB / 0.5697 GB, free: 10.28 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003508/0.3951, allocations: 300.7 kB / 0.57 GB, free: 9.934 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000132/0.3952, allocations: 50.5 kB / 0.5701 GB, free: 9.875 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.009e-05/0.3953, allocations: 28.94 kB / 0.5701 GB, free: 9.844 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.876e-05/0.3954, allocations: 4.062 kB / 0.5701 GB, free: 9.84 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.078e-05/0.3954, allocations: 34.62 kB / 0.5701 GB, free: 9.797 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.273e-06/0.3954, allocations: 0 / 0.5701 GB, free: 9.797 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007219/0.3961, allocations: 245.1 kB / 0.5703 GB, free: 9.551 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.087e-05/0.3962, allocations: 55.41 kB / 0.5704 GB, free: 9.484 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001768/0.3963, allocations: 186.2 kB / 0.5706 GB, free: 9.293 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.351e-05/0.3964, allocations: 25.7 kB / 0.5706 GB, free: 9.262 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.781e-05/0.3964, allocations: 108.1 kB / 0.5707 GB, free: 9.152 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.258e-05/0.3964, allocations: 23.64 kB / 0.5707 GB, free: 9.129 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.619e-06/0.3964, allocations: 0.6562 kB / 0.5707 GB, free: 9.129 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.16e-05/0.3965, allocations: 322.8 kB / 0.571 GB, free: 8.805 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001096/0.3967, allocations: 43.97 kB / 0.5711 GB, free: 8.762 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.76e-05/0.3968, allocations: 39.97 kB / 0.5711 GB, free: 8.723 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001993/0.397, allocations: 97.53 kB / 0.5712 GB, free: 8.625 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.397, allocations: 0 / 0.5712 GB, free: 8.625 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002643/0.3973, allocations: 130.2 kB / 0.5713 GB, free: 8.492 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.3973, allocations: 4 kB / 0.5713 GB, free: 8.488 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.3973, allocations: 0.625 kB / 0.5713 GB, free: 8.488 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.3973, allocations: 3.984 kB / 0.5713 GB, free: 8.484 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001079/0.3974, allocations: 24.27 kB / 0.5714 GB, free: 8.461 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.3974, allocations: 0 / 0.5714 GB, free: 8.461 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.488e-05/0.3975, allocations: 23.84 kB / 0.5714 GB, free: 8.438 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.3975, allocations: 8.672 kB / 0.5714 GB, free: 8.43 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.06e-05/0.3976, allocations: 129.7 kB / 0.5715 GB, free: 8.293 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.106e-05/0.3976, allocations: 7.906 kB / 0.5715 GB, free: 8.285 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000312/0.398, allocations: 150.6 kB / 0.5717 GB, free: 8.137 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.398, allocations: 0.75 kB / 0.5717 GB, free: 8.137 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.398, allocations: 0 / 0.5717 GB, free: 8.137 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.398, allocations: 3.984 kB / 0.5717 GB, free: 8.133 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005009/0.3985, allocations: 430.4 kB / 0.5721 GB, free: 7.656 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.3985, allocations: 0 / 0.5721 GB, free: 7.656 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.133e-05/0.3986, allocations: 27.98 kB / 0.5721 GB, free: 7.629 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.3986, allocations: 0 / 0.5721 GB, free: 7.629 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.625e-06/0.3986, allocations: 0 / 0.5721 GB, free: 7.629 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.539e-06/0.3986, allocations: 7.938 kB / 0.5721 GB, free: 7.621 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.3986, allocations: 3.938 kB / 0.5721 GB, free: 7.617 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000288/0.3989, allocations: 219.4 kB / 0.5723 GB, free: 7.387 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.661e-05/0.399, allocations: 100.8 kB / 0.5724 GB, free: 7.27 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.772e-05/0.399, allocations: 4 kB / 0.5724 GB, free: 7.266 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.812e-05/0.3991, allocations: 15.98 kB / 0.5724 GB, free: 7.25 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.925e-05/0.3992, allocations: 15.92 kB / 0.5725 GB, free: 7.234 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.02e-06/0.3992, allocations: 0 / 0.5725 GB, free: 7.234 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001187/0.3993, allocations: 147.8 kB / 0.5726 GB, free: 7.094 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.3993, allocations: 0 / 0.5726 GB, free: 7.094 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002308/0.3995, allocations: 24 kB / 0.5726 GB, free: 7.07 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.000806/0.4004, allocations: 408 kB / 0.573 GB, free: 6.762 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002572/0.4006, allocations: 91.89 kB / 0.5731 GB, free: 6.672 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.4006, allocations: 0 / 0.5731 GB, free: 6.672 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001197/0.4008, allocations: 55.91 kB / 0.5732 GB, free: 6.617 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002744/0.401, allocations: 15.98 kB / 0.5732 GB, free: 6.602 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004186/0.4015, allocations: 277.2 kB / 0.5734 GB, free: 6.305 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002283/0.4017, allocations: 0.7043 MB / 0.5741 GB, free: 5.574 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.344e-05/0.4018, allocations: 15.42 kB / 0.5741 GB, free: 5.562 MB / 394.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4018, allocations: 0 / 0.5741 GB, free: 5.562 MB / 394.7 MB Notification: Performance of Templates: time 0.002971/0.4047, allocations: 1.682 MB / 0.5758 GB, free: 3.887 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test28.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test28.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test28.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test28.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test28 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test28/Test28.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches