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.0009834/0.0009834, allocations: 182.9 kB / 15.76 MB, free: 6.367 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.512/1.512, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.001112/0.001112, allocations: 98.84 kB / 270.2 MB, free: 13.36 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.2418/0.2418, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003251/0.0003251, allocations: 8 kB / 431.4 MB, free: 19.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1481/0.1484, allocations: 58.84 MB / 490.2 MB, free: 8.688 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4239/0.5724, allocations: 88.37 MB / 0.565 GB, free: 11.46 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003045/0.5727, allocations: 77.09 kB / 0.5651 GB, free: 11.42 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02502/0.5978, allocations: 9.023 MB / 0.5739 GB, free: 3.656 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.5978, allocations: 0 / 0.5739 GB, free: 3.656 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.749e-05/0.5979, allocations: 15.94 kB / 0.5739 GB, free: 3.641 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.001318/0.5992, allocations: 0.7715 MB / 0.5747 GB, free: 2.852 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.626e-05/0.5993, allocations: 11.97 kB / 0.5747 GB, free: 2.84 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001353/0.5994, allocations: 59.34 kB / 0.5748 GB, free: 2.781 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009229/0.6004, allocations: 486.3 kB / 0.5752 GB, free: 2.301 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.703e-05/0.6004, allocations: 7.312 kB / 0.5752 GB, free: 2.297 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.702e-05/0.6004, allocations: 15.31 kB / 0.5753 GB, free: 2.285 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003769/0.6008, allocations: 165.7 kB / 0.5754 GB, free: 2.141 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/0.6009, allocations: 4 kB / 0.5754 GB, free: 2.137 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.825e-05/0.6009, allocations: 3.312 kB / 0.5754 GB, free: 2.137 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/0.6009, allocations: 7.953 kB / 0.5754 GB, free: 2.129 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003378/0.6012, allocations: 135.3 kB / 0.5756 GB, free: 2.023 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001325/0.6026, allocations: 0.7578 MB / 0.5763 GB, free: 1.309 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003237/0.6029, allocations: 135.7 kB / 0.5764 GB, free: 1.184 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.032e-05/0.603, allocations: 12.2 kB / 0.5764 GB, free: 1.172 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.49e-05/0.603, allocations: 38.38 kB / 0.5765 GB, free: 1.129 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 1.793e-06/0.603, allocations: 7.938 kB / 0.5765 GB, free: 1.121 MB / 378.7 MB Notification: Performance of matching and sorting (n=20): time 0.002247/0.6053, allocations: 0.801 MB / 0.5773 GB, free: 432 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.408e-05/0.6053, allocations: 89.06 kB / 0.5773 GB, free: 324 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001022/0.6064, allocations: 0.7995 MB / 0.5781 GB, free: 15.66 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.149e-05/0.6064, allocations: 29.52 kB / 0.5782 GB, free: 15.62 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001708/0.6066, allocations: 258.8 kB / 0.5784 GB, free: 15.48 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.065e-05/0.6067, allocations: 70.67 kB / 0.5785 GB, free: 15.42 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.158e-05/0.6067, allocations: 7.875 kB / 0.5785 GB, free: 15.42 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000228/0.6069, allocations: 369.8 kB / 0.5788 GB, free: 15.07 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002842/0.6072, allocations: 126.9 kB / 0.5789 GB, free: 14.97 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002718/0.6075, allocations: 148.1 kB / 0.5791 GB, free: 14.85 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003003/0.6078, allocations: 134.7 kB / 0.5792 GB, free: 14.75 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.133e-06/0.6078, allocations: 0 / 0.5792 GB, free: 14.75 MB / 394.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007545/0.6086, allocations: 377.4 kB / 0.5796 GB, free: 14.44 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.287e-05/0.6086, allocations: 6.656 kB / 0.5796 GB, free: 14.44 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.6086, allocations: 4.703 kB / 0.5796 GB, free: 14.43 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.6086, allocations: 4 kB / 0.5796 GB, free: 14.43 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003244/0.609, allocations: 59.94 kB / 0.5797 GB, free: 14.37 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.332e-05/0.609, allocations: 8 kB / 0.5797 GB, free: 14.36 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002418/0.6093, allocations: 27.8 kB / 0.5797 GB, free: 14.34 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.763e-05/0.6093, allocations: 7.984 kB / 0.5797 GB, free: 14.33 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 (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.0003841/0.6097, allocations: 224.9 kB / 0.5799 GB, free: 14.12 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001498/0.6098, allocations: 67.25 kB / 0.58 GB, free: 14.06 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001058/0.6109, allocations: 433.8 kB / 0.5804 GB, free: 13.71 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-05/0.6109, allocations: 7.953 kB / 0.5804 GB, free: 13.71 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/0.611, allocations: 0 / 0.5804 GB, free: 13.71 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.611, allocations: 4 kB / 0.5804 GB, free: 13.7 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002128/0.6131, allocations: 1.052 MB / 0.5814 GB, free: 12.77 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/0.6131, allocations: 3.984 kB / 0.5814 GB, free: 12.77 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002923/0.6134, allocations: 59.89 kB / 0.5815 GB, free: 12.71 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.424e-06/0.6134, allocations: 7.938 kB / 0.5815 GB, free: 12.7 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.892e-05/0.6135, allocations: 3.562 kB / 0.5815 GB, free: 12.7 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.6135, allocations: 4 kB / 0.5815 GB, free: 12.7 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.6135, allocations: 0 / 0.5815 GB, free: 12.7 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008675/0.6144, allocations: 0.5552 MB / 0.582 GB, free: 12.19 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002906/0.6147, allocations: 183.1 kB / 0.5822 GB, free: 12 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.23e-05/0.6147, allocations: 7.812 kB / 0.5822 GB, free: 12 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002724/0.615, allocations: 27.97 kB / 0.5822 GB, free: 11.97 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.001e-05/0.6151, allocations: 18.66 kB / 0.5823 GB, free: 11.95 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.79e-05/0.6151, allocations: 7.312 kB / 0.5823 GB, free: 11.95 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0007792/0.6159, allocations: 0.6405 MB / 0.5829 GB, free: 11.45 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6159, allocations: 0 / 0.5829 GB, free: 11.45 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004473/0.6164, allocations: 86.16 kB / 0.583 GB, free: 11.37 MB / 394.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.001175/0.6176, allocations: 413.4 kB / 0.5834 GB, free: 11.02 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007328/0.6183, allocations: 294.1 kB / 0.5837 GB, free: 10.79 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.6183, allocations: 4 kB / 0.5837 GB, free: 10.78 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003155/0.6187, allocations: 155 kB / 0.5838 GB, free: 10.66 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005282/0.6192, allocations: 77.23 kB / 0.5839 GB, free: 10.61 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00172/0.6209, allocations: 1.086 MB / 0.5849 GB, free: 9.578 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005289/0.6215, allocations: 0.8869 MB / 0.5858 GB, free: 8.672 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003316/0.6218, allocations: 127.1 kB / 0.5859 GB, free: 8.551 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001448/0.622, allocations: 42.8 kB / 0.586 GB, free: 8.512 MB / 394.7 MB Notification: Performance of SimCode: time 8.51e-07/0.622, allocations: 0.75 kB / 0.586 GB, free: 8.512 MB / 394.7 MB Notification: Performance of Templates: time 0.01053/0.6325, allocations: 4.699 MB / 0.5906 GB, free: 3.82 MB / 394.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