Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001119/0.001119, allocations: 183.7 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.038/2.038, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000952/0.000952, allocations: 90.86 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.216/0.216, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000408/0.0004081, allocations: 8 kB / 431.4 MB, free: 19.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1372, allocations: 58.86 MB / 490.2 MB, free: 8.672 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.441/0.5783, allocations: 87.22 MB / 0.5639 GB, free: 12.61 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003402/0.5787, allocations: 75.27 kB / 0.564 GB, free: 12.56 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01544/0.5941, allocations: 4.457 MB / 0.5684 GB, free: 8.734 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.415e-06/0.5942, allocations: 0 / 0.5684 GB, free: 8.734 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.986e-05/0.5943, allocations: 0 / 0.5684 GB, free: 8.734 MB / 378.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.0006111/0.5949, allocations: 424.5 kB / 0.5688 GB, free: 8.281 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.5949, allocations: 12.02 kB / 0.5688 GB, free: 8.27 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.16e-05/0.595, allocations: 19.77 kB / 0.5688 GB, free: 8.25 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003376/0.5954, allocations: 214.5 kB / 0.569 GB, free: 8.004 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.5954, allocations: 0 / 0.569 GB, free: 8.004 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.148e-05/0.5954, allocations: 4 kB / 0.569 GB, free: 8 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002181/0.5957, allocations: 63.86 kB / 0.5691 GB, free: 7.938 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.5957, allocations: 0 / 0.5691 GB, free: 7.938 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.5957, allocations: 3.125 kB / 0.5691 GB, free: 7.938 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.5957, allocations: 4 kB / 0.5691 GB, free: 7.934 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001353/0.5959, allocations: 43.03 kB / 0.5691 GB, free: 7.898 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005292/0.5964, allocations: 333.3 kB / 0.5694 GB, free: 7.547 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001373/0.5965, allocations: 53.23 kB / 0.5695 GB, free: 7.492 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.662e-05/0.5966, allocations: 0 / 0.5695 GB, free: 7.492 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.463e-05/0.5966, allocations: 34.56 kB / 0.5695 GB, free: 7.449 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 2.545e-06/0.5966, allocations: 0 / 0.5695 GB, free: 7.449 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0008464/0.5975, allocations: 275.7 kB / 0.5698 GB, free: 7.203 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.275e-05/0.5975, allocations: 55.41 kB / 0.5698 GB, free: 7.137 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001931/0.5977, allocations: 191.8 kB / 0.57 GB, free: 6.965 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.486e-05/0.5978, allocations: 25.7 kB / 0.57 GB, free: 6.934 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.556e-05/0.5978, allocations: 116.7 kB / 0.5701 GB, free: 6.832 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.767e-05/0.5979, allocations: 23.16 kB / 0.5702 GB, free: 6.812 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.358e-06/0.5979, allocations: 0 / 0.5702 GB, free: 6.812 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.769e-05/0.598, allocations: 322.3 kB / 0.5705 GB, free: 6.492 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001128/0.5981, allocations: 51.14 kB / 0.5705 GB, free: 6.449 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001214/0.5982, allocations: 49.84 kB / 0.5706 GB, free: 6.41 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001135/0.5983, allocations: 50.16 kB / 0.5706 GB, free: 6.367 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.5984, allocations: 0 / 0.5706 GB, free: 6.367 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002832/0.5986, allocations: 143.3 kB / 0.5708 GB, free: 6.238 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.744e-05/0.5987, allocations: 6.656 kB / 0.5708 GB, free: 6.234 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.5987, allocations: 4 kB / 0.5708 GB, free: 6.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.222e-05/0.5987, allocations: 8.234 kB / 0.5708 GB, free: 6.223 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001257/0.5989, allocations: 19.98 kB / 0.5708 GB, free: 6.203 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.5989, allocations: 0 / 0.5708 GB, free: 6.203 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.262e-05/0.599, allocations: 23.23 kB / 0.5708 GB, free: 6.184 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-06/0.599, allocations: 0 / 0.5708 GB, free: 6.184 MB / 378.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 0.0001183/0.5991, allocations: 131.9 kB / 0.5709 GB, free: 6.051 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.468e-05/0.5991, allocations: 19.8 kB / 0.571 GB, free: 6.031 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003939/0.5995, allocations: 159.7 kB / 0.5711 GB, free: 5.887 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.5996, allocations: 0 / 0.5711 GB, free: 5.887 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.258e-06/0.5996, allocations: 3.953 kB / 0.5711 GB, free: 5.883 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.5996, allocations: 0 / 0.5711 GB, free: 5.883 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008208/0.6004, allocations: 452.2 kB / 0.5715 GB, free: 5.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.6004, allocations: 0 / 0.5715 GB, free: 5.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001173/0.6006, allocations: 27.98 kB / 0.5716 GB, free: 5.402 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.6006, allocations: 0 / 0.5716 GB, free: 5.402 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.504e-05/0.6006, allocations: 3.953 kB / 0.5716 GB, free: 5.398 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.6006, allocations: 0 / 0.5716 GB, free: 5.398 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.6006, allocations: 0 / 0.5716 GB, free: 5.398 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004717/0.6011, allocations: 245.1 kB / 0.5718 GB, free: 5.164 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.962e-05/0.6012, allocations: 96.91 kB / 0.5719 GB, free: 5.051 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.699e-05/0.6013, allocations: 6.688 kB / 0.5719 GB, free: 5.047 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001307/0.6014, allocations: 19.95 kB / 0.5719 GB, free: 5.027 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.642e-05/0.6015, allocations: 7.984 kB / 0.5719 GB, free: 5.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.576e-06/0.6015, allocations: 3.25 kB / 0.5719 GB, free: 5.02 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001978/0.6017, allocations: 156.2 kB / 0.5721 GB, free: 4.887 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.7e-07/0.6017, allocations: 0 / 0.5721 GB, free: 4.887 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003924/0.6021, allocations: 27.19 kB / 0.5721 GB, free: 4.863 MB / 378.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.001364/0.6035, allocations: 407.8 kB / 0.5725 GB, free: 4.512 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004182/0.6039, allocations: 103.9 kB / 0.5726 GB, free: 4.426 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.6039, allocations: 4 kB / 0.5726 GB, free: 4.422 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001809/0.6041, allocations: 57.7 kB / 0.5727 GB, free: 4.375 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003109/0.6045, allocations: 15.31 kB / 0.5727 GB, free: 4.363 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007582/0.6052, allocations: 290.5 kB / 0.573 GB, free: 4.07 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004214/0.6057, allocations: 0.7113 MB / 0.5736 GB, free: 3.336 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001332/0.6058, allocations: 28.64 kB / 0.5737 GB, free: 3.309 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.606e-05/0.6059, allocations: 11.44 kB / 0.5737 GB, free: 3.297 MB / 378.7 MB Notification: Performance of SimCode: time 6.41e-07/0.6059, allocations: 4 kB / 0.5737 GB, free: 3.293 MB / 378.7 MB Notification: Performance of Templates: time 0.005453/0.6114, allocations: 1.311 MB / 0.575 GB, free: 1.992 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test30/Test30.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches