Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.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.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sine_R.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22") translateModel(ModelicaTest.Tables.CombiTable2D.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sine_R.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001301/0.001301, allocations: 175.9 kB / 16.77 MB, free: 5.047 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.438/1.438, allocations: 205.4 MB / 222.9 MB, free: 9.035 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.0008868/0.0008869, allocations: 86.41 kB / 271.3 MB, free: 8.254 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.4299/0.4299, allocations: 43.57 MB / 363.1 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003844/0.0003844, allocations: 12 kB / 432.6 MB, free: 4.98 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1396/0.14, allocations: 58.84 MB / 491.5 MB, free: 10.05 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4048/0.5449, allocations: 88.09 MB / 0.566 GB, free: 13.78 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002349/0.5452, allocations: 75.95 kB / 0.566 GB, free: 13.71 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02158/0.5668, allocations: 8.413 MB / 0.5743 GB, free: 5.332 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.435e-06/0.5668, allocations: 0 / 0.5743 GB, free: 5.332 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.054e-05/0.5669, allocations: 8 kB / 0.5743 GB, free: 5.324 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.001156/0.568, allocations: 0.7282 MB / 0.575 GB, free: 4.547 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.305e-05/0.5681, allocations: 8.031 kB / 0.575 GB, free: 4.539 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001171/0.5682, allocations: 56.22 kB / 0.575 GB, free: 4.484 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008346/0.5691, allocations: 499.7 kB / 0.5755 GB, free: 3.957 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.304e-05/0.5691, allocations: 8.375 kB / 0.5755 GB, free: 3.949 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.72e-05/0.5692, allocations: 8.375 kB / 0.5755 GB, free: 3.941 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003474/0.5695, allocations: 136.9 kB / 0.5757 GB, free: 3.797 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.1e-05/0.5696, allocations: 4.188 kB / 0.5757 GB, free: 3.793 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.866e-05/0.5696, allocations: 3.938 kB / 0.5757 GB, free: 3.789 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.5696, allocations: 4 kB / 0.5757 GB, free: 3.785 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002249/0.5698, allocations: 87.88 kB / 0.5758 GB, free: 3.699 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00111/0.5709, allocations: 0.7111 MB / 0.5765 GB, free: 2.934 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000211/0.5712, allocations: 109.2 kB / 0.5766 GB, free: 2.809 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001009/0.5713, allocations: 49.81 kB / 0.5766 GB, free: 2.754 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.75e-05/0.5713, allocations: 0 / 0.5766 GB, free: 2.754 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.057e-05/0.5714, allocations: 42.56 kB / 0.5766 GB, free: 2.703 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 1.142e-06/0.5714, allocations: 0 / 0.5766 GB, free: 2.703 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.001369/0.5727, allocations: 0.545 MB / 0.5772 GB, free: 2.148 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.884e-05/0.5728, allocations: 81.11 kB / 0.5773 GB, free: 2.051 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001038/0.5738, allocations: 0.8545 MB / 0.5781 GB, free: 1.188 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.118e-05/0.5739, allocations: 29.7 kB / 0.5781 GB, free: 1.152 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001789/0.5741, allocations: 248.2 kB / 0.5784 GB, free: 0.9023 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.232e-05/0.5741, allocations: 55.19 kB / 0.5784 GB, free: 0.8477 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.264e-06/0.5741, allocations: 0 / 0.5784 GB, free: 0.8477 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.5743, allocations: 374.8 kB / 0.5788 GB, free: 484 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001561/0.5745, allocations: 64.12 kB / 0.5788 GB, free: 420 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001671/0.5746, allocations: 85.33 kB / 0.5789 GB, free: 332 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003018/0.575, allocations: 153.7 kB / 0.5791 GB, free: 172 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.575, allocations: 0 / 0.5791 GB, free: 172 kB / 394.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004595/0.5754, allocations: 244.8 kB / 0.5793 GB, free: 15.92 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.5755, allocations: 4 kB / 0.5793 GB, free: 15.92 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.5755, allocations: 11.98 kB / 0.5793 GB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.5755, allocations: 0 / 0.5793 GB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000193/0.5757, allocations: 39.97 kB / 0.5793 GB, free: 15.87 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.5757, allocations: 0 / 0.5793 GB, free: 15.87 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001339/0.5759, allocations: 16 kB / 0.5794 GB, free: 15.85 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.656e-05/0.5759, allocations: 7.984 kB / 0.5794 GB, free: 15.84 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 (16): * Single equations (assignments): 16 * 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.0002111/0.5761, allocations: 213.7 kB / 0.5796 GB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.889e-05/0.5762, allocations: 55.28 kB / 0.5796 GB, free: 15.57 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005694/0.5768, allocations: 282.1 kB / 0.5799 GB, free: 15.29 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.5768, allocations: 0 / 0.5799 GB, free: 15.29 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.5768, allocations: 0 / 0.5799 GB, free: 15.29 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.5768, allocations: 7.984 kB / 0.5799 GB, free: 15.28 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001195/0.578, allocations: 0.8527 MB / 0.5807 GB, free: 14.37 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.578, allocations: 7.938 kB / 0.5807 GB, free: 14.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000154/0.5782, allocations: 47.91 kB / 0.5808 GB, free: 14.31 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.102e-05/0.5782, allocations: 4 kB / 0.5808 GB, free: 14.31 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.5782, allocations: 3.984 kB / 0.5808 GB, free: 14.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.5782, allocations: 4.312 kB / 0.5808 GB, free: 14.3 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.5783, allocations: 0 / 0.5808 GB, free: 14.3 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005174/0.5788, allocations: 417.9 kB / 0.5812 GB, free: 13.88 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002163/0.579, allocations: 176.4 kB / 0.5814 GB, free: 13.68 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.318e-05/0.5791, allocations: 8 kB / 0.5814 GB, free: 13.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001842/0.5793, allocations: 20.67 kB / 0.5814 GB, free: 13.66 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.327e-05/0.5793, allocations: 15.98 kB / 0.5814 GB, free: 13.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.49e-05/0.5793, allocations: 11.92 kB / 0.5814 GB, free: 13.63 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007493/0.5801, allocations: 0.6237 MB / 0.582 GB, free: 13.01 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5801, allocations: 0 / 0.582 GB, free: 13.01 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003712/0.5805, allocations: 75.94 kB / 0.5821 GB, free: 12.93 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 (16): * Single equations (assignments): 16 * 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.0009758/0.5815, allocations: 430.8 kB / 0.5825 GB, free: 12.6 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003982/0.5819, allocations: 155.8 kB / 0.5827 GB, free: 12.45 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.5819, allocations: 0 / 0.5827 GB, free: 12.45 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001747/0.5821, allocations: 83.91 kB / 0.5827 GB, free: 12.37 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006175/0.5827, allocations: 70.25 kB / 0.5828 GB, free: 12.3 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001336/0.584, allocations: 0.9743 MB / 0.5838 GB, free: 11.3 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004149/0.5845, allocations: 0.8539 MB / 0.5846 GB, free: 10.42 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002056/0.5847, allocations: 91.48 kB / 0.5847 GB, free: 10.33 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001135/0.5848, allocations: 39.42 kB / 0.5847 GB, free: 10.29 MB / 410.7 MB Notification: Performance of SimCode: time 2.014e-06/0.5848, allocations: 0 / 0.5847 GB, free: 10.29 MB / 410.7 MB Notification: Performance of Templates: time 0.008874/0.5937, allocations: 4.342 MB / 0.589 GB, free: 5.957 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test22/Test22.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches