Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 180.1 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.249/1.249, allocations: 221.3 MB / 236 MB, free: 2.977 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.0008068/0.0008068, allocations: 91.67 kB / 287 MB, free: 248 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.1763/0.1763, allocations: 44.16 MB / 382 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.41e-05/2.413e-05, allocations: 4.219 kB / 451.8 MB, free: 9.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1358, allocations: 61.91 MB / 0.5017 GB, free: 11.46 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3381/0.474, allocations: 87.88 MB / 0.5875 GB, free: 1.445 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001957/0.4742, allocations: 71.97 kB / 0.5876 GB, free: 1.375 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009658/0.4839, allocations: 3.727 MB / 0.5912 GB, free: 13.66 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.4839, allocations: 0 / 0.5912 GB, free: 13.66 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.395e-05/0.484, allocations: 0 / 0.5912 GB, free: 13.66 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004901/0.4845, allocations: 362.4 kB / 0.5916 GB, free: 13.26 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.941e-05/0.4845, allocations: 12.03 kB / 0.5916 GB, free: 13.25 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.542e-05/0.4846, allocations: 7.906 kB / 0.5916 GB, free: 13.24 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002661/0.4848, allocations: 192.1 kB / 0.5918 GB, free: 13.02 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.4849, allocations: 8 kB / 0.5918 GB, free: 13.01 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.957e-05/0.4849, allocations: 0 / 0.5918 GB, free: 13.01 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00013/0.485, allocations: 45.64 kB / 0.5918 GB, free: 12.96 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.485, allocations: 0 / 0.5918 GB, free: 12.96 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.4851, allocations: 0 / 0.5918 GB, free: 12.96 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.4851, allocations: 4 kB / 0.5918 GB, free: 12.95 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.287e-05/0.4851, allocations: 12 kB / 0.5918 GB, free: 12.94 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004001/0.4855, allocations: 280.8 kB / 0.5921 GB, free: 12.62 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001928/0.4858, allocations: 46.5 kB / 0.5921 GB, free: 12.56 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.183e-05/0.4858, allocations: 8.859 kB / 0.5922 GB, free: 12.55 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.082e-05/0.4858, allocations: 7.984 kB / 0.5922 GB, free: 12.54 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.503e-05/0.4859, allocations: 30.56 kB / 0.5922 GB, free: 12.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.333e-06/0.4859, allocations: 0 / 0.5922 GB, free: 12.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004061/0.4863, allocations: 109.5 kB / 0.5923 GB, free: 12.39 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.503e-05/0.4863, allocations: 55.41 kB / 0.5924 GB, free: 12.32 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001638/0.4865, allocations: 138.4 kB / 0.5925 GB, free: 12.18 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/0.4865, allocations: 25.7 kB / 0.5925 GB, free: 12.15 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.79e-05/0.4866, allocations: 92.14 kB / 0.5926 GB, free: 12.05 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.102e-05/0.4866, allocations: 23.73 kB / 0.5926 GB, free: 12.03 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.537e-06/0.4867, allocations: 0 / 0.5926 GB, free: 12.03 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.4868, allocations: 314.8 kB / 0.5929 GB, free: 11.71 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.714e-05/0.4868, allocations: 12 kB / 0.5929 GB, free: 11.7 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.141e-05/0.4869, allocations: 15.92 kB / 0.5929 GB, free: 11.69 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.286e-05/0.4869, allocations: 15.95 kB / 0.593 GB, free: 11.67 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.4869, allocations: 0 / 0.593 GB, free: 11.67 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001162/0.487, allocations: 65.58 kB / 0.593 GB, free: 11.6 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.4871, allocations: 5.406 kB / 0.593 GB, free: 11.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/0.4871, allocations: 0 / 0.593 GB, free: 11.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/0.4871, allocations: 0 / 0.593 GB, free: 11.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.746e-05/0.4872, allocations: 12 kB / 0.593 GB, free: 11.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/0.4872, allocations: 4 kB / 0.593 GB, free: 11.58 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.292e-05/0.4873, allocations: 11.98 kB / 0.5931 GB, free: 11.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.195e-06/0.4873, allocations: 4 kB / 0.5931 GB, free: 11.57 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 (5): * Single equations (assignments): 5 * 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 7.98e-05/0.4874, allocations: 108.9 kB / 0.5932 GB, free: 11.45 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.699e-05/0.4874, allocations: 11.84 kB / 0.5932 GB, free: 11.44 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001757/0.4876, allocations: 78.02 kB / 0.5932 GB, free: 11.36 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.4876, allocations: 0 / 0.5932 GB, free: 11.36 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.4876, allocations: 0 / 0.5932 GB, free: 11.36 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.4876, allocations: 4 kB / 0.5933 GB, free: 11.36 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003264/0.4879, allocations: 334.5 kB / 0.5936 GB, free: 10.97 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.4879, allocations: 0 / 0.5936 GB, free: 10.97 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.028e-05/0.488, allocations: 15.98 kB / 0.5936 GB, free: 10.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.488, allocations: 0 / 0.5936 GB, free: 10.96 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.488, allocations: 7.938 kB / 0.5936 GB, free: 10.95 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.488, allocations: 3.984 kB / 0.5936 GB, free: 10.95 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.4881, allocations: 0 / 0.5936 GB, free: 10.95 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001396/0.4882, allocations: 163.4 kB / 0.5938 GB, free: 10.77 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.236e-05/0.4883, allocations: 85.02 kB / 0.5938 GB, free: 10.67 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.018e-05/0.4883, allocations: 4 kB / 0.5938 GB, free: 10.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.034e-05/0.4884, allocations: 11.92 kB / 0.5938 GB, free: 10.65 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.469e-05/0.4884, allocations: 4 kB / 0.5939 GB, free: 10.65 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.69e-06/0.4884, allocations: 4 kB / 0.5939 GB, free: 10.64 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.155e-05/0.4885, allocations: 116.5 kB / 0.594 GB, free: 10.53 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4885, allocations: 4 kB / 0.594 GB, free: 10.53 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002164/0.4888, allocations: 23.89 kB / 0.594 GB, free: 10.5 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 (5): * Single equations (assignments): 5 * 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.0008126/0.4896, allocations: 355.2 kB / 0.5943 GB, free: 10.26 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001006/0.4897, allocations: 27.98 kB / 0.5944 GB, free: 10.23 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.4897, allocations: 0 / 0.5944 GB, free: 10.23 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.137e-05/0.4897, allocations: 19.94 kB / 0.5944 GB, free: 10.21 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002069/0.49, allocations: 13.67 kB / 0.5944 GB, free: 10.2 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002965/0.4903, allocations: 129.2 kB / 0.5945 GB, free: 10.05 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002943/0.4906, allocations: 0.6965 MB / 0.5952 GB, free: 9.328 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.036e-05/0.4906, allocations: 4.438 kB / 0.5952 GB, free: 9.324 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.395e-05/0.4907, allocations: 15.44 kB / 0.5952 GB, free: 9.309 MB / 410.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4907, allocations: 0 / 0.5952 GB, free: 9.309 MB / 410.7 MB Notification: Performance of Templates: time 0.003081/0.4937, allocations: 1.063 MB / 0.5963 GB, free: 8.25 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test7/Test7.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches