Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test15.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.CombiTable1D.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test15") translateModel(ModelicaTest.Tables.CombiTable1D.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001617/0.001617, allocations: 176.2 kB / 16.77 MB, free: 5.043 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.615/1.615, allocations: 205.4 MB / 222.9 MB, free: 9.027 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.0007178/0.0007179, allocations: 96.92 kB / 271.3 MB, free: 8.246 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.365/0.365, allocations: 43.57 MB / 363.1 MB, free: 51.92 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003797/0.0003797, allocations: 19.98 kB / 432.6 MB, free: 4.977 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1404/0.1408, allocations: 58.85 MB / 491.5 MB, free: 10.04 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3785/0.5193, allocations: 86.53 MB / 0.5645 GB, free: 15.31 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00023/0.5196, allocations: 75.97 kB / 0.5645 GB, free: 15.24 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01021/0.5298, allocations: 3.941 MB / 0.5684 GB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.336e-06/0.5299, allocations: 7.984 kB / 0.5684 GB, free: 11.33 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.424e-05/0.5299, allocations: 7.562 kB / 0.5684 GB, free: 11.33 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004638/0.5303, allocations: 402.7 kB / 0.5688 GB, free: 10.89 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.5304, allocations: 12.03 kB / 0.5688 GB, free: 10.88 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.44e-05/0.5304, allocations: 8.844 kB / 0.5688 GB, free: 10.87 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002513/0.5307, allocations: 208 kB / 0.569 GB, free: 10.62 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.5307, allocations: 384 / 0.569 GB, free: 10.62 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.801e-05/0.5308, allocations: 384 / 0.569 GB, free: 10.62 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001409/0.5309, allocations: 54.25 kB / 0.569 GB, free: 10.57 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.5309, allocations: 192 / 0.569 GB, free: 10.57 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.5309, allocations: 7.922 kB / 0.5691 GB, free: 10.56 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-06/0.531, allocations: 0 / 0.5691 GB, free: 10.56 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.717e-05/0.5311, allocations: 30.8 kB / 0.5691 GB, free: 10.53 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004369/0.5315, allocations: 296.8 kB / 0.5694 GB, free: 10.19 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002076/0.5317, allocations: 54.48 kB / 0.5694 GB, free: 10.13 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.345e-05/0.5318, allocations: 16.94 kB / 0.5694 GB, free: 10.11 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.968e-05/0.5318, allocations: 4 kB / 0.5694 GB, free: 10.11 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.561e-05/0.5319, allocations: 38.56 kB / 0.5695 GB, free: 10.06 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.663e-06/0.5319, allocations: 0 / 0.5695 GB, free: 10.06 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006221/0.5325, allocations: 173.4 kB / 0.5696 GB, free: 9.883 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.674e-05/0.5325, allocations: 51.41 kB / 0.5697 GB, free: 9.82 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002629/0.5328, allocations: 198.2 kB / 0.5699 GB, free: 9.617 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.5328, allocations: 25.7 kB / 0.5699 GB, free: 9.586 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.221e-05/0.5329, allocations: 104 kB / 0.57 GB, free: 9.48 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.801e-05/0.533, allocations: 15.81 kB / 0.57 GB, free: 9.465 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.376e-06/0.533, allocations: 0 / 0.57 GB, free: 9.465 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.5331, allocations: 322.8 kB / 0.5703 GB, free: 9.141 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.719e-05/0.5332, allocations: 35.86 kB / 0.5704 GB, free: 9.105 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.122e-05/0.5333, allocations: 23.98 kB / 0.5704 GB, free: 9.082 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001522/0.5334, allocations: 68.81 kB / 0.5704 GB, free: 9.012 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.5335, allocations: 0 / 0.5704 GB, free: 9.012 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001896/0.5336, allocations: 89.58 kB / 0.5705 GB, free: 8.918 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.5337, allocations: 4 kB / 0.5705 GB, free: 8.914 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.5337, allocations: 4 kB / 0.5705 GB, free: 8.91 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.5337, allocations: 0 / 0.5705 GB, free: 8.91 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.824e-05/0.5338, allocations: 23.92 kB / 0.5706 GB, free: 8.887 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.5338, allocations: 0 / 0.5706 GB, free: 8.887 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.193e-05/0.5338, allocations: 7.984 kB / 0.5706 GB, free: 8.879 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.5339, allocations: 0.75 kB / 0.5706 GB, free: 8.879 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (5): * Single equations (assignments): 5 * 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.0001214/0.534, allocations: 142.5 kB / 0.5707 GB, free: 8.73 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.589e-05/0.534, allocations: 7.906 kB / 0.5707 GB, free: 8.723 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002618/0.5343, allocations: 114.7 kB / 0.5708 GB, free: 8.609 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.5343, allocations: 0 / 0.5708 GB, free: 8.609 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.5343, allocations: 320 / 0.5708 GB, free: 8.609 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.5343, allocations: 0 / 0.5708 GB, free: 8.609 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005105/0.5348, allocations: 390.4 kB / 0.5712 GB, free: 8.172 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.5349, allocations: 4 kB / 0.5712 GB, free: 8.168 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.45e-05/0.5349, allocations: 15.92 kB / 0.5712 GB, free: 8.152 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-06/0.5349, allocations: 4 kB / 0.5712 GB, free: 8.148 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.226e-06/0.5349, allocations: 0 / 0.5712 GB, free: 8.148 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.535, allocations: 0 / 0.5712 GB, free: 8.148 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.535, allocations: 0 / 0.5712 GB, free: 8.148 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002602/0.5352, allocations: 203.3 kB / 0.5714 GB, free: 7.934 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.849e-05/0.5353, allocations: 89 kB / 0.5715 GB, free: 7.828 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.034e-05/0.5353, allocations: 4 kB / 0.5715 GB, free: 7.824 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.582e-05/0.5354, allocations: 4 kB / 0.5715 GB, free: 7.82 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.607e-05/0.5355, allocations: 19.92 kB / 0.5715 GB, free: 7.801 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.539e-06/0.5355, allocations: 0 / 0.5715 GB, free: 7.801 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001445/0.5356, allocations: 151.8 kB / 0.5717 GB, free: 7.656 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.5356, allocations: 0 / 0.5717 GB, free: 7.656 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002505/0.5359, allocations: 20 kB / 0.5717 GB, free: 7.637 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (5): * Single equations (assignments): 5 * 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.001012/0.5369, allocations: 407.2 kB / 0.5721 GB, free: 7.328 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002246/0.5371, allocations: 63.91 kB / 0.5721 GB, free: 7.266 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.5372, allocations: 0 / 0.5721 GB, free: 7.266 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.237e-05/0.5372, allocations: 31.97 kB / 0.5722 GB, free: 7.234 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000301/0.5375, allocations: 11.98 kB / 0.5722 GB, free: 7.223 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004946/0.5381, allocations: 255.3 kB / 0.5724 GB, free: 6.953 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003328/0.5384, allocations: 0.7043 MB / 0.5731 GB, free: 6.223 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 7.239e-05/0.5385, allocations: 16 kB / 0.5731 GB, free: 6.207 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.67e-05/0.5385, allocations: 15.42 kB / 0.5731 GB, free: 6.195 MB / 394.7 MB Notification: Performance of SimCode: time 5.61e-07/0.5385, allocations: 0 / 0.5731 GB, free: 6.195 MB / 394.7 MB Notification: Performance of Templates: time 0.003522/0.5421, allocations: 1.153 MB / 0.5743 GB, free: 5.047 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test15.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test15.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test15.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test15.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test15.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test15/Test15.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches