Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3") translateModel(ModelicaTest.Tables.CombiTable2D.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00146/0.00146, 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.766/1.766, 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.0009029/0.0009028, allocations: 90.86 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.215/0.215, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003512/0.0003512, allocations: 12 kB / 431.4 MB, free: 19.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.1419, allocations: 58.86 MB / 490.2 MB, free: 8.668 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4539/0.5958, allocations: 86.84 MB / 0.5636 GB, free: 12.95 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002544/0.5962, allocations: 74.25 kB / 0.5636 GB, free: 12.91 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01783/0.614, allocations: 8.015 MB / 0.5715 GB, free: 5.75 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.614, allocations: 0 / 0.5715 GB, free: 5.75 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.933e-05/0.6141, allocations: 8 kB / 0.5715 GB, free: 5.742 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006709/0.6147, allocations: 0.6405 MB / 0.5721 GB, free: 5.074 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.6148, allocations: 12.02 kB / 0.5721 GB, free: 5.062 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.895e-05/0.6149, allocations: 47.39 kB / 0.5722 GB, free: 5.016 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004786/0.6154, allocations: 328.9 kB / 0.5725 GB, free: 4.668 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.005e-05/0.6154, allocations: 0 / 0.5725 GB, free: 4.668 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.599e-05/0.6154, allocations: 4 kB / 0.5725 GB, free: 4.664 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001616/0.6156, allocations: 68.78 kB / 0.5725 GB, free: 4.598 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.6156, allocations: 7.984 kB / 0.5725 GB, free: 4.59 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.297e-06/0.6156, allocations: 0 / 0.5725 GB, free: 4.59 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.6156, allocations: 0 / 0.5725 GB, free: 4.59 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000139/0.6158, allocations: 46.92 kB / 0.5726 GB, free: 4.551 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006119/0.6164, allocations: 436 kB / 0.573 GB, free: 4.133 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001194/0.6165, allocations: 42.25 kB / 0.573 GB, free: 4.086 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.954e-05/0.6165, allocations: 4 kB / 0.573 GB, free: 4.082 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.289e-05/0.6166, allocations: 34.66 kB / 0.5731 GB, free: 4.039 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.6166, allocations: 3.938 kB / 0.5731 GB, free: 4.035 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0008486/0.6174, allocations: 323.7 kB / 0.5734 GB, free: 3.738 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.446e-05/0.6175, allocations: 51.41 kB / 0.5734 GB, free: 3.676 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001238/0.6187, allocations: 0.7903 MB / 0.5742 GB, free: 3.059 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/0.6188, allocations: 26.27 kB / 0.5742 GB, free: 3.027 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001563/0.6189, allocations: 215.2 kB / 0.5744 GB, free: 2.902 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.891e-05/0.619, allocations: 26.58 kB / 0.5745 GB, free: 2.879 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-06/0.619, allocations: 0 / 0.5745 GB, free: 2.879 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001716/0.6192, allocations: 362.2 kB / 0.5748 GB, free: 2.535 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001154/0.6193, allocations: 46.59 kB / 0.5749 GB, free: 2.496 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.813e-05/0.6194, allocations: 39.34 kB / 0.5749 GB, free: 2.461 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001046/0.6195, allocations: 42.53 kB / 0.5749 GB, free: 2.426 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.6195, allocations: 0 / 0.5749 GB, free: 2.426 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003077/0.6198, allocations: 165 kB / 0.5751 GB, free: 2.273 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.6198, allocations: 7.953 kB / 0.5751 GB, free: 2.266 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.6199, allocations: 320 / 0.5751 GB, free: 2.266 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.6199, allocations: 0 / 0.5751 GB, free: 2.266 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001198/0.62, allocations: 23.98 kB / 0.5751 GB, free: 2.242 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.249e-06/0.62, allocations: 3.938 kB / 0.5751 GB, free: 2.238 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.974e-05/0.6201, allocations: 19.98 kB / 0.5751 GB, free: 2.219 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009e-05/0.6201, allocations: 3.984 kB / 0.5752 GB, free: 2.215 MB / 378.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 (7): * Single equations (assignments): 7 * 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.0001847/0.6203, allocations: 215.2 kB / 0.5754 GB, free: 2.016 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.457e-05/0.6204, allocations: 43.44 kB / 0.5754 GB, free: 1.973 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003719/0.6208, allocations: 188 kB / 0.5756 GB, free: 1.801 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.6208, allocations: 4 kB / 0.5756 GB, free: 1.797 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.6208, allocations: 0 / 0.5756 GB, free: 1.797 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.6208, allocations: 0 / 0.5756 GB, free: 1.797 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009924/0.6218, allocations: 0.6318 MB / 0.5762 GB, free: 1.195 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.6218, allocations: 3.984 kB / 0.5762 GB, free: 1.191 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001196/0.6219, allocations: 27.94 kB / 0.5762 GB, free: 1.164 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.622, allocations: 0 / 0.5762 GB, free: 1.164 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.622, allocations: 4 kB / 0.5762 GB, free: 1.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.622, allocations: 0 / 0.5762 GB, free: 1.16 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.622, allocations: 0 / 0.5762 GB, free: 1.16 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003824/0.6224, allocations: 264.7 kB / 0.5765 GB, free: 0.9023 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002387/0.6226, allocations: 155 kB / 0.5766 GB, free: 0.7383 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.099e-05/0.6227, allocations: 6.703 kB / 0.5766 GB, free: 0.7344 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001129/0.6228, allocations: 15.98 kB / 0.5767 GB, free: 0.7188 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.743e-05/0.6228, allocations: 11.98 kB / 0.5767 GB, free: 0.707 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.631e-06/0.6229, allocations: 2.938 kB / 0.5767 GB, free: 0.707 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006461/0.6235, allocations: 0.6332 MB / 0.5773 GB, free: 252 kB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6235, allocations: 0 / 0.5773 GB, free: 252 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003118/0.6238, allocations: 67.25 kB / 0.5774 GB, free: 188 kB / 378.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 (7): * Single equations (assignments): 7 * 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.0009707/0.6248, allocations: 407.6 kB / 0.5777 GB, free: 15.84 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003148/0.6251, allocations: 93.5 kB / 0.5778 GB, free: 15.75 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.6252, allocations: 4 kB / 0.5778 GB, free: 15.75 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001219/0.6253, allocations: 51.47 kB / 0.5779 GB, free: 15.71 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002862/0.6256, allocations: 29 kB / 0.5779 GB, free: 15.69 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00129/0.6269, allocations: 0.9275 MB / 0.5788 GB, free: 14.81 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004402/0.6273, allocations: 0.8329 MB / 0.5796 GB, free: 13.96 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 9.447e-05/0.6274, allocations: 40.3 kB / 0.5797 GB, free: 13.93 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.769e-05/0.6275, allocations: 19.44 kB / 0.5797 GB, free: 13.91 MB / 394.7 MB Notification: Performance of SimCode: time 1.573e-06/0.6275, allocations: 7.938 kB / 0.5797 GB, free: 13.9 MB / 394.7 MB Notification: Performance of Templates: time 0.006405/0.6339, allocations: 2.485 MB / 0.5821 GB, free: 11.42 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test3/Test3.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches