Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001064/0.001064, allocations: 204.4 kB / 18.11 MB, free: 3.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.423/1.423, allocations: 226.5 MB / 245.4 MB, free: 8.211 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008033/0.0008031, allocations: 107.7 kB / 297.5 MB, free: 6.859 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4286/0.4286, allocations: 44.82 MB / 394.3 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003016/0.0003017, allocations: 8 kB / 467.9 MB, free: 12.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.368/0.3683, allocations: 62.96 MB / 0.5184 GB, free: 37.39 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1185/0.4869, allocations: 90.37 MB / 0.6067 GB, free: 14.88 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002798/0.4872, allocations: 83.94 kB / 0.6067 GB, free: 14.8 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01403/0.5012, allocations: 5.172 MB / 0.6118 GB, free: 9.617 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.5013, allocations: 4 kB / 0.6118 GB, free: 9.613 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.658e-06/0.5013, allocations: 0 / 0.6118 GB, free: 9.613 MB / 426.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.0005648/0.5019, allocations: 451.3 kB / 0.6122 GB, free: 9.121 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.5019, allocations: 8.875 kB / 0.6122 GB, free: 9.113 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.661e-05/0.502, allocations: 8.844 kB / 0.6123 GB, free: 9.105 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002866/0.5023, allocations: 221 kB / 0.6125 GB, free: 8.852 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.5023, allocations: 4.375 kB / 0.6125 GB, free: 8.848 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.172e-05/0.5023, allocations: 4.375 kB / 0.6125 GB, free: 8.844 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002601/0.5026, allocations: 103.9 kB / 0.6126 GB, free: 8.73 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.5026, allocations: 192 / 0.6126 GB, free: 8.73 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.5026, allocations: 7.938 kB / 0.6126 GB, free: 8.723 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.5026, allocations: 0 / 0.6126 GB, free: 8.723 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000298/0.5029, allocations: 91.92 kB / 0.6127 GB, free: 8.633 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000583/0.5035, allocations: 364.6 kB / 0.613 GB, free: 8.227 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002295/0.5038, allocations: 90.47 kB / 0.6131 GB, free: 8.129 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001629/0.5039, allocations: 60.94 kB / 0.6132 GB, free: 8.066 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.893e-05/0.504, allocations: 0 / 0.6132 GB, free: 8.066 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.388e-05/0.504, allocations: 34.5 kB / 0.6132 GB, free: 8.023 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.504, allocations: 4 kB / 0.6132 GB, free: 8.02 MB / 426.7 MB Notification: Performance of matching and sorting (n=9): time 0.001564/0.5056, allocations: 0.497 MB / 0.6137 GB, free: 7.516 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.817e-05/0.5056, allocations: 77.11 kB / 0.6138 GB, free: 7.422 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001551/0.5058, allocations: 166.9 kB / 0.6139 GB, free: 7.25 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.735e-05/0.5058, allocations: 25.7 kB / 0.6139 GB, free: 7.219 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.142e-05/0.5059, allocations: 108.1 kB / 0.614 GB, free: 7.109 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.942e-05/0.5059, allocations: 27.56 kB / 0.6141 GB, free: 7.082 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.851e-06/0.5059, allocations: 0 / 0.6141 GB, free: 7.082 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001014/0.506, allocations: 326.8 kB / 0.6144 GB, free: 6.754 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003032/0.5064, allocations: 99.91 kB / 0.6145 GB, free: 6.656 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002909/0.5067, allocations: 129.6 kB / 0.6146 GB, free: 6.523 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005475/0.5072, allocations: 204.7 kB / 0.6148 GB, free: 6.32 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.5072, allocations: 0 / 0.6148 GB, free: 6.32 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000634/0.5079, allocations: 257.4 kB / 0.615 GB, free: 6.062 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.5079, allocations: 7.984 kB / 0.615 GB, free: 6.055 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.5079, allocations: 0 / 0.615 GB, free: 6.055 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.448e-06/0.5079, allocations: 0 / 0.615 GB, free: 6.055 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002192/0.5081, allocations: 51.97 kB / 0.6151 GB, free: 6.004 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.5082, allocations: 3.984 kB / 0.6151 GB, free: 6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001545/0.5083, allocations: 39.88 kB / 0.6151 GB, free: 5.961 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.312e-05/0.5083, allocations: 4 kB / 0.6151 GB, free: 5.957 MB / 426.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 (10): * Single equations (assignments): 10 * 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 9.603e-05/0.5084, allocations: 129.7 kB / 0.6153 GB, free: 5.82 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.871e-05/0.5085, allocations: 15.89 kB / 0.6153 GB, free: 5.805 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006694/0.5092, allocations: 270.1 kB / 0.6155 GB, free: 5.535 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.5092, allocations: 0 / 0.6155 GB, free: 5.535 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.5092, allocations: 0.75 kB / 0.6155 GB, free: 5.535 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.5092, allocations: 0 / 0.6155 GB, free: 5.535 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009592/0.5101, allocations: 0.5646 MB / 0.6161 GB, free: 4.914 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.5102, allocations: 4 kB / 0.6161 GB, free: 4.91 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001824/0.5104, allocations: 39.97 kB / 0.6161 GB, free: 4.871 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.5104, allocations: 0 / 0.6161 GB, free: 4.871 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.376e-05/0.5104, allocations: 11.94 kB / 0.6161 GB, free: 4.859 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.5104, allocations: 4 kB / 0.6161 GB, free: 4.855 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.5104, allocations: 3.984 kB / 0.6161 GB, free: 4.852 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006423/0.511, allocations: 343.1 kB / 0.6165 GB, free: 4.5 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.494e-05/0.5111, allocations: 93 kB / 0.6166 GB, free: 4.391 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.221e-05/0.5112, allocations: 3.938 kB / 0.6166 GB, free: 4.387 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001794/0.5113, allocations: 35.97 kB / 0.6166 GB, free: 4.352 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.418e-05/0.5114, allocations: 15.92 kB / 0.6166 GB, free: 4.336 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.065e-06/0.5114, allocations: 4 kB / 0.6166 GB, free: 4.332 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001065/0.5115, allocations: 129.4 kB / 0.6167 GB, free: 4.207 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5115, allocations: 0 / 0.6167 GB, free: 4.207 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003244/0.5119, allocations: 63.92 kB / 0.6168 GB, free: 4.145 MB / 426.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 (9): * Single equations (assignments): 9 * 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.001027/0.5129, allocations: 0.498 MB / 0.6173 GB, free: 3.809 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006547/0.5136, allocations: 219.8 kB / 0.6175 GB, free: 3.594 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.5136, allocations: 4 kB / 0.6175 GB, free: 3.59 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003048/0.5139, allocations: 111.8 kB / 0.6176 GB, free: 3.48 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003472/0.5142, allocations: 19.84 kB / 0.6176 GB, free: 3.461 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004704/0.5147, allocations: 253.7 kB / 0.6179 GB, free: 3.184 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002699/0.515, allocations: 0.7121 MB / 0.6186 GB, free: 2.445 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001159/0.5151, allocations: 28.52 kB / 0.6186 GB, free: 2.418 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.343e-05/0.5152, allocations: 19.44 kB / 0.6186 GB, free: 2.402 MB / 426.7 MB Notification: Performance of SimCode: time 2.8e-07/0.5152, allocations: 0 / 0.6186 GB, free: 2.402 MB / 426.7 MB Notification: Performance of Templates: time 0.004956/0.5202, allocations: 2.348 MB / 0.6209 GB, free: 64 kB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test18_usertab/Test18_usertab.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches