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.001284/0.001284, allocations: 176.3 kB / 16.76 MB, free: 5.051 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.667/1.667, 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.0008542/0.000854, allocations: 105.7 kB / 271.3 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.3738/0.3738, allocations: 43.56 MB / 363.1 MB, free: 52.19 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003901/0.0003903, allocations: 20 kB / 432.6 MB, free: 5.195 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.1344, allocations: 58.84 MB / 491.5 MB, free: 10.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4513/0.5858, allocations: 88.4 MB / 0.5663 GB, free: 13.6 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003219/0.5862, allocations: 71.95 kB / 0.5663 GB, free: 13.53 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03808/0.6242, allocations: 9.034 MB / 0.5752 GB, free: 4.516 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.6243, allocations: 0 / 0.5752 GB, free: 4.516 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.455e-05/0.6244, allocations: 19.92 kB / 0.5752 GB, free: 4.496 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.001942/0.6264, allocations: 0.7572 MB / 0.5759 GB, free: 3.688 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.474e-05/0.6264, allocations: 12.03 kB / 0.5759 GB, free: 3.676 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002393/0.6267, allocations: 56.19 kB / 0.576 GB, free: 3.621 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001377/0.6281, allocations: 0.5035 MB / 0.5765 GB, free: 3.078 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.786e-05/0.6281, allocations: 16.3 kB / 0.5765 GB, free: 3.062 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.341e-05/0.6282, allocations: 8.375 kB / 0.5765 GB, free: 3.055 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005784/0.6288, allocations: 168.7 kB / 0.5767 GB, free: 2.879 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.628e-05/0.6288, allocations: 8.188 kB / 0.5767 GB, free: 2.871 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.488e-05/0.6289, allocations: 3.938 kB / 0.5767 GB, free: 2.867 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.015e-05/0.6289, allocations: 4 kB / 0.5767 GB, free: 2.863 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006117/0.6295, allocations: 139.9 kB / 0.5768 GB, free: 2.727 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001956/0.6315, allocations: 0.7542 MB / 0.5776 GB, free: 1.918 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005058/0.632, allocations: 133.3 kB / 0.5777 GB, free: 1.77 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003071/0.6323, allocations: 85.73 kB / 0.5778 GB, free: 1.68 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.54e-05/0.6324, allocations: 0 / 0.5778 GB, free: 1.68 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.225e-05/0.6325, allocations: 42.5 kB / 0.5778 GB, free: 1.629 MB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 1.974e-06/0.6325, allocations: 0 / 0.5778 GB, free: 1.629 MB / 394.7 MB Notification: Performance of matching and sorting (n=20): time 0.003764/0.6363, allocations: 0.8101 MB / 0.5786 GB, free: 0.8086 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.236e-05/0.6364, allocations: 85.05 kB / 0.5787 GB, free: 0.707 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001975/0.6383, allocations: 0.8788 MB / 0.5795 GB, free: 15.82 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.576e-05/0.6384, allocations: 25.7 kB / 0.5796 GB, free: 15.79 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002952/0.6387, allocations: 256.4 kB / 0.5798 GB, free: 15.54 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.973e-05/0.6388, allocations: 74.98 kB / 0.5799 GB, free: 15.46 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.021e-05/0.6389, allocations: 8 kB / 0.5799 GB, free: 15.45 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002255/0.6391, allocations: 366.8 kB / 0.5802 GB, free: 15.09 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005065/0.6396, allocations: 127.9 kB / 0.5804 GB, free: 14.96 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005199/0.6402, allocations: 146.7 kB / 0.5805 GB, free: 14.81 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009284/0.6411, allocations: 285.6 kB / 0.5808 GB, free: 14.53 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.6411, allocations: 0 / 0.5808 GB, free: 14.53 MB / 410.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.001131/0.6423, allocations: 368.7 kB / 0.5811 GB, free: 14.16 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.916e-05/0.6423, allocations: 9.562 kB / 0.5811 GB, free: 14.15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.6423, allocations: 0 / 0.5811 GB, free: 14.15 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.6424, allocations: 0 / 0.5811 GB, free: 14.15 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003718/0.6428, allocations: 75.88 kB / 0.5812 GB, free: 14.08 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.6428, allocations: 0 / 0.5812 GB, free: 14.08 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002818/0.6431, allocations: 27.89 kB / 0.5812 GB, free: 14.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.387e-05/0.6431, allocations: 16.73 kB / 0.5812 GB, free: 14.04 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.00033/0.6434, allocations: 213.7 kB / 0.5814 GB, free: 13.82 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001865/0.6436, allocations: 63.27 kB / 0.5815 GB, free: 13.75 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001212/0.6449, allocations: 442.1 kB / 0.5819 GB, free: 13.32 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.665e-06/0.6449, allocations: 7.922 kB / 0.5819 GB, free: 13.31 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.6449, allocations: 0 / 0.5819 GB, free: 13.31 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.89e-06/0.6449, allocations: 4 kB / 0.5819 GB, free: 13.3 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002061/0.647, allocations: 1.048 MB / 0.583 GB, free: 12.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.567e-06/0.647, allocations: 11.98 kB / 0.583 GB, free: 12.19 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002419/0.6473, allocations: 59.95 kB / 0.583 GB, free: 12.13 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.6473, allocations: 3.938 kB / 0.583 GB, free: 12.12 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.349e-05/0.6473, allocations: 4 kB / 0.583 GB, free: 12.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.6473, allocations: 4 kB / 0.583 GB, free: 12.12 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.6473, allocations: 0 / 0.583 GB, free: 12.12 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008034/0.6481, allocations: 0.5471 MB / 0.5836 GB, free: 11.55 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002109/0.6483, allocations: 180.4 kB / 0.5838 GB, free: 11.36 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.567e-05/0.6484, allocations: 0 / 0.5838 GB, free: 11.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002426/0.6487, allocations: 31.97 kB / 0.5838 GB, free: 11.33 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.824e-05/0.6487, allocations: 27.91 kB / 0.5838 GB, free: 11.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.639e-05/0.6488, allocations: 11.94 kB / 0.5838 GB, free: 11.29 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008132/0.6496, allocations: 0.6396 MB / 0.5844 GB, free: 10.66 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.6496, allocations: 0 / 0.5844 GB, free: 10.66 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004331/0.65, allocations: 87.91 kB / 0.5845 GB, free: 10.57 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.0009654/0.651, allocations: 416.2 kB / 0.5849 GB, free: 10.26 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007134/0.6517, allocations: 299.7 kB / 0.5852 GB, free: 9.965 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.6517, allocations: 3.938 kB / 0.5852 GB, free: 9.961 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000341/0.6521, allocations: 160.4 kB / 0.5854 GB, free: 9.805 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006125/0.6527, allocations: 66.95 kB / 0.5854 GB, free: 9.734 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001875/0.6546, allocations: 1.09 MB / 0.5865 GB, free: 8.621 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006491/0.6553, allocations: 0.8773 MB / 0.5874 GB, free: 7.719 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003323/0.6556, allocations: 123.1 kB / 0.5875 GB, free: 7.594 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001473/0.6558, allocations: 47.41 kB / 0.5875 GB, free: 7.547 MB / 410.7 MB Notification: Performance of SimCode: time 3.41e-07/0.6558, allocations: 4 kB / 0.5875 GB, free: 7.543 MB / 410.7 MB Notification: Performance of Templates: time 0.00964/0.6654, allocations: 4.696 MB / 0.5921 GB, free: 2.855 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/jenkins1/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