Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.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.CombiTable1Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 180.5 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.257/1.257, allocations: 221.4 MB / 236 MB, free: 2.91 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.0008276/0.0008276, allocations: 87.86 kB / 287 MB, free: 200 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1845/0.1845, allocations: 44.16 MB / 382 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.512e-05/2.515e-05, allocations: 4.219 kB / 451.8 MB, free: 9.434 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.1166, allocations: 61.91 MB / 0.5017 GB, free: 11.46 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.357/0.4736, allocations: 87.97 MB / 0.5876 GB, free: 1.34 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002138/0.4739, allocations: 63.97 kB / 0.5877 GB, free: 1.277 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01013/0.484, allocations: 4.274 MB / 0.5918 GB, free: 13.02 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.4841, allocations: 0 / 0.5918 GB, free: 13.02 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.398e-06/0.4841, allocations: 0 / 0.5918 GB, free: 13.02 MB / 410.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.0003156/0.4844, allocations: 394.2 kB / 0.5922 GB, free: 12.59 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.4844, allocations: 8.031 kB / 0.5922 GB, free: 12.58 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.233e-05/0.4845, allocations: 7.906 kB / 0.5922 GB, free: 12.57 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002045/0.4847, allocations: 202.9 kB / 0.5924 GB, free: 12.33 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.104e-05/0.4847, allocations: 11.94 kB / 0.5924 GB, free: 12.32 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.937e-05/0.4847, allocations: 3.906 kB / 0.5924 GB, free: 12.32 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.832e-05/0.4848, allocations: 53.58 kB / 0.5925 GB, free: 12.26 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.4849, allocations: 0 / 0.5925 GB, free: 12.26 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.4849, allocations: 4 kB / 0.5925 GB, free: 12.25 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.4849, allocations: 8 kB / 0.5925 GB, free: 12.25 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.579e-05/0.4849, allocations: 15.98 kB / 0.5925 GB, free: 12.23 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003381/0.4853, allocations: 292.8 kB / 0.5928 GB, free: 11.89 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.494e-05/0.4854, allocations: 38.52 kB / 0.5928 GB, free: 11.85 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.232e-05/0.4854, allocations: 8.859 kB / 0.5928 GB, free: 11.84 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.896e-05/0.4854, allocations: 8 kB / 0.5929 GB, free: 11.83 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.118e-05/0.4854, allocations: 34.64 kB / 0.5929 GB, free: 11.79 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.4855, allocations: 0 / 0.5929 GB, free: 11.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004565/0.4859, allocations: 153.2 kB / 0.593 GB, free: 11.63 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.137e-05/0.486, allocations: 55.41 kB / 0.5931 GB, free: 11.56 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001622/0.4861, allocations: 181.3 kB / 0.5933 GB, free: 11.38 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.229e-05/0.4862, allocations: 33.7 kB / 0.5933 GB, free: 11.34 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.555e-05/0.4862, allocations: 104 kB / 0.5934 GB, free: 11.23 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.164e-05/0.4862, allocations: 23.66 kB / 0.5934 GB, free: 11.21 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.537e-06/0.4862, allocations: 0 / 0.5934 GB, free: 11.21 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.699e-05/0.4863, allocations: 330.8 kB / 0.5937 GB, free: 10.88 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.98e-05/0.4864, allocations: 12 kB / 0.5937 GB, free: 10.87 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.598e-05/0.4864, allocations: 16 kB / 0.5938 GB, free: 10.85 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.507e-05/0.4864, allocations: 20.22 kB / 0.5938 GB, free: 10.83 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.4865, allocations: 3.938 kB / 0.5938 GB, free: 10.83 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000114/0.4866, allocations: 93.47 kB / 0.5939 GB, free: 10.73 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.4866, allocations: 5.094 kB / 0.5939 GB, free: 10.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.4866, allocations: 0 / 0.5939 GB, free: 10.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.4866, allocations: 4 kB / 0.5939 GB, free: 10.72 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001136/0.4867, allocations: 15.98 kB / 0.5939 GB, free: 10.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.4868, allocations: 4 kB / 0.5939 GB, free: 10.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.245e-05/0.4868, allocations: 4 kB / 0.5939 GB, free: 10.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.662e-06/0.4868, allocations: 0 / 0.5939 GB, free: 10.7 MB / 410.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 5.582e-05/0.4869, allocations: 124.9 kB / 0.594 GB, free: 10.57 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.116e-05/0.4869, allocations: 11.84 kB / 0.594 GB, free: 10.56 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001616/0.4871, allocations: 94.3 kB / 0.5941 GB, free: 10.46 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.4871, allocations: 0 / 0.5941 GB, free: 10.46 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-06/0.4871, allocations: 0 / 0.5941 GB, free: 10.46 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.4871, allocations: 0 / 0.5941 GB, free: 10.46 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003759/0.4875, allocations: 407.2 kB / 0.5945 GB, free: 10.01 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.4875, allocations: 0 / 0.5945 GB, free: 10.01 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.176e-05/0.4876, allocations: 23.98 kB / 0.5945 GB, free: 9.984 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.4876, allocations: 288 / 0.5945 GB, free: 9.984 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.837e-06/0.4876, allocations: 4 kB / 0.5945 GB, free: 9.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.4876, allocations: 7.938 kB / 0.5945 GB, free: 9.973 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.4876, allocations: 0 / 0.5945 GB, free: 9.973 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001481/0.4878, allocations: 202 kB / 0.5947 GB, free: 9.75 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.078e-05/0.4878, allocations: 92.92 kB / 0.5948 GB, free: 9.641 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.693e-05/0.4878, allocations: 4 kB / 0.5948 GB, free: 9.637 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.635e-05/0.4879, allocations: 11.98 kB / 0.5948 GB, free: 9.625 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.377e-05/0.488, allocations: 7.953 kB / 0.5948 GB, free: 9.617 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-06/0.488, allocations: 3.984 kB / 0.5949 GB, free: 9.613 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001115/0.4881, allocations: 152.1 kB / 0.595 GB, free: 9.465 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.4881, allocations: 4 kB / 0.595 GB, free: 9.461 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002227/0.4883, allocations: 31.94 kB / 0.595 GB, free: 9.43 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0008134/0.4892, allocations: 426.6 kB / 0.5954 GB, free: 9.125 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001023/0.4893, allocations: 48 kB / 0.5955 GB, free: 9.078 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.4893, allocations: 0 / 0.5955 GB, free: 9.078 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.943e-05/0.4893, allocations: 23.94 kB / 0.5955 GB, free: 9.055 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001827/0.4895, allocations: 15.98 kB / 0.5955 GB, free: 9.039 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003134/0.4898, allocations: 183.8 kB / 0.5957 GB, free: 8.828 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002268/0.4901, allocations: 0.7083 MB / 0.5964 GB, free: 8.094 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.064e-05/0.4901, allocations: 16.66 kB / 0.5964 GB, free: 8.074 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.147e-05/0.4902, allocations: 11.44 kB / 0.5964 GB, free: 8.062 MB / 410.7 MB Notification: Performance of SimCode: time 1.543e-06/0.4902, allocations: 0 / 0.5964 GB, free: 8.062 MB / 410.7 MB Notification: Performance of Templates: time 0.003179/0.4934, allocations: 1.346 MB / 0.5977 GB, free: 6.719 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test16/Test16.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches