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.001115/0.001115, allocations: 185.2 kB / 17.41 MB, free: 4.402 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.227/1.227, allocations: 205.4 MB / 223.6 MB, free: 9.027 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.0008011/0.0008012, allocations: 92.98 kB / 271.9 MB, free: 8.246 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.3022/0.3022, allocations: 43.56 MB / 363.8 MB, free: 51.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003623/0.0003624, allocations: 12 kB / 432.6 MB, free: 5.656 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.1304, allocations: 58.85 MB / 491.4 MB, free: 10.72 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3527/0.4832, allocations: 87.26 MB / 0.5651 GB, free: 14.99 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002313/0.4835, allocations: 75.95 kB / 0.5652 GB, free: 14.91 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01121/0.4947, allocations: 4.292 MB / 0.5694 GB, free: 10.66 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.933e-06/0.4948, allocations: 0 / 0.5694 GB, free: 10.66 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.12e-05/0.4948, allocations: 4 kB / 0.5694 GB, free: 10.66 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.0004533/0.4953, allocations: 406.8 kB / 0.5698 GB, free: 10.21 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.4953, allocations: 11.12 kB / 0.5698 GB, free: 10.2 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.667e-05/0.4953, allocations: 12.84 kB / 0.5698 GB, free: 10.19 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002179/0.4956, allocations: 204 kB / 0.57 GB, free: 9.953 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.4956, allocations: 8.312 kB / 0.57 GB, free: 9.945 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.65e-05/0.4956, allocations: 8.375 kB / 0.57 GB, free: 9.938 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001773/0.4958, allocations: 62.22 kB / 0.5701 GB, free: 9.871 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.4958, allocations: 192 / 0.5701 GB, free: 9.871 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.724e-05/0.4959, allocations: 11.94 kB / 0.5701 GB, free: 9.859 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.4959, allocations: 0 / 0.5701 GB, free: 9.859 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001451/0.496, allocations: 47.95 kB / 0.5701 GB, free: 9.812 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004299/0.4965, allocations: 324.6 kB / 0.5705 GB, free: 9.445 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000144/0.4966, allocations: 54.55 kB / 0.5705 GB, free: 9.383 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.122e-05/0.4967, allocations: 28.94 kB / 0.5705 GB, free: 9.352 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.291e-05/0.4967, allocations: 0 / 0.5705 GB, free: 9.352 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.004e-05/0.4968, allocations: 34.62 kB / 0.5706 GB, free: 9.309 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.383e-06/0.4968, allocations: 0 / 0.5706 GB, free: 9.309 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0008316/0.4976, allocations: 265.2 kB / 0.5708 GB, free: 9.043 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.347e-05/0.4977, allocations: 55.39 kB / 0.5709 GB, free: 8.977 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001886/0.4979, allocations: 182.2 kB / 0.571 GB, free: 8.789 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.562e-05/0.4979, allocations: 29.7 kB / 0.5711 GB, free: 8.754 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.887e-05/0.4979, allocations: 104.1 kB / 0.5712 GB, free: 8.648 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.803e-05/0.498, allocations: 23.66 kB / 0.5712 GB, free: 8.625 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.73e-06/0.498, allocations: 0 / 0.5712 GB, free: 8.625 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001033/0.4981, allocations: 322.8 kB / 0.5715 GB, free: 8.301 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001284/0.4982, allocations: 47.97 kB / 0.5716 GB, free: 8.254 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001176/0.4984, allocations: 55.89 kB / 0.5716 GB, free: 8.199 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000235/0.4986, allocations: 105.7 kB / 0.5717 GB, free: 8.094 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.4986, allocations: 0 / 0.5717 GB, free: 8.094 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002983/0.4989, allocations: 138.2 kB / 0.5718 GB, free: 7.953 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.4989, allocations: 8 kB / 0.5718 GB, free: 7.945 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.499, allocations: 0 / 0.5718 GB, free: 7.945 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.499, allocations: 3.984 kB / 0.5718 GB, free: 7.941 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/0.4991, allocations: 23.98 kB / 0.5719 GB, free: 7.918 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-06/0.4991, allocations: 4.594 kB / 0.5719 GB, free: 7.914 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.628e-05/0.4992, allocations: 16.27 kB / 0.5719 GB, free: 7.898 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.168e-06/0.4992, allocations: 4 kB / 0.5719 GB, free: 7.895 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 9.355e-05/0.4993, allocations: 126.3 kB / 0.572 GB, free: 7.762 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.264e-05/0.4994, allocations: 7.906 kB / 0.572 GB, free: 7.754 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003747/0.4997, allocations: 166.6 kB / 0.5722 GB, free: 7.586 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.4997, allocations: 3.938 kB / 0.5722 GB, free: 7.582 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.4998, allocations: 5.219 kB / 0.5722 GB, free: 7.578 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.4998, allocations: 3.984 kB / 0.5722 GB, free: 7.574 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000573/0.5003, allocations: 442.4 kB / 0.5726 GB, free: 7.086 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.5004, allocations: 0 / 0.5726 GB, free: 7.086 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.507e-05/0.5005, allocations: 27.98 kB / 0.5726 GB, free: 7.059 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.5005, allocations: 0 / 0.5726 GB, free: 7.059 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.5005, allocations: 0 / 0.5726 GB, free: 7.059 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.5005, allocations: 0 / 0.5726 GB, free: 7.059 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.5005, allocations: 3.938 kB / 0.5726 GB, free: 7.055 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003258/0.5008, allocations: 239.3 kB / 0.5729 GB, free: 6.805 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.792e-05/0.5009, allocations: 100.9 kB / 0.573 GB, free: 6.688 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.866e-05/0.5009, allocations: 0.875 kB / 0.573 GB, free: 6.688 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.084e-05/0.501, allocations: 12 kB / 0.573 GB, free: 6.676 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.381e-05/0.5011, allocations: 15.86 kB / 0.573 GB, free: 6.66 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.083e-06/0.5011, allocations: 4 kB / 0.573 GB, free: 6.656 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001342/0.5012, allocations: 140.8 kB / 0.5731 GB, free: 6.52 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5012, allocations: 0 / 0.5731 GB, free: 6.52 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002462/0.5015, allocations: 31.94 kB / 0.5732 GB, free: 6.488 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.0008575/0.5023, allocations: 407.8 kB / 0.5736 GB, free: 6.184 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003029/0.5027, allocations: 111.8 kB / 0.5737 GB, free: 6.074 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.5027, allocations: 0 / 0.5737 GB, free: 6.074 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001314/0.5028, allocations: 55.97 kB / 0.5737 GB, free: 6.02 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002933/0.5031, allocations: 19.92 kB / 0.5737 GB, free: 6 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004738/0.5036, allocations: 293.1 kB / 0.574 GB, free: 5.684 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002661/0.5039, allocations: 0.7082 MB / 0.5747 GB, free: 4.949 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.805e-05/0.5039, allocations: 19.42 kB / 0.5747 GB, free: 4.934 MB / 394.7 MB Notification: Performance of SimCode: time 3.31e-07/0.5039, allocations: 0 / 0.5747 GB, free: 4.934 MB / 394.7 MB Notification: Performance of Templates: time 0.003003/0.507, allocations: 1.748 MB / 0.5764 GB, free: 3.191 MB / 394.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