Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.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.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 179.6 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.227/1.227, allocations: 221.3 MB / 236 MB, free: 2.938 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.0008539/0.0008539, allocations: 92.03 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.1735/0.1735, allocations: 44.14 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.528e-05/2.537e-05, allocations: 4 kB / 451.8 MB, free: 9.434 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1122, allocations: 61.91 MB / 0.5017 GB, free: 11.46 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3371/0.4494, allocations: 88.48 MB / 0.5881 GB, free: 0.8477 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001897/0.4496, allocations: 75.95 kB / 0.5882 GB, free: 0.7734 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01076/0.4604, allocations: 4.726 MB / 0.5928 GB, free: 12.05 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.4604, allocations: 0 / 0.5928 GB, free: 12.05 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.03e-05/0.4605, allocations: 4 kB / 0.5928 GB, free: 12.05 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003396/0.4608, allocations: 402.2 kB / 0.5932 GB, free: 11.61 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.4608, allocations: 8.031 kB / 0.5932 GB, free: 11.6 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.764e-05/0.4609, allocations: 15.81 kB / 0.5932 GB, free: 11.59 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002128/0.4611, allocations: 203.5 kB / 0.5934 GB, free: 11.34 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.4611, allocations: 7.953 kB / 0.5934 GB, free: 11.34 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.121e-05/0.4612, allocations: 4 kB / 0.5934 GB, free: 11.33 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001156/0.4613, allocations: 53.62 kB / 0.5935 GB, free: 11.27 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.4613, allocations: 4 kB / 0.5935 GB, free: 11.27 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.4613, allocations: 0 / 0.5935 GB, free: 11.27 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.4613, allocations: 4 kB / 0.5935 GB, free: 11.27 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.519e-05/0.4614, allocations: 23.94 kB / 0.5935 GB, free: 11.24 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003489/0.4617, allocations: 316.7 kB / 0.5938 GB, free: 10.88 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001658/0.4619, allocations: 54.59 kB / 0.5938 GB, free: 10.82 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.069e-05/0.462, allocations: 16.98 kB / 0.5939 GB, free: 10.8 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.537e-05/0.462, allocations: 0 / 0.5939 GB, free: 10.8 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.893e-05/0.462, allocations: 34.56 kB / 0.5939 GB, free: 10.76 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 8.31e-07/0.462, allocations: 0 / 0.5939 GB, free: 10.76 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005386/0.4626, allocations: 217.3 kB / 0.5941 GB, free: 10.54 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.708e-05/0.4626, allocations: 51.41 kB / 0.5942 GB, free: 10.48 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001745/0.4628, allocations: 191.7 kB / 0.5943 GB, free: 10.28 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.47e-05/0.4628, allocations: 29.7 kB / 0.5944 GB, free: 10.24 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.769e-05/0.4629, allocations: 104.1 kB / 0.5945 GB, free: 10.14 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.922e-05/0.4629, allocations: 39.45 kB / 0.5945 GB, free: 10.1 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.529e-06/0.4629, allocations: 0 / 0.5945 GB, free: 10.1 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.719e-05/0.463, allocations: 322.8 kB / 0.5948 GB, free: 9.773 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.405e-05/0.463, allocations: 35.94 kB / 0.5948 GB, free: 9.738 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.603e-05/0.4631, allocations: 24 kB / 0.5949 GB, free: 9.715 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.682e-05/0.4631, allocations: 30.94 kB / 0.5949 GB, free: 9.688 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.4631, allocations: 0 / 0.5949 GB, free: 9.688 MB / 410.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001402/0.4633, allocations: 101.6 kB / 0.595 GB, free: 9.582 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.4633, allocations: 8 kB / 0.595 GB, free: 9.574 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.4633, allocations: 4 kB / 0.595 GB, free: 9.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.358e-06/0.4633, allocations: 0 / 0.595 GB, free: 9.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001121/0.4634, allocations: 35.97 kB / 0.595 GB, free: 9.535 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.4635, allocations: 3.953 kB / 0.595 GB, free: 9.531 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.861e-05/0.4635, allocations: 23.84 kB / 0.5951 GB, free: 9.508 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.4636, allocations: 0 / 0.5951 GB, free: 9.508 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 (11): * Single equations (assignments): 11 * 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.95e-05/0.4636, allocations: 113 kB / 0.5952 GB, free: 9.391 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.137e-05/0.4637, allocations: 7.906 kB / 0.5952 GB, free: 9.383 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002047/0.4639, allocations: 139.1 kB / 0.5953 GB, free: 9.238 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.4639, allocations: 4 kB / 0.5953 GB, free: 9.234 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.4639, allocations: 0 / 0.5953 GB, free: 9.234 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.4639, allocations: 3.953 kB / 0.5953 GB, free: 9.23 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000459/0.4644, allocations: 451.9 kB / 0.5957 GB, free: 8.727 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.4644, allocations: 0 / 0.5957 GB, free: 8.727 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001068/0.4645, allocations: 39.97 kB / 0.5958 GB, free: 8.688 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.4645, allocations: 4 kB / 0.5958 GB, free: 8.684 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.4645, allocations: 7.953 kB / 0.5958 GB, free: 8.676 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.4645, allocations: 0 / 0.5958 GB, free: 8.676 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.4645, allocations: 4 kB / 0.5958 GB, free: 8.672 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001941/0.4647, allocations: 240.3 kB / 0.596 GB, free: 8.402 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.418e-05/0.4648, allocations: 97 kB / 0.5961 GB, free: 8.289 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.06e-05/0.4648, allocations: 4 kB / 0.5961 GB, free: 8.285 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.942e-05/0.4649, allocations: 15.98 kB / 0.5961 GB, free: 8.27 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.472e-05/0.465, allocations: 11.98 kB / 0.5962 GB, free: 8.258 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.124e-06/0.465, allocations: 4 kB / 0.5962 GB, free: 8.254 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001126/0.4651, allocations: 156.9 kB / 0.5963 GB, free: 8.102 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4651, allocations: 0 / 0.5963 GB, free: 8.102 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002234/0.4653, allocations: 39.92 kB / 0.5963 GB, free: 8.062 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0008227/0.4662, allocations: 415.6 kB / 0.5967 GB, free: 7.77 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001456/0.4663, allocations: 75.81 kB / 0.5968 GB, free: 7.695 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.4663, allocations: 4 kB / 0.5968 GB, free: 7.691 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.977e-05/0.4664, allocations: 39.88 kB / 0.5969 GB, free: 7.652 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001907/0.4666, allocations: 26.61 kB / 0.5969 GB, free: 7.629 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003582/0.467, allocations: 216 kB / 0.5971 GB, free: 7.395 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000234/0.4672, allocations: 0.716 MB / 0.5978 GB, free: 6.652 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.774e-05/0.4673, allocations: 20.53 kB / 0.5978 GB, free: 6.633 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.303e-05/0.4673, allocations: 19.44 kB / 0.5978 GB, free: 6.613 MB / 410.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4673, allocations: 0 / 0.5978 GB, free: 6.613 MB / 410.7 MB Notification: Performance of Templates: time 0.003714/0.4711, allocations: 1.551 MB / 0.5993 GB, free: 5.066 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test30/Test30.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches