Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.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.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009462/0.0009463, allocations: 180.3 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.204/1.204, 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.0007913/0.0007914, allocations: 88.05 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.1783/0.1783, allocations: 44.15 MB / 382 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.661e-05/2.663e-05, allocations: 224 / 451.8 MB, free: 9.426 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1037, allocations: 61.9 MB / 0.5017 GB, free: 11.46 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3481/0.4519, allocations: 88.99 MB / 0.5886 GB, free: 336 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000197/0.4521, allocations: 75.95 kB / 0.5887 GB, free: 260 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01752/0.4697, allocations: 8.455 MB / 0.5969 GB, free: 7.793 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.4697, allocations: 0 / 0.5969 GB, free: 7.793 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.243e-05/0.4698, allocations: 8 kB / 0.5969 GB, free: 7.785 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.0006429/0.4704, allocations: 0.5598 MB / 0.5975 GB, free: 7.18 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.4705, allocations: 12.03 kB / 0.5975 GB, free: 7.168 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.503e-05/0.4706, allocations: 43.44 kB / 0.5975 GB, free: 7.125 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004803/0.4711, allocations: 335.1 kB / 0.5979 GB, free: 6.758 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.026e-05/0.4711, allocations: 3.828 kB / 0.5979 GB, free: 6.758 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.62e-05/0.4711, allocations: 8 kB / 0.5979 GB, free: 6.75 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001264/0.4712, allocations: 53.62 kB / 0.5979 GB, free: 6.691 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.4713, allocations: 0 / 0.5979 GB, free: 6.691 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.4713, allocations: 4 kB / 0.5979 GB, free: 6.688 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.4713, allocations: 0 / 0.5979 GB, free: 6.688 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.975e-05/0.4714, allocations: 31.94 kB / 0.598 GB, free: 6.656 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006652/0.472, allocations: 460.5 kB / 0.5984 GB, free: 6.156 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.138e-05/0.4721, allocations: 38.61 kB / 0.5984 GB, free: 6.109 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.805e-05/0.4722, allocations: 12.86 kB / 0.5984 GB, free: 6.094 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.234e-05/0.4722, allocations: 8.094 kB / 0.5985 GB, free: 6.086 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.4722, allocations: 34.55 kB / 0.5985 GB, free: 6.043 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.473e-06/0.4722, allocations: 0 / 0.5985 GB, free: 6.043 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006239/0.4729, allocations: 256.1 kB / 0.5987 GB, free: 5.785 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.727e-05/0.4729, allocations: 51.41 kB / 0.5988 GB, free: 5.723 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001172/0.4741, allocations: 0.7889 MB / 0.5996 GB, free: 4.926 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.573e-05/0.4741, allocations: 29.7 kB / 0.5996 GB, free: 4.891 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001482/0.4743, allocations: 216.1 kB / 0.5998 GB, free: 4.676 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.898e-05/0.4743, allocations: 31.55 kB / 0.5998 GB, free: 4.645 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.212e-06/0.4743, allocations: 4 kB / 0.5998 GB, free: 4.641 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.4745, allocations: 358.8 kB / 0.6002 GB, free: 4.281 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.646e-05/0.4746, allocations: 23.98 kB / 0.6002 GB, free: 4.258 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.592e-05/0.4746, allocations: 20 kB / 0.6002 GB, free: 4.238 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.202e-05/0.4747, allocations: 28.2 kB / 0.6002 GB, free: 4.211 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.4747, allocations: 0 / 0.6002 GB, free: 4.211 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001951/0.4749, allocations: 133.1 kB / 0.6004 GB, free: 4.074 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/0.4749, allocations: 9.094 kB / 0.6004 GB, free: 4.066 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.333e-06/0.4749, allocations: 0 / 0.6004 GB, free: 4.066 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.4749, allocations: 3.953 kB / 0.6004 GB, free: 4.062 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001175/0.4751, allocations: 19.98 kB / 0.6004 GB, free: 4.043 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.4751, allocations: 0 / 0.6004 GB, free: 4.043 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.569e-05/0.4752, allocations: 12 kB / 0.6004 GB, free: 4.031 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.754e-06/0.4752, allocations: 0 / 0.6004 GB, free: 4.031 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 7.086e-05/0.4753, allocations: 109 kB / 0.6005 GB, free: 3.918 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.439e-05/0.4753, allocations: 47.38 kB / 0.6006 GB, free: 3.871 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002622/0.4756, allocations: 157.5 kB / 0.6007 GB, free: 3.707 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.4756, allocations: 7.953 kB / 0.6007 GB, free: 3.699 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.4756, allocations: 0 / 0.6007 GB, free: 3.699 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.4756, allocations: 0 / 0.6007 GB, free: 3.699 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008053/0.4764, allocations: 0.6319 MB / 0.6013 GB, free: 3.008 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.4765, allocations: 3.938 kB / 0.6013 GB, free: 3.004 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.939e-05/0.4765, allocations: 23.94 kB / 0.6014 GB, free: 2.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.449e-06/0.4766, allocations: 0 / 0.6014 GB, free: 2.98 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.4766, allocations: 0 / 0.6014 GB, free: 2.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.444e-06/0.4766, allocations: 11.94 kB / 0.6014 GB, free: 2.969 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.4766, allocations: 0 / 0.6014 GB, free: 2.969 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002525/0.4769, allocations: 241.5 kB / 0.6016 GB, free: 2.707 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001852/0.477, allocations: 168.5 kB / 0.6018 GB, free: 2.523 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.566e-05/0.4771, allocations: 0 / 0.6018 GB, free: 2.523 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.832e-05/0.4772, allocations: 8 kB / 0.6018 GB, free: 2.516 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.893e-05/0.4772, allocations: 3.984 kB / 0.6018 GB, free: 2.512 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.865e-06/0.4773, allocations: 8 kB / 0.6018 GB, free: 2.504 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007035/0.478, allocations: 0.6381 MB / 0.6024 GB, free: 1.867 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.478, allocations: 0 / 0.6024 GB, free: 1.867 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003062/0.4783, allocations: 67.94 kB / 0.6025 GB, free: 1.801 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.001004/0.4793, allocations: 417.2 kB / 0.6029 GB, free: 1.508 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001674/0.4795, allocations: 59.92 kB / 0.6029 GB, free: 1.449 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.4795, allocations: 0 / 0.6029 GB, free: 1.449 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.104e-05/0.4796, allocations: 39.91 kB / 0.603 GB, free: 1.41 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003046/0.4799, allocations: 26.05 kB / 0.603 GB, free: 1.383 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001153/0.481, allocations: 0.7435 MB / 0.6037 GB, free: 0.6133 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004198/0.4815, allocations: 0.8457 MB / 0.6045 GB, free: 15.74 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001074/0.4816, allocations: 48.97 kB / 0.6046 GB, free: 15.7 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.859e-05/0.4817, allocations: 19.44 kB / 0.6046 GB, free: 15.68 MB / 426.7 MB Notification: Performance of SimCode: time 3.4e-07/0.4817, allocations: 0 / 0.6046 GB, free: 15.68 MB / 426.7 MB Notification: Performance of Templates: time 0.006213/0.4879, allocations: 2.707 MB / 0.6072 GB, free: 12.96 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches