Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002099/0.002099, allocations: 169 kB / 8.742 MB, free: 344 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.669/1.669, allocations: 221.5 MB / 230.7 MB, free: 7.555 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001329/0.001329, allocations: 109.6 kB / 281.6 MB, free: 5.305 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1827/0.1827, allocations: 44.15 MB / 376.5 MB, free: 3.027 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.409e-05/1.412e-05, allocations: 224 / 444.6 MB, free: 15.22 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1293, allocations: 61.91 MB / 0.4947 GB, free: 1.238 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3832/0.5126, allocations: 86.93 MB / 0.5796 GB, free: 9.562 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002981/0.513, allocations: 71.97 kB / 0.5796 GB, free: 9.492 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006952/0.5199, allocations: 2.914 MB / 0.5825 GB, free: 6.57 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.52, allocations: 0 / 0.5825 GB, free: 6.57 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.266e-05/0.52, allocations: 4 kB / 0.5825 GB, free: 6.566 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003406/0.5204, allocations: 362.4 kB / 0.5828 GB, free: 6.168 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/0.5204, allocations: 11.98 kB / 0.5828 GB, free: 6.156 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.409e-05/0.5204, allocations: 10.86 kB / 0.5828 GB, free: 6.148 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001503/0.5206, allocations: 167.4 kB / 0.583 GB, free: 5.945 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.5206, allocations: 7.953 kB / 0.583 GB, free: 5.938 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.157e-05/0.5206, allocations: 4 kB / 0.583 GB, free: 5.934 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001035/0.5208, allocations: 39.92 kB / 0.5831 GB, free: 5.895 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002105/0.521, allocations: 177.9 kB / 0.5832 GB, free: 5.668 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.521, allocations: 3.938 kB / 0.5832 GB, free: 5.664 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.521, allocations: 0 / 0.5832 GB, free: 5.664 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.725e-05/0.521, allocations: 8 kB / 0.5832 GB, free: 5.656 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009189/0.522, allocations: 1.678 MB / 0.5849 GB, free: 3.883 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.093e-05/0.5221, allocations: 181 kB / 0.585 GB, free: 3.695 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.409e-05/0.5221, allocations: 80.14 kB / 0.5851 GB, free: 3.613 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.463e-05/0.5221, allocations: 75.28 kB / 0.5852 GB, free: 3.539 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.405e-05/0.5222, allocations: 105.8 kB / 0.5853 GB, free: 3.426 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 1.303e-06/0.5222, allocations: 0 / 0.5853 GB, free: 3.426 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 7.8e-05/0.5223, allocations: 37.61 kB / 0.5853 GB, free: 3.383 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.381e-05/0.5223, allocations: 55.39 kB / 0.5854 GB, free: 3.316 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001569/0.5225, allocations: 169.2 kB / 0.5855 GB, free: 3.145 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.11e-05/0.5225, allocations: 29.64 kB / 0.5856 GB, free: 3.109 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.183e-05/0.5226, allocations: 151.1 kB / 0.5857 GB, free: 2.957 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.895e-06/0.5226, allocations: 0 / 0.5857 GB, free: 2.957 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.539e-06/0.5226, allocations: 0 / 0.5857 GB, free: 2.957 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.5228, allocations: 322.8 kB / 0.586 GB, free: 2.633 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.136e-05/0.5228, allocations: 27.95 kB / 0.5861 GB, free: 2.605 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001032/0.5229, allocations: 149.2 kB / 0.5862 GB, free: 2.398 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.355e-05/0.523, allocations: 63.73 kB / 0.5863 GB, free: 2.34 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.523, allocations: 4 kB / 0.5863 GB, free: 2.336 MB / 394.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002515/0.5233, allocations: 165.2 kB / 0.5864 GB, free: 2.168 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.5233, allocations: 13.34 kB / 0.5864 GB, free: 2.156 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/0.5233, allocations: 4 kB / 0.5864 GB, free: 2.152 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.5233, allocations: 8 kB / 0.5864 GB, free: 2.145 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001236/0.5235, allocations: 36.55 kB / 0.5865 GB, free: 2.109 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.186e-05/0.5235, allocations: 12.69 kB / 0.5865 GB, free: 2.098 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.021e-05/0.5236, allocations: 23.75 kB / 0.5865 GB, free: 2.074 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.656e-05/0.5236, allocations: 11.95 kB / 0.5865 GB, free: 2.062 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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.0001082/0.5237, allocations: 192.1 kB / 0.5867 GB, free: 1.867 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.452e-05/0.5238, allocations: 108.9 kB / 0.5868 GB, free: 1.754 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.264e-05/0.5238, allocations: 120.7 kB / 0.5869 GB, free: 1.625 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.646e-05/0.5239, allocations: 180.3 kB / 0.5871 GB, free: 1.441 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-05/0.524, allocations: 184.3 kB / 0.5873 GB, free: 1.254 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.21e-05/0.524, allocations: 184.2 kB / 0.5874 GB, free: 1.066 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002304/0.5243, allocations: 405.7 kB / 0.5878 GB, free: 0.625 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-05/0.5243, allocations: 101 kB / 0.5879 GB, free: 0.5195 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.226e-05/0.5244, allocations: 104.9 kB / 0.588 GB, free: 420 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.983e-05/0.5244, allocations: 180.3 kB / 0.5882 GB, free: 232 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-05/0.5245, allocations: 180.3 kB / 0.5884 GB, free: 44 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.752e-05/0.5246, allocations: 188.2 kB / 0.5886 GB, free: 15.85 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.448e-05/0.5247, allocations: 176.3 kB / 0.5887 GB, free: 15.67 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001313/0.5248, allocations: 321 kB / 0.589 GB, free: 15.34 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.975e-05/0.5249, allocations: 186 kB / 0.5892 GB, free: 15.13 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.515e-05/0.525, allocations: 180.3 kB / 0.5894 GB, free: 14.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.493e-05/0.5251, allocations: 108.9 kB / 0.5895 GB, free: 14.83 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.514e-05/0.5251, allocations: 180.2 kB / 0.5897 GB, free: 14.65 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-05/0.5252, allocations: 101 kB / 0.5898 GB, free: 14.54 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.535e-05/0.5253, allocations: 132.1 kB / 0.5899 GB, free: 14.41 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5253, allocations: 0 / 0.5899 GB, free: 14.41 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002556/0.5255, allocations: 12 kB / 0.5899 GB, free: 14.4 MB / 410.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.000483/0.526, allocations: 258.1 kB / 0.5901 GB, free: 14.17 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001281/0.5262, allocations: 64.92 kB / 0.5902 GB, free: 14.11 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.5262, allocations: 0 / 0.5902 GB, free: 14.11 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.182e-06/0.5262, allocations: 3.938 kB / 0.5902 GB, free: 14.11 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002976/0.5265, allocations: 0.5301 MB / 0.5907 GB, free: 13.57 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002881/0.5268, allocations: 195.8 kB / 0.5909 GB, free: 13.35 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003145/0.5271, allocations: 0.7047 MB / 0.5916 GB, free: 12.62 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001608/0.5273, allocations: 49.14 kB / 0.5916 GB, free: 12.57 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.017e-05/0.5273, allocations: 15.44 kB / 0.5917 GB, free: 12.55 MB / 410.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5273, allocations: 0 / 0.5917 GB, free: 12.55 MB / 410.7 MB Notification: Performance of Templates: time 0.002896/0.5302, allocations: 0.6637 MB / 0.5923 GB, free: 11.89 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test17/Test17.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches