Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009678/0.0009677, allocations: 180.7 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.258/1.258, allocations: 221.3 MB / 236 MB, free: 2.949 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.0008887/0.0008887, allocations: 83.83 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.2129/0.2129, allocations: 44.16 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.204e-05/3.23e-05, allocations: 4.219 kB / 451.8 MB, free: 9.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1128, allocations: 61.91 MB / 0.5017 GB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3399/0.4527, allocations: 88.72 MB / 0.5883 GB, free: 0.6016 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002179/0.453, allocations: 76.61 kB / 0.5884 GB, free: 0.5273 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0175/0.4705, allocations: 8.02 MB / 0.5962 GB, free: 8.508 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.715e-06/0.4706, allocations: 0 / 0.5962 GB, free: 8.508 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.582e-05/0.4706, allocations: 12 kB / 0.5963 GB, free: 8.496 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.000637/0.4712, allocations: 0.5326 MB / 0.5968 GB, free: 7.918 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.4713, allocations: 15.97 kB / 0.5968 GB, free: 7.902 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.008e-05/0.4714, allocations: 39.44 kB / 0.5968 GB, free: 7.863 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004969/0.4719, allocations: 323.4 kB / 0.5971 GB, free: 7.504 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.4719, allocations: 7.828 kB / 0.5971 GB, free: 7.5 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.263e-05/0.4719, allocations: 4 kB / 0.5971 GB, free: 7.496 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001143/0.472, allocations: 45.62 kB / 0.5972 GB, free: 7.445 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.472, allocations: 4 kB / 0.5972 GB, free: 7.441 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.4721, allocations: 3.984 kB / 0.5972 GB, free: 7.438 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.4721, allocations: 4 kB / 0.5972 GB, free: 7.434 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.676e-05/0.4721, allocations: 19.98 kB / 0.5972 GB, free: 7.414 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006724/0.4728, allocations: 432.7 kB / 0.5976 GB, free: 6.941 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.403e-05/0.4729, allocations: 34.56 kB / 0.5977 GB, free: 6.898 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.621e-05/0.4729, allocations: 12.92 kB / 0.5977 GB, free: 6.883 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.828e-05/0.4729, allocations: 0 / 0.5977 GB, free: 6.883 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/0.473, allocations: 34.56 kB / 0.5977 GB, free: 6.84 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.473, allocations: 0 / 0.5977 GB, free: 6.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002116/0.4732, allocations: 89.06 kB / 0.5978 GB, free: 6.746 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.279e-05/0.4732, allocations: 51.41 kB / 0.5978 GB, free: 6.684 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001089/0.4743, allocations: 0.7824 MB / 0.5986 GB, free: 5.895 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.548e-05/0.4744, allocations: 25.7 kB / 0.5986 GB, free: 5.863 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001641/0.4745, allocations: 224.1 kB / 0.5988 GB, free: 5.641 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.586e-05/0.4745, allocations: 11.89 kB / 0.5989 GB, free: 5.629 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.685e-06/0.4746, allocations: 0 / 0.5989 GB, free: 5.629 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.4747, allocations: 358.8 kB / 0.5992 GB, free: 5.27 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.825e-05/0.4747, allocations: 8 kB / 0.5992 GB, free: 5.262 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.312e-05/0.4747, allocations: 4 kB / 0.5992 GB, free: 5.258 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.393e-05/0.4748, allocations: 8.047 kB / 0.5992 GB, free: 5.25 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.4748, allocations: 4 kB / 0.5992 GB, free: 5.246 MB / 410.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001096/0.4749, allocations: 85.17 kB / 0.5993 GB, free: 5.156 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.4749, allocations: 4 kB / 0.5993 GB, free: 5.152 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.4749, allocations: 3.984 kB / 0.5993 GB, free: 5.148 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.4749, allocations: 0 / 0.5993 GB, free: 5.148 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.426e-05/0.475, allocations: 8 kB / 0.5993 GB, free: 5.141 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.074e-06/0.475, allocations: 3.984 kB / 0.5993 GB, free: 5.137 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.829e-05/0.4751, allocations: 7.906 kB / 0.5993 GB, free: 5.129 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.825e-06/0.4751, allocations: 8.031 kB / 0.5993 GB, free: 5.121 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 (2): * Single equations (assignments): 2 * 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.72e-05/0.4752, allocations: 108.9 kB / 0.5994 GB, free: 5.008 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.77e-05/0.4752, allocations: 39.53 kB / 0.5995 GB, free: 4.969 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001583/0.4754, allocations: 104.5 kB / 0.5996 GB, free: 4.852 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.4754, allocations: 4 kB / 0.5996 GB, free: 4.848 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.4754, allocations: 0 / 0.5996 GB, free: 4.848 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.4754, allocations: 0 / 0.5996 GB, free: 4.848 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002936/0.4757, allocations: 325.4 kB / 0.5999 GB, free: 4.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.574e-06/0.4757, allocations: 8 kB / 0.5999 GB, free: 4.473 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.72e-05/0.4758, allocations: 12.02 kB / 0.5999 GB, free: 4.461 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.4758, allocations: 0 / 0.5999 GB, free: 4.461 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.131e-06/0.4758, allocations: 0 / 0.5999 GB, free: 4.461 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.4758, allocations: 3.938 kB / 0.5999 GB, free: 4.457 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.4758, allocations: 0 / 0.5999 GB, free: 4.457 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001649/0.476, allocations: 186.9 kB / 0.6001 GB, free: 4.258 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002106/0.4762, allocations: 160.5 kB / 0.6002 GB, free: 4.082 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.264e-05/0.4762, allocations: 4.031 kB / 0.6003 GB, free: 4.078 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.182e-05/0.4763, allocations: 4 kB / 0.6003 GB, free: 4.074 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.831e-05/0.4764, allocations: 0 / 0.6003 GB, free: 4.074 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.21e-06/0.4764, allocations: 4 kB / 0.6003 GB, free: 4.07 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006778/0.4771, allocations: 0.6419 MB / 0.6009 GB, free: 3.43 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4771, allocations: 0 / 0.6009 GB, free: 3.43 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002555/0.4773, allocations: 52 kB / 0.6009 GB, free: 3.379 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 (2): * Single equations (assignments): 2 * 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.0006805/0.478, allocations: 315.4 kB / 0.6012 GB, free: 3.152 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 7.681e-05/0.4781, allocations: 19.98 kB / 0.6013 GB, free: 3.133 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.4781, allocations: 0 / 0.6013 GB, free: 3.133 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.929e-05/0.4781, allocations: 4 kB / 0.6013 GB, free: 3.129 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002454/0.4784, allocations: 35.88 kB / 0.6013 GB, free: 3.094 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009342/0.4793, allocations: 0.6955 MB / 0.602 GB, free: 2.375 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004102/0.4798, allocations: 0.834 MB / 0.6028 GB, free: 1.516 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.286e-05/0.4798, allocations: 36.42 kB / 0.6028 GB, free: 1.477 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.843e-05/0.4799, allocations: 19.44 kB / 0.6028 GB, free: 1.457 MB / 410.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4799, allocations: 0 / 0.6028 GB, free: 1.457 MB / 410.7 MB Notification: Performance of Templates: time 0.005434/0.4854, allocations: 2.266 MB / 0.6051 GB, free: 15.18 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches