Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.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.Test28,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.Test28") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test28,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.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009712/0.0009713, 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.232/1.232, allocations: 221.3 MB / 236 MB, free: 2.969 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.0007787/0.0007788, allocations: 86.73 kB / 287 MB, free: 252 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.1825/0.1825, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.059e-05/3.061e-05, allocations: 8.203 kB / 451.8 MB, free: 9.445 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1193, allocations: 61.92 MB / 0.5017 GB, free: 11.46 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3578/0.4771, allocations: 87.97 MB / 0.5876 GB, free: 1.344 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002136/0.4774, allocations: 83.88 kB / 0.5877 GB, free: 1.262 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01076/0.4882, allocations: 4.381 MB / 0.592 GB, free: 12.89 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.4882, allocations: 0 / 0.592 GB, free: 12.89 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.355e-05/0.4882, allocations: 4 kB / 0.592 GB, free: 12.89 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.0004388/0.4887, allocations: 398.2 kB / 0.5923 GB, free: 12.46 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.896e-05/0.4888, allocations: 8.031 kB / 0.5924 GB, free: 12.45 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.33e-05/0.4888, allocations: 19.81 kB / 0.5924 GB, free: 12.43 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003205/0.4891, allocations: 206.9 kB / 0.5926 GB, free: 12.19 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.838e-06/0.4892, allocations: 7.891 kB / 0.5926 GB, free: 12.18 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.493e-05/0.4892, allocations: 8 kB / 0.5926 GB, free: 12.17 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001177/0.4893, allocations: 45.69 kB / 0.5926 GB, free: 12.12 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.4893, allocations: 0 / 0.5926 GB, free: 12.12 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.336e-06/0.4894, allocations: 0 / 0.5926 GB, free: 12.12 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.4894, allocations: 0 / 0.5926 GB, free: 12.12 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.666e-05/0.4894, allocations: 19.94 kB / 0.5926 GB, free: 12.1 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003923/0.4898, allocations: 308.7 kB / 0.5929 GB, free: 11.75 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.004e-05/0.4899, allocations: 38.58 kB / 0.593 GB, free: 11.7 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.498e-05/0.4899, allocations: 8.859 kB / 0.593 GB, free: 11.69 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.847e-05/0.49, allocations: 0 / 0.593 GB, free: 11.69 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.032e-05/0.49, allocations: 42.5 kB / 0.593 GB, free: 11.64 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 9.61e-07/0.49, allocations: 4 kB / 0.593 GB, free: 11.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005044/0.4905, allocations: 161.2 kB / 0.5932 GB, free: 11.47 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.731e-05/0.4906, allocations: 55.41 kB / 0.5932 GB, free: 11.41 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002202/0.4908, allocations: 217.8 kB / 0.5934 GB, free: 11.18 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.063e-05/0.4908, allocations: 25.7 kB / 0.5935 GB, free: 11.15 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.946e-05/0.4909, allocations: 108.1 kB / 0.5936 GB, free: 11.04 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.643e-05/0.4909, allocations: 27.56 kB / 0.5936 GB, free: 11.01 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.938e-06/0.4909, allocations: 4 kB / 0.5936 GB, free: 11.01 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.4911, allocations: 326.8 kB / 0.5939 GB, free: 10.68 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.153e-05/0.4911, allocations: 16 kB / 0.5939 GB, free: 10.66 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.835e-05/0.4911, allocations: 16 kB / 0.5939 GB, free: 10.65 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.703e-05/0.4912, allocations: 20.2 kB / 0.594 GB, free: 10.63 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.4912, allocations: 4 kB / 0.594 GB, free: 10.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001226/0.4913, allocations: 85.52 kB / 0.5941 GB, free: 10.54 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.4913, allocations: 4 kB / 0.5941 GB, free: 10.53 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.4914, allocations: 0 / 0.5941 GB, free: 10.53 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.4914, allocations: 4 kB / 0.5941 GB, free: 10.53 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001058/0.4915, allocations: 19.98 kB / 0.5941 GB, free: 10.51 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.745e-05/0.4915, allocations: 0 / 0.5941 GB, free: 10.51 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.101e-05/0.4916, allocations: 15.91 kB / 0.5941 GB, free: 10.49 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.4916, allocations: 3.953 kB / 0.5941 GB, free: 10.49 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 6.791e-05/0.4917, allocations: 109 kB / 0.5942 GB, free: 10.38 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.24e-05/0.4917, allocations: 11.84 kB / 0.5942 GB, free: 10.36 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00018/0.4919, allocations: 103.1 kB / 0.5943 GB, free: 10.26 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.4919, allocations: 4 kB / 0.5943 GB, free: 10.25 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.4919, allocations: 0 / 0.5943 GB, free: 10.25 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.4919, allocations: 0 / 0.5943 GB, free: 10.25 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004625/0.4924, allocations: 415.2 kB / 0.5947 GB, free: 9.789 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.4924, allocations: 0 / 0.5947 GB, free: 9.789 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.621e-05/0.4925, allocations: 24.02 kB / 0.5947 GB, free: 9.766 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.4925, allocations: 0 / 0.5947 GB, free: 9.766 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.582e-05/0.4925, allocations: 4 kB / 0.5947 GB, free: 9.762 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.4925, allocations: 8 kB / 0.5947 GB, free: 9.754 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.4925, allocations: 3.953 kB / 0.5947 GB, free: 9.75 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001706/0.4927, allocations: 194.2 kB / 0.5949 GB, free: 9.535 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.02e-05/0.4928, allocations: 100.9 kB / 0.595 GB, free: 9.418 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.051e-05/0.4928, allocations: 4 kB / 0.595 GB, free: 9.414 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.057e-05/0.4929, allocations: 15.94 kB / 0.595 GB, free: 9.398 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.905e-05/0.493, allocations: 4 kB / 0.5951 GB, free: 9.395 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.279e-06/0.493, allocations: 0 / 0.5951 GB, free: 9.395 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001611/0.4931, allocations: 184.3 kB / 0.5952 GB, free: 9.215 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4931, allocations: 0 / 0.5952 GB, free: 9.215 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002401/0.4934, allocations: 27.94 kB / 0.5953 GB, free: 9.188 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.0009599/0.4943, allocations: 433.6 kB / 0.5957 GB, free: 8.875 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001322/0.4945, allocations: 43.98 kB / 0.5957 GB, free: 8.832 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.4945, allocations: 0 / 0.5957 GB, free: 8.832 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.773e-05/0.4946, allocations: 27.94 kB / 0.5957 GB, free: 8.805 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002428/0.4948, allocations: 16.17 kB / 0.5958 GB, free: 8.785 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004504/0.4953, allocations: 211.6 kB / 0.596 GB, free: 8.555 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003652/0.4956, allocations: 0.7121 MB / 0.5967 GB, free: 7.816 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.067e-05/0.4957, allocations: 25.02 kB / 0.5967 GB, free: 7.789 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.237e-05/0.4958, allocations: 19.44 kB / 0.5967 GB, free: 7.77 MB / 410.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4958, allocations: 0 / 0.5967 GB, free: 7.77 MB / 410.7 MB Notification: Performance of Templates: time 0.003611/0.4994, allocations: 1.409 MB / 0.5981 GB, free: 6.363 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test28/Test28.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches