Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test5") translateModel(ModelicaTest.Tables.CombiTable2D.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001038/0.001038, allocations: 181.5 kB / 17.41 MB, free: 4.164 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.631/1.631, allocations: 205.4 MB / 223.6 MB, free: 9.012 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.0008069/0.0008069, allocations: 85.36 kB / 271.9 MB, free: 8.25 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.3437/0.3437, allocations: 43.55 MB / 363.7 MB, free: 52.24 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003884/0.0003885, allocations: 16 kB / 432.6 MB, free: 5.887 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1091, allocations: 58.85 MB / 491.4 MB, free: 10.96 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2732/0.3823, allocations: 86.91 MB / 0.5648 GB, free: 15.51 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002367/0.3826, allocations: 75.97 kB / 0.5649 GB, free: 15.43 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01569/0.3983, allocations: 7.71 MB / 0.5724 GB, free: 7.758 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.3983, allocations: 0 / 0.5724 GB, free: 7.758 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.78e-05/0.3984, allocations: 4 kB / 0.5724 GB, free: 7.754 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.0006055/0.399, allocations: 0.6259 MB / 0.573 GB, free: 7.078 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.399, allocations: 8.031 kB / 0.573 GB, free: 7.07 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.612e-05/0.3991, allocations: 48.38 kB / 0.5731 GB, free: 7.023 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003852/0.3995, allocations: 351.1 kB / 0.5734 GB, free: 6.645 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.3995, allocations: 9.5 kB / 0.5734 GB, free: 6.637 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.622e-05/0.3995, allocations: 384 / 0.5734 GB, free: 6.637 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001285/0.3997, allocations: 58.19 kB / 0.5735 GB, free: 6.574 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.3997, allocations: 192 / 0.5735 GB, free: 6.574 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.3997, allocations: 3.938 kB / 0.5735 GB, free: 6.57 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.3997, allocations: 0 / 0.5735 GB, free: 6.57 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.831e-05/0.3998, allocations: 31.97 kB / 0.5735 GB, free: 6.539 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005009/0.4003, allocations: 436.7 kB / 0.5739 GB, free: 6.062 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001833/0.4005, allocations: 50.5 kB / 0.574 GB, free: 6.004 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.7e-05/0.4006, allocations: 12.86 kB / 0.574 GB, free: 5.988 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.654e-05/0.4006, allocations: 4 kB / 0.574 GB, free: 5.984 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.621e-05/0.4006, allocations: 30.66 kB / 0.574 GB, free: 5.945 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.4006, allocations: 2.812 kB / 0.574 GB, free: 5.945 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.000568/0.4012, allocations: 251.9 kB / 0.5743 GB, free: 5.691 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.876e-05/0.4012, allocations: 51.62 kB / 0.5743 GB, free: 5.629 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001139/0.4024, allocations: 0.8495 MB / 0.5751 GB, free: 4.77 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.575e-05/0.4024, allocations: 25.7 kB / 0.5752 GB, free: 4.738 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001404/0.4025, allocations: 216.1 kB / 0.5754 GB, free: 4.523 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.657e-05/0.4026, allocations: 15.81 kB / 0.5754 GB, free: 4.508 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.877e-06/0.4026, allocations: 0 / 0.5754 GB, free: 4.508 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.4027, allocations: 370.7 kB / 0.5757 GB, free: 4.137 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.757e-05/0.4028, allocations: 19.98 kB / 0.5758 GB, free: 4.117 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.714e-05/0.4029, allocations: 23.98 kB / 0.5758 GB, free: 4.094 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001216/0.403, allocations: 60.77 kB / 0.5758 GB, free: 4.031 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.403, allocations: 0 / 0.5758 GB, free: 4.031 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001997/0.4032, allocations: 121.7 kB / 0.576 GB, free: 3.906 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.4032, allocations: 4.938 kB / 0.576 GB, free: 3.902 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-06/0.4032, allocations: 0 / 0.576 GB, free: 3.902 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.4032, allocations: 4 kB / 0.576 GB, free: 3.898 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.201e-05/0.4033, allocations: 15.98 kB / 0.576 GB, free: 3.883 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.972e-06/0.4033, allocations: 3.938 kB / 0.576 GB, free: 3.879 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.652e-05/0.4034, allocations: 15.94 kB / 0.576 GB, free: 3.863 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-06/0.4034, allocations: 0 / 0.576 GB, free: 3.863 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 (5): * Single equations (assignments): 5 * 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 0.0001704/0.4036, allocations: 225.6 kB / 0.5762 GB, free: 3.633 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.55e-05/0.4037, allocations: 40.41 kB / 0.5762 GB, free: 3.594 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002611/0.4039, allocations: 145 kB / 0.5764 GB, free: 3.445 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.4039, allocations: 0 / 0.5764 GB, free: 3.445 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.4039, allocations: 0 / 0.5764 GB, free: 3.445 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.404, allocations: 8.266 kB / 0.5764 GB, free: 3.438 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006841/0.4046, allocations: 0.5923 MB / 0.577 GB, free: 2.789 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.4047, allocations: 4 kB / 0.577 GB, free: 2.785 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.986e-05/0.4047, allocations: 8 kB / 0.577 GB, free: 2.777 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.169e-06/0.4047, allocations: 8.922 kB / 0.577 GB, free: 2.77 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.086e-06/0.4047, allocations: 0 / 0.577 GB, free: 2.77 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.4048, allocations: 3.984 kB / 0.577 GB, free: 2.766 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.4048, allocations: 7.938 kB / 0.577 GB, free: 2.758 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002395/0.405, allocations: 211.1 kB / 0.5772 GB, free: 2.535 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001529/0.4052, allocations: 164.5 kB / 0.5774 GB, free: 2.355 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.816e-05/0.4052, allocations: 0 / 0.5774 GB, free: 2.355 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.728e-05/0.4053, allocations: 19.92 kB / 0.5774 GB, free: 2.336 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.698e-05/0.4054, allocations: 3.938 kB / 0.5774 GB, free: 2.332 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.1e-06/0.4054, allocations: 4 kB / 0.5774 GB, free: 2.328 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006441/0.406, allocations: 0.6393 MB / 0.578 GB, free: 1.691 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.406, allocations: 0 / 0.578 GB, free: 1.691 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002797/0.4063, allocations: 59.98 kB / 0.5781 GB, free: 1.633 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 (5): * Single equations (assignments): 5 * 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.0007974/0.4071, allocations: 408.8 kB / 0.5785 GB, free: 1.324 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001771/0.4073, allocations: 55.97 kB / 0.5785 GB, free: 1.27 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.4073, allocations: 0 / 0.5785 GB, free: 1.27 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.163e-05/0.4074, allocations: 27.92 kB / 0.5785 GB, free: 1.242 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003553/0.4078, allocations: 29.95 kB / 0.5786 GB, free: 1.215 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001139/0.4089, allocations: 0.9444 MB / 0.5795 GB, free: 244 kB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003661/0.4093, allocations: 0.8223 MB / 0.5803 GB, free: 15.39 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.432e-05/0.4094, allocations: 23.62 kB / 0.5803 GB, free: 15.37 MB / 410.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4094, allocations: 0 / 0.5803 GB, free: 15.37 MB / 410.7 MB Notification: Performance of Templates: time 0.006573/0.4159, allocations: 4.224 MB / 0.5844 GB, free: 11.13 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test5.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test5.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test5.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test5.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test5 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test5/Test5.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches