Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|cosine_R.y|sine_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|cosine_L.y|sine_L.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|cosine_R.y|sine_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|cosine_L.y|sine_L.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001064/0.001064, allocations: 183 kB / 13.19 MB, free: 2.129 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.446/1.446, allocations: 205.2 MB / 218.9 MB, free: 9.148 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.0007725/0.0007725, allocations: 91.78 kB / 267 MB, free: 9.27 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.3392/0.3392, allocations: 43.46 MB / 358.6 MB, free: 52.28 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.675e-05/2.678e-05, allocations: 4 kB / 425.3 MB, free: 8.895 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1127, allocations: 58.84 MB / 484.2 MB, free: 13.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3352/0.4479, allocations: 88.27 MB / 0.559 GB, free: 0.7539 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001947/0.4482, allocations: 74.61 kB / 0.5591 GB, free: 0.6836 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02259/0.4708, allocations: 9.014 MB / 0.5679 GB, free: 7.699 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.324e-06/0.4708, allocations: 0 / 0.5679 GB, free: 7.699 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.053e-05/0.4709, allocations: 15.94 kB / 0.5679 GB, free: 7.684 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.000764/0.4716, allocations: 0.6438 MB / 0.5685 GB, free: 6.996 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.4717, allocations: 8.031 kB / 0.5685 GB, free: 6.988 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.126e-05/0.4718, allocations: 55.25 kB / 0.5686 GB, free: 6.934 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007285/0.4725, allocations: 490.9 kB / 0.5691 GB, free: 6.414 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.4726, allocations: 4 kB / 0.5691 GB, free: 6.41 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.46e-05/0.4726, allocations: 17.28 kB / 0.5691 GB, free: 6.395 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002399/0.4728, allocations: 136.4 kB / 0.5692 GB, free: 6.25 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.4729, allocations: 3.938 kB / 0.5692 GB, free: 6.246 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.771e-05/0.4729, allocations: 4 kB / 0.5692 GB, free: 6.242 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/0.4729, allocations: 11.95 kB / 0.5692 GB, free: 6.23 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001747/0.4731, allocations: 87.91 kB / 0.5693 GB, free: 6.145 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001072/0.4742, allocations: 0.7581 MB / 0.57 GB, free: 5.332 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001849/0.4744, allocations: 113.5 kB / 0.5702 GB, free: 5.203 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.468e-05/0.4744, allocations: 45.83 kB / 0.5702 GB, free: 5.152 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.423e-05/0.4745, allocations: 8 kB / 0.5702 GB, free: 5.145 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.269e-05/0.4745, allocations: 38.56 kB / 0.5702 GB, free: 5.098 MB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 1.442e-06/0.4745, allocations: 0 / 0.5702 GB, free: 5.098 MB / 394.7 MB Notification: Performance of matching and sorting (n=20): time 0.001372/0.4759, allocations: 0.5994 MB / 0.5708 GB, free: 4.488 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.62e-05/0.476, allocations: 85.05 kB / 0.5709 GB, free: 4.387 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008988/0.4769, allocations: 0.7923 MB / 0.5717 GB, free: 3.59 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.436e-05/0.4769, allocations: 29.7 kB / 0.5717 GB, free: 3.555 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002028/0.4771, allocations: 260.3 kB / 0.572 GB, free: 3.297 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.268e-05/0.4772, allocations: 63.02 kB / 0.572 GB, free: 3.234 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.087e-05/0.4772, allocations: 0 / 0.572 GB, free: 3.234 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.4773, allocations: 378.8 kB / 0.5724 GB, free: 2.855 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001316/0.4775, allocations: 76.19 kB / 0.5725 GB, free: 2.781 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001301/0.4776, allocations: 89.69 kB / 0.5725 GB, free: 2.688 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002092/0.4778, allocations: 88.03 kB / 0.5726 GB, free: 2.602 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.4779, allocations: 0 / 0.5726 GB, free: 2.602 MB / 394.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005948/0.4785, allocations: 276.7 kB / 0.5729 GB, free: 2.324 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.4785, allocations: 7.953 kB / 0.5729 GB, free: 2.316 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.4785, allocations: 3.984 kB / 0.5729 GB, free: 2.312 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.375e-05/0.4785, allocations: 3.984 kB / 0.5729 GB, free: 2.309 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000302/0.4788, allocations: 67.89 kB / 0.573 GB, free: 2.242 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.4789, allocations: 0 / 0.573 GB, free: 2.242 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002007/0.4791, allocations: 35.98 kB / 0.573 GB, free: 2.207 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.105e-05/0.4791, allocations: 7.984 kB / 0.573 GB, free: 2.199 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 () * 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 9.439e-05/0.4792, allocations: 116.9 kB / 0.5731 GB, free: 2.078 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/0.4793, allocations: 51.34 kB / 0.5732 GB, free: 2.027 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005586/0.4799, allocations: 338.3 kB / 0.5735 GB, free: 1.688 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.4799, allocations: 0 / 0.5735 GB, free: 1.688 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.578e-05/0.4799, allocations: 4 kB / 0.5735 GB, free: 1.684 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.4799, allocations: 3.984 kB / 0.5735 GB, free: 1.68 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001326/0.4812, allocations: 0.958 MB / 0.5744 GB, free: 0.6641 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.4813, allocations: 4 kB / 0.5744 GB, free: 0.6602 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002523/0.4815, allocations: 63.94 kB / 0.5745 GB, free: 0.5977 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.4815, allocations: 0 / 0.5745 GB, free: 0.5977 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.958e-05/0.4816, allocations: 8 kB / 0.5745 GB, free: 0.5898 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.4816, allocations: 384 / 0.5745 GB, free: 0.5898 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.4816, allocations: 4 kB / 0.5745 GB, free: 0.5859 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004754/0.4821, allocations: 451.7 kB / 0.5749 GB, free: 124 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002415/0.4823, allocations: 188.3 kB / 0.5751 GB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.604e-05/0.4824, allocations: 12 kB / 0.5751 GB, free: 15.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002523/0.4826, allocations: 31.97 kB / 0.5752 GB, free: 15.87 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.83e-05/0.4827, allocations: 19.97 kB / 0.5752 GB, free: 15.85 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-05/0.4827, allocations: 4 kB / 0.5752 GB, free: 15.85 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006896/0.4834, allocations: 0.6319 MB / 0.5758 GB, free: 15.22 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4834, allocations: 4 kB / 0.5758 GB, free: 15.21 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000373/0.4838, allocations: 87.94 kB / 0.5759 GB, free: 15.13 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 () * 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.0008282/0.4846, allocations: 379.8 kB / 0.5763 GB, free: 14.83 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003957/0.485, allocations: 188.7 kB / 0.5764 GB, free: 14.65 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.4851, allocations: 4 kB / 0.5764 GB, free: 14.64 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001795/0.4853, allocations: 107.8 kB / 0.5765 GB, free: 14.54 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005077/0.4858, allocations: 74.02 kB / 0.5766 GB, free: 14.47 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001515/0.4873, allocations: 0.7838 MB / 0.5774 GB, free: 13.66 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005139/0.4878, allocations: 0.895 MB / 0.5782 GB, free: 12.74 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002731/0.4881, allocations: 115.1 kB / 0.5784 GB, free: 12.63 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001414/0.4883, allocations: 47.42 kB / 0.5784 GB, free: 12.59 MB / 410.7 MB Notification: Performance of SimCode: time 9.71e-07/0.4883, allocations: 0 / 0.5784 GB, free: 12.59 MB / 410.7 MB Notification: Performance of Templates: time 0.008824/0.4971, allocations: 4.707 MB / 0.583 GB, free: 7.883 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test23/Test23.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches