Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.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.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cosine_R.y|sine_R.y|cosine_L.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_ModelicaTest.Tables.CombiTable2D.Test23") translateModel(ModelicaTest.Tables.CombiTable2D.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cosine_R.y|sine_R.y|cosine_L.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_ModelicaTest.Tables.CombiTable2D.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008852/0.0008851, allocations: 176.1 kB / 16.77 MB, free: 5.047 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.587/1.587, allocations: 205.4 MB / 222.9 MB, free: 9.031 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.0008277/0.0008277, allocations: 86.31 kB / 271.3 MB, free: 8.254 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.3785/0.3785, allocations: 43.56 MB / 363.1 MB, free: 52.21 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003932/0.0003934, allocations: 16 kB / 432.6 MB, free: 5.195 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1335, allocations: 58.84 MB / 491.5 MB, free: 10.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3563/0.4898, allocations: 88.02 MB / 0.5659 GB, free: 13.97 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002504/0.4901, allocations: 75.95 kB / 0.566 GB, free: 13.9 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02225/0.5124, allocations: 8.814 MB / 0.5746 GB, free: 5.109 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.725e-06/0.5124, allocations: 0 / 0.5746 GB, free: 5.109 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.611e-05/0.5125, allocations: 11.98 kB / 0.5746 GB, free: 5.098 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.001238/0.5137, allocations: 0.7625 MB / 0.5753 GB, free: 4.285 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.5138, allocations: 12.03 kB / 0.5754 GB, free: 4.273 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001395/0.5139, allocations: 52.28 kB / 0.5754 GB, free: 4.223 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007576/0.5147, allocations: 0.4918 MB / 0.5759 GB, free: 3.691 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.5147, allocations: 8.312 kB / 0.5759 GB, free: 3.684 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.779e-05/0.5148, allocations: 16.3 kB / 0.5759 GB, free: 3.668 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003196/0.5151, allocations: 152.9 kB / 0.5761 GB, free: 3.508 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.955e-05/0.5151, allocations: 4.188 kB / 0.5761 GB, free: 3.504 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.807e-05/0.5151, allocations: 7.938 kB / 0.5761 GB, free: 3.496 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.5152, allocations: 4 kB / 0.5761 GB, free: 3.492 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002917/0.5155, allocations: 115.9 kB / 0.5762 GB, free: 3.379 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001153/0.5166, allocations: 0.7346 MB / 0.5769 GB, free: 2.59 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002678/0.5169, allocations: 129.2 kB / 0.577 GB, free: 2.445 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001533/0.5171, allocations: 73.75 kB / 0.5771 GB, free: 2.367 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.02e-05/0.5171, allocations: 0 / 0.5771 GB, free: 2.367 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.125e-05/0.5171, allocations: 42.55 kB / 0.5771 GB, free: 2.316 MB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 1.353e-06/0.5172, allocations: 0 / 0.5771 GB, free: 2.316 MB / 394.7 MB Notification: Performance of matching and sorting (n=20): time 0.001995/0.5192, allocations: 0.7399 MB / 0.5779 GB, free: 1.566 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.093e-05/0.5192, allocations: 89.27 kB / 0.5779 GB, free: 1.461 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001086/0.5203, allocations: 0.8544 MB / 0.5788 GB, free: 0.5977 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.793e-05/0.5204, allocations: 37.64 kB / 0.5788 GB, free: 0.5547 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00018/0.5205, allocations: 252.4 kB / 0.5791 GB, free: 312 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.517e-05/0.5206, allocations: 67 kB / 0.5791 GB, free: 244 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.247e-05/0.5206, allocations: 4 kB / 0.5791 GB, free: 240 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001667/0.5208, allocations: 366.8 kB / 0.5795 GB, free: 15.87 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002575/0.5211, allocations: 107.9 kB / 0.5796 GB, free: 15.76 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000259/0.5213, allocations: 125.6 kB / 0.5797 GB, free: 15.63 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000511/0.5219, allocations: 249.7 kB / 0.5799 GB, free: 15.38 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.5219, allocations: 0 / 0.5799 GB, free: 15.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006713/0.5225, allocations: 340.7 kB / 0.5803 GB, free: 15.04 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.5226, allocations: 8 kB / 0.5803 GB, free: 15.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.5226, allocations: 0 / 0.5803 GB, free: 15.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.5226, allocations: 0 / 0.5803 GB, free: 15.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002706/0.5229, allocations: 63.94 kB / 0.5803 GB, free: 14.97 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.5229, allocations: 0 / 0.5803 GB, free: 14.97 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001938/0.5231, allocations: 35.89 kB / 0.5804 GB, free: 14.94 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.401e-05/0.5231, allocations: 11.98 kB / 0.5804 GB, free: 14.93 MB / 410.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 (20): * Single equations (assignments): 20 * 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.0002192/0.5234, allocations: 209.7 kB / 0.5806 GB, free: 14.71 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001087/0.5235, allocations: 59.28 kB / 0.5806 GB, free: 14.65 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008229/0.5243, allocations: 390.2 kB / 0.581 GB, free: 14.27 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.5243, allocations: 0 / 0.581 GB, free: 14.27 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.5243, allocations: 7.984 kB / 0.581 GB, free: 14.26 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.5243, allocations: 4.078 kB / 0.581 GB, free: 14.25 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001454/0.5258, allocations: 0.997 MB / 0.582 GB, free: 13.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/0.5258, allocations: 4.75 kB / 0.582 GB, free: 13.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002351/0.5261, allocations: 63.89 kB / 0.582 GB, free: 13.13 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.5261, allocations: 0 / 0.582 GB, free: 13.13 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.056e-05/0.5261, allocations: 8 kB / 0.5821 GB, free: 13.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.786e-06/0.5261, allocations: 0 / 0.5821 GB, free: 13.12 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.5261, allocations: 4 kB / 0.5821 GB, free: 13.12 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007794/0.5269, allocations: 0.5106 MB / 0.5826 GB, free: 12.59 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002179/0.5271, allocations: 176.4 kB / 0.5827 GB, free: 12.4 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.184e-05/0.5272, allocations: 7.938 kB / 0.5827 GB, free: 12.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002507/0.5275, allocations: 43.91 kB / 0.5828 GB, free: 12.35 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.841e-05/0.5276, allocations: 15.97 kB / 0.5828 GB, free: 12.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.728e-05/0.5276, allocations: 7.938 kB / 0.5828 GB, free: 12.33 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000861/0.5285, allocations: 0.6237 MB / 0.5834 GB, free: 11.71 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5285, allocations: 0 / 0.5834 GB, free: 11.71 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004251/0.5289, allocations: 79.98 kB / 0.5835 GB, free: 11.63 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 (20): * Single equations (assignments): 20 * 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.001072/0.53, allocations: 413.8 kB / 0.5839 GB, free: 11.32 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006304/0.5306, allocations: 256.6 kB / 0.5841 GB, free: 11.07 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.5306, allocations: 4 kB / 0.5841 GB, free: 11.06 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002877/0.5309, allocations: 139.9 kB / 0.5843 GB, free: 10.93 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006338/0.5316, allocations: 78.94 kB / 0.5843 GB, free: 10.84 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001683/0.5333, allocations: 1.042 MB / 0.5854 GB, free: 9.777 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004639/0.5338, allocations: 0.8617 MB / 0.5862 GB, free: 8.891 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002502/0.534, allocations: 86.91 kB / 0.5863 GB, free: 8.805 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001376/0.5342, allocations: 47.36 kB / 0.5863 GB, free: 8.758 MB / 410.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5342, allocations: 0 / 0.5863 GB, free: 8.758 MB / 410.7 MB Notification: Performance of Templates: time 0.009595/0.5438, allocations: 4.606 MB / 0.5908 GB, free: 4.164 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test23/Test23.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches