Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.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.CombiTable2D.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sine_R.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test22") translateModel(ModelicaTest.Tables.CombiTable2D.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sine_R.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002313/0.002312, allocations: 186.8 kB / 16.4 MB, free: 5.746 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.931/1.931, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001122/0.001122, allocations: 99.62 kB / 270.9 MB, free: 8.371 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.5008/0.5008, allocations: 43.56 MB / 362.7 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004857/0.0004858, allocations: 12 kB / 431.4 MB, free: 6.156 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1269, allocations: 58.86 MB / 490.2 MB, free: 11.22 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4618/0.5888, allocations: 88.03 MB / 0.5647 GB, free: 14.66 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002766/0.5891, allocations: 72.83 kB / 0.5648 GB, free: 14.59 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03727/0.6264, allocations: 8.418 MB / 0.573 GB, free: 6.207 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.635e-06/0.6264, allocations: 0 / 0.573 GB, free: 6.207 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.196e-05/0.6265, allocations: 15.98 kB / 0.573 GB, free: 6.191 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001372/0.6279, allocations: 0.728 MB / 0.5737 GB, free: 5.418 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.628, allocations: 8.031 kB / 0.5737 GB, free: 5.41 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001529/0.6281, allocations: 55.28 kB / 0.5738 GB, free: 5.355 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001093/0.6292, allocations: 478.9 kB / 0.5742 GB, free: 4.848 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.776e-05/0.6293, allocations: 4 kB / 0.5742 GB, free: 4.844 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.277e-05/0.6293, allocations: 8 kB / 0.5742 GB, free: 4.836 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004037/0.6297, allocations: 137.3 kB / 0.5744 GB, free: 4.691 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.732e-05/0.6298, allocations: 4 kB / 0.5744 GB, free: 4.688 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.994e-05/0.6298, allocations: 4 kB / 0.5744 GB, free: 4.684 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.082e-05/0.6298, allocations: 11.95 kB / 0.5744 GB, free: 4.672 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003554/0.6302, allocations: 79.94 kB / 0.5745 GB, free: 4.594 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00149/0.6317, allocations: 0.7112 MB / 0.5752 GB, free: 3.828 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003232/0.632, allocations: 109.2 kB / 0.5753 GB, free: 3.703 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.773e-05/0.6321, allocations: 11.98 kB / 0.5753 GB, free: 3.691 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.227e-05/0.6321, allocations: 34.5 kB / 0.5753 GB, free: 3.648 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 2.425e-06/0.6322, allocations: 0 / 0.5753 GB, free: 3.648 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.002333/0.6345, allocations: 0.5257 MB / 0.5758 GB, free: 3.113 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.11e-05/0.6346, allocations: 92.98 kB / 0.5759 GB, free: 3.004 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001741/0.6363, allocations: 0.7872 MB / 0.5767 GB, free: 2.211 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.779e-05/0.6364, allocations: 29.7 kB / 0.5767 GB, free: 2.176 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002279/0.6367, allocations: 262.7 kB / 0.577 GB, free: 1.914 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.731e-05/0.6367, allocations: 51.2 kB / 0.577 GB, free: 1.863 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.633e-05/0.6368, allocations: 224 / 0.577 GB, free: 1.863 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.6369, allocations: 326.8 kB / 0.5773 GB, free: 1.535 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003285/0.6373, allocations: 59.91 kB / 0.5774 GB, free: 1.477 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003091/0.6376, allocations: 81.67 kB / 0.5775 GB, free: 1.391 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000313/0.6379, allocations: 71.95 kB / 0.5775 GB, free: 1.32 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.6379, allocations: 4 kB / 0.5775 GB, free: 1.316 MB / 394.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0007334/0.6387, allocations: 189.7 kB / 0.5777 GB, free: 1.125 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.6387, allocations: 4 kB / 0.5777 GB, free: 1.121 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.6387, allocations: 0 / 0.5777 GB, free: 1.121 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.6388, allocations: 4 kB / 0.5777 GB, free: 1.117 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003578/0.6391, allocations: 47.97 kB / 0.5778 GB, free: 1.07 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.066e-06/0.6391, allocations: 0 / 0.5778 GB, free: 1.07 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000338/0.6395, allocations: 23.84 kB / 0.5778 GB, free: 1.047 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.866e-05/0.6395, allocations: 11.98 kB / 0.5778 GB, free: 1.035 MB / 394.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 () * Number of clocked 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.0003512/0.6399, allocations: 209.7 kB / 0.578 GB, free: 0.8203 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001689/0.6401, allocations: 59.34 kB / 0.5781 GB, free: 0.7617 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001041/0.6411, allocations: 282.2 kB / 0.5783 GB, free: 492 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.686e-06/0.6412, allocations: 3.984 kB / 0.5783 GB, free: 488 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.6412, allocations: 0 / 0.5783 GB, free: 488 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/0.6412, allocations: 4 kB / 0.5783 GB, free: 484 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001975/0.6432, allocations: 0.8566 MB / 0.5792 GB, free: 15.56 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.628e-06/0.6432, allocations: 0 / 0.5792 GB, free: 15.56 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003179/0.6435, allocations: 51.84 kB / 0.5792 GB, free: 15.51 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.055e-05/0.6436, allocations: 4 kB / 0.5792 GB, free: 15.5 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.277e-05/0.6436, allocations: 4.734 kB / 0.5792 GB, free: 15.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.995e-06/0.6436, allocations: 7.953 kB / 0.5792 GB, free: 15.49 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.6436, allocations: 0 / 0.5792 GB, free: 15.49 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009486/0.6446, allocations: 415.8 kB / 0.5796 GB, free: 15.06 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003368/0.6449, allocations: 184.3 kB / 0.5798 GB, free: 14.86 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.943e-05/0.645, allocations: 7.953 kB / 0.5798 GB, free: 14.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003333/0.6454, allocations: 23.98 kB / 0.5798 GB, free: 14.83 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.097e-05/0.6455, allocations: 19.91 kB / 0.5799 GB, free: 14.81 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.296e-05/0.6455, allocations: 8 kB / 0.5799 GB, free: 14.8 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001304/0.6468, allocations: 0.6237 MB / 0.5805 GB, free: 14.18 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6468, allocations: 0 / 0.5805 GB, free: 14.18 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005831/0.6474, allocations: 79.92 kB / 0.5806 GB, free: 14.11 MB / 410.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 () * Number of clocked 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.001198/0.6486, allocations: 413 kB / 0.5809 GB, free: 13.8 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007512/0.6494, allocations: 159.8 kB / 0.5811 GB, free: 13.64 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.6494, allocations: 0 / 0.5811 GB, free: 13.64 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003424/0.6498, allocations: 87.89 kB / 0.5812 GB, free: 13.55 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007079/0.6505, allocations: 62.89 kB / 0.5812 GB, free: 13.49 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002276/0.6528, allocations: 1.011 MB / 0.5822 GB, free: 12.45 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005702/0.6534, allocations: 0.8616 MB / 0.5831 GB, free: 11.56 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002778/0.6537, allocations: 55.34 kB / 0.5831 GB, free: 11.5 MB / 410.7 MB Notification: Performance of SimCode: time 8.91e-07/0.6537, allocations: 0 / 0.5831 GB, free: 11.5 MB / 410.7 MB Notification: Performance of Templates: time 0.01415/0.6679, allocations: 5.754 MB / 0.5887 GB, free: 5.754 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test22.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test22.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test22.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test22.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test22 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test22/Test22.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches