Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22.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.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001508/0.001512, allocations: 181.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.031/2.031, allocations: 205.2 MB / 219.4 MB, free: 14.2 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.001528/0.001527, allocations: 78.72 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2723/0.2723, allocations: 43.5 MB / 359.1 MB, free: 12.22 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.344e-05/3.369e-05, allocations: 4 kB / 425.3 MB, free: 23.36 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1113, allocations: 58.86 MB / 484.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4626/0.574, allocations: 88.33 MB / 0.5591 GB, free: 15.26 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002642/0.5743, allocations: 79.86 kB / 0.5591 GB, free: 15.22 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03711/0.6114, allocations: 8.601 MB / 0.5675 GB, free: 7.844 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.6115, allocations: 0 / 0.5675 GB, free: 7.844 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.374e-05/0.6115, allocations: 8 kB / 0.5675 GB, free: 7.836 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0009688/0.6125, allocations: 0.6196 MB / 0.5681 GB, free: 7.195 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/0.6126, allocations: 12.03 kB / 0.5682 GB, free: 7.184 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001438/0.6127, allocations: 55.3 kB / 0.5682 GB, free: 7.129 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001132/0.6139, allocations: 476.8 kB / 0.5687 GB, free: 6.66 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.991e-05/0.6139, allocations: 10.75 kB / 0.5687 GB, free: 6.652 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.855e-05/0.614, allocations: 15.02 kB / 0.5687 GB, free: 6.641 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003446/0.6143, allocations: 140.3 kB / 0.5688 GB, free: 6.523 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.6144, allocations: 0 / 0.5688 GB, free: 6.523 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.301e-05/0.6144, allocations: 6.438 kB / 0.5688 GB, free: 6.52 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.6144, allocations: 7.953 kB / 0.5688 GB, free: 6.512 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002449/0.6147, allocations: 85.03 kB / 0.5689 GB, free: 6.449 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001665/0.6164, allocations: 0.7268 MB / 0.5696 GB, free: 5.762 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002678/0.6167, allocations: 106 kB / 0.5697 GB, free: 5.66 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.814e-05/0.6168, allocations: 34.72 kB / 0.5698 GB, free: 5.629 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.201e-05/0.6168, allocations: 3.984 kB / 0.5698 GB, free: 5.625 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.655e-05/0.6169, allocations: 37.94 kB / 0.5698 GB, free: 5.582 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 3.447e-06/0.6169, allocations: 4 kB / 0.5698 GB, free: 5.578 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.001962/0.6189, allocations: 470.3 kB / 0.5703 GB, free: 5.164 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.417e-05/0.619, allocations: 81.06 kB / 0.5703 GB, free: 5.066 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001736/0.6207, allocations: 0.7908 MB / 0.5711 GB, free: 4.418 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.367e-05/0.6208, allocations: 25.7 kB / 0.5711 GB, free: 4.387 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002178/0.6211, allocations: 278.7 kB / 0.5714 GB, free: 4.207 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.37e-05/0.6211, allocations: 42.83 kB / 0.5714 GB, free: 4.168 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.502e-05/0.6212, allocations: 3.625 kB / 0.5714 GB, free: 4.168 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.6213, allocations: 322.2 kB / 0.5717 GB, free: 3.848 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001558/0.6215, allocations: 45.36 kB / 0.5718 GB, free: 3.816 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001709/0.6217, allocations: 68.95 kB / 0.5719 GB, free: 3.762 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001823/0.6219, allocations: 57.58 kB / 0.5719 GB, free: 3.723 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.6219, allocations: 4 kB / 0.5719 GB, free: 3.719 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004573/0.6223, allocations: 156 kB / 0.5721 GB, free: 3.594 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/0.6224, allocations: 8 kB / 0.5721 GB, free: 3.586 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.525e-06/0.6224, allocations: 0 / 0.5721 GB, free: 3.586 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.6224, allocations: 224 / 0.5721 GB, free: 3.586 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003891/0.6228, allocations: 39.97 kB / 0.5721 GB, free: 3.547 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.6228, allocations: 3.938 kB / 0.5721 GB, free: 3.543 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003423/0.6232, allocations: 27.31 kB / 0.5721 GB, free: 3.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.662e-05/0.6232, allocations: 4 kB / 0.5721 GB, free: 3.516 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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.0001063/0.6234, allocations: 112.4 kB / 0.5722 GB, free: 3.402 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001819/0.6235, allocations: 54.84 kB / 0.5723 GB, free: 3.352 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007856/0.6243, allocations: 260.6 kB / 0.5725 GB, free: 3.148 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.805e-06/0.6244, allocations: 7.984 kB / 0.5726 GB, free: 3.141 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.6244, allocations: 0 / 0.5726 GB, free: 3.141 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.6244, allocations: 4 kB / 0.5726 GB, free: 3.137 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0018/0.6262, allocations: 0.8425 MB / 0.5734 GB, free: 2.371 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.6263, allocations: 384 / 0.5734 GB, free: 2.371 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003523/0.6266, allocations: 47.59 kB / 0.5734 GB, free: 2.328 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.054e-05/0.6266, allocations: 0 / 0.5734 GB, free: 2.328 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.754e-05/0.6267, allocations: 15.89 kB / 0.5734 GB, free: 2.312 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/0.6267, allocations: 0 / 0.5734 GB, free: 2.312 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.6267, allocations: 0 / 0.5734 GB, free: 2.312 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006661/0.6274, allocations: 390.6 kB / 0.5738 GB, free: 1.949 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003752/0.6278, allocations: 183.4 kB / 0.574 GB, free: 1.762 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.693e-05/0.6279, allocations: 7.953 kB / 0.574 GB, free: 1.754 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003493/0.6282, allocations: 19.36 kB / 0.574 GB, free: 1.738 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.757e-05/0.6283, allocations: 7.984 kB / 0.574 GB, free: 1.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.968e-05/0.6284, allocations: 8 kB / 0.574 GB, free: 1.723 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001282/0.6297, allocations: 0.6241 MB / 0.5746 GB, free: 1.242 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.71e-07/0.6297, allocations: 0 / 0.5746 GB, free: 1.242 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005934/0.6303, allocations: 86.89 kB / 0.5747 GB, free: 1.164 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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.001103/0.6314, allocations: 371.9 kB / 0.5751 GB, free: 0.8516 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004524/0.6319, allocations: 132.4 kB / 0.5752 GB, free: 0.7539 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.6319, allocations: 0 / 0.5752 GB, free: 0.7539 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001951/0.6321, allocations: 67.3 kB / 0.5753 GB, free: 0.707 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007146/0.6328, allocations: 70.08 kB / 0.5753 GB, free: 0.6602 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001999/0.6349, allocations: 0.7788 MB / 0.5761 GB, free: 15.93 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006524/0.6355, allocations: 0.8754 MB / 0.577 GB, free: 15.04 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002934/0.6359, allocations: 42.8 kB / 0.577 GB, free: 15 MB / 394.7 MB Notification: Performance of SimCode: time 1.623e-06/0.6359, allocations: 0 / 0.577 GB, free: 15 MB / 394.7 MB Notification: Performance of Templates: time 0.01542/0.6513, allocations: 5.987 MB / 0.5828 GB, free: 9.043 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches