Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test27.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.Test27,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.Test27") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test27,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.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008595/0.0008595, allocations: 181.7 kB / 17.41 MB, free: 4.281 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.205/1.205, allocations: 205.4 MB / 223.6 MB, free: 9.008 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.0007562/0.0007562, allocations: 92.5 kB / 271.9 MB, free: 8.238 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.3084/0.3084, allocations: 43.56 MB / 363.8 MB, free: 51.95 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003971/0.0003971, allocations: 16 kB / 432.6 MB, free: 5.637 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.1351, allocations: 58.85 MB / 491.4 MB, free: 10.7 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3423/0.4775, allocations: 87.26 MB / 0.5651 GB, free: 14.98 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001805/0.4777, allocations: 79.95 kB / 0.5652 GB, free: 14.9 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0112/0.4889, allocations: 4.319 MB / 0.5694 GB, free: 10.61 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.489, allocations: 0.875 kB / 0.5694 GB, free: 10.61 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.022e-05/0.489, allocations: 0 / 0.5694 GB, free: 10.61 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.0004931/0.4895, allocations: 409.7 kB / 0.5698 GB, free: 10.17 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.4895, allocations: 12.03 kB / 0.5698 GB, free: 10.16 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.523e-05/0.4896, allocations: 8.844 kB / 0.5698 GB, free: 10.15 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002626/0.4899, allocations: 216 kB / 0.5701 GB, free: 9.898 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.4899, allocations: 384 / 0.5701 GB, free: 9.898 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.222e-05/0.4899, allocations: 4.375 kB / 0.5701 GB, free: 9.895 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000199/0.4901, allocations: 62.23 kB / 0.5701 GB, free: 9.828 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.4902, allocations: 0.75 kB / 0.5701 GB, free: 9.828 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.555e-05/0.4902, allocations: 7.938 kB / 0.5701 GB, free: 9.82 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.4902, allocations: 4 kB / 0.5701 GB, free: 9.816 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001949/0.4904, allocations: 47.95 kB / 0.5702 GB, free: 9.77 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005334/0.4909, allocations: 324.6 kB / 0.5705 GB, free: 9.402 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001602/0.4911, allocations: 55.09 kB / 0.5705 GB, free: 9.34 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.524e-05/0.4912, allocations: 28.94 kB / 0.5706 GB, free: 9.309 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.368e-05/0.4913, allocations: 4.062 kB / 0.5706 GB, free: 9.305 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.931e-05/0.4913, allocations: 36.69 kB / 0.5706 GB, free: 9.262 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 3.136e-06/0.4913, allocations: 0 / 0.5706 GB, free: 9.262 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0009747/0.4923, allocations: 269 kB / 0.5709 GB, free: 8.992 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.714e-05/0.4923, allocations: 55.41 kB / 0.5709 GB, free: 8.926 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002281/0.4926, allocations: 182.2 kB / 0.5711 GB, free: 8.738 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.657e-05/0.4926, allocations: 25.7 kB / 0.5711 GB, free: 8.707 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.213e-05/0.4927, allocations: 100.1 kB / 0.5712 GB, free: 8.605 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.507e-05/0.4927, allocations: 23.66 kB / 0.5712 GB, free: 8.582 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.011e-06/0.4927, allocations: 0 / 0.5712 GB, free: 8.582 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.4929, allocations: 326.8 kB / 0.5715 GB, free: 8.254 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001668/0.4931, allocations: 47.97 kB / 0.5716 GB, free: 8.207 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001787/0.4932, allocations: 51.89 kB / 0.5716 GB, free: 8.156 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003098/0.4936, allocations: 105.6 kB / 0.5717 GB, free: 8.051 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.4936, allocations: 0 / 0.5717 GB, free: 8.051 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003947/0.494, allocations: 145.4 kB / 0.5719 GB, free: 7.902 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.494, allocations: 4 kB / 0.5719 GB, free: 7.898 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.494, allocations: 0.625 kB / 0.5719 GB, free: 7.898 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.4941, allocations: 4 kB / 0.5719 GB, free: 7.895 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001493/0.4942, allocations: 27.97 kB / 0.5719 GB, free: 7.867 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.4942, allocations: 4.688 kB / 0.5719 GB, free: 7.863 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.694e-05/0.4943, allocations: 12.28 kB / 0.5719 GB, free: 7.852 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/0.4943, allocations: 3.984 kB / 0.5719 GB, free: 7.848 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 0.0001171/0.4945, allocations: 130.3 kB / 0.5721 GB, free: 7.711 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.393e-05/0.4945, allocations: 7.906 kB / 0.5721 GB, free: 7.703 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004355/0.495, allocations: 162.6 kB / 0.5722 GB, free: 7.539 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.495, allocations: 4 kB / 0.5722 GB, free: 7.535 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.495, allocations: 0 / 0.5722 GB, free: 7.535 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.495, allocations: 7.922 kB / 0.5722 GB, free: 7.527 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007427/0.4958, allocations: 446.4 kB / 0.5727 GB, free: 7.035 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.4958, allocations: 0 / 0.5727 GB, free: 7.035 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001114/0.4959, allocations: 23.98 kB / 0.5727 GB, free: 7.012 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.4959, allocations: 0 / 0.5727 GB, free: 7.012 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.4959, allocations: 3.875 kB / 0.5727 GB, free: 7.012 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.664e-06/0.4959, allocations: 0 / 0.5727 GB, free: 7.012 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.4959, allocations: 3.938 kB / 0.5727 GB, free: 7.008 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004273/0.4964, allocations: 239.3 kB / 0.5729 GB, free: 6.758 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.172e-05/0.4965, allocations: 96.91 kB / 0.573 GB, free: 6.645 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.68e-05/0.4965, allocations: 11.94 kB / 0.573 GB, free: 6.633 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001314/0.4966, allocations: 8 kB / 0.573 GB, free: 6.625 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.398e-05/0.4967, allocations: 11.92 kB / 0.573 GB, free: 6.613 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.522e-06/0.4967, allocations: 0 / 0.573 GB, free: 6.613 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001584/0.4969, allocations: 144.8 kB / 0.5732 GB, free: 6.473 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4969, allocations: 0 / 0.5732 GB, free: 6.473 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004281/0.4973, allocations: 23.94 kB / 0.5732 GB, free: 6.449 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.001147/0.4985, allocations: 418.1 kB / 0.5736 GB, free: 6.137 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003901/0.4989, allocations: 107.9 kB / 0.5737 GB, free: 6.031 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.4989, allocations: 0 / 0.5737 GB, free: 6.031 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001806/0.4991, allocations: 51.97 kB / 0.5737 GB, free: 5.98 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004429/0.4996, allocations: 19.92 kB / 0.5738 GB, free: 5.961 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006461/0.5002, allocations: 293.1 kB / 0.574 GB, free: 5.645 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003149/0.5006, allocations: 0.7082 MB / 0.5747 GB, free: 4.91 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.096e-05/0.5006, allocations: 19.44 kB / 0.5748 GB, free: 4.895 MB / 394.7 MB Notification: Performance of SimCode: time 2.7e-07/0.5006, allocations: 0 / 0.5748 GB, free: 4.895 MB / 394.7 MB Notification: Performance of Templates: time 0.004434/0.5051, allocations: 1.756 MB / 0.5765 GB, free: 3.145 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test27.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test27.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test27 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test27/Test27.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches