Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00202/0.00202, allocations: 195.7 kB / 18.1 MB, free: 3.719 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.436/1.436, allocations: 226.5 MB / 245.4 MB, free: 6.449 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008827/0.0008827, allocations: 91.95 kB / 297.5 MB, free: 6.664 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3624/0.3624, allocations: 44.83 MB / 394.3 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002849/0.0002848, allocations: 8 kB / 467.9 MB, free: 12.05 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.373/0.3733, allocations: 62.96 MB / 0.5184 GB, free: 37.45 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.122/0.4953, allocations: 89.91 MB / 0.6062 GB, free: 15.41 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002129/0.4956, allocations: 79.94 kB / 0.6063 GB, free: 15.34 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01347/0.5091, allocations: 5.079 MB / 0.6113 GB, free: 10.24 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.554e-06/0.5091, allocations: 0 / 0.6113 GB, free: 10.24 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.114e-05/0.5092, allocations: 0 / 0.6113 GB, free: 10.24 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.0006467/0.5098, allocations: 455.3 kB / 0.6117 GB, free: 9.746 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.5099, allocations: 12.88 kB / 0.6117 GB, free: 9.734 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.039e-05/0.5099, allocations: 8.844 kB / 0.6117 GB, free: 9.727 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002825/0.5102, allocations: 205 kB / 0.6119 GB, free: 9.488 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/0.5102, allocations: 4.312 kB / 0.6119 GB, free: 9.484 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.994e-05/0.5103, allocations: 8.375 kB / 0.6119 GB, free: 9.477 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002451/0.5105, allocations: 103.9 kB / 0.612 GB, free: 9.363 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.5105, allocations: 192 / 0.612 GB, free: 9.363 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.5106, allocations: 3.938 kB / 0.612 GB, free: 9.359 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.5106, allocations: 4 kB / 0.612 GB, free: 9.355 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002856/0.5109, allocations: 91.92 kB / 0.6121 GB, free: 9.266 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004501/0.5113, allocations: 316.7 kB / 0.6124 GB, free: 8.906 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002306/0.5116, allocations: 82.47 kB / 0.6125 GB, free: 8.816 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001564/0.5117, allocations: 52.95 kB / 0.6125 GB, free: 8.762 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.479e-05/0.5118, allocations: 7.984 kB / 0.6126 GB, free: 8.754 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.764e-05/0.5118, allocations: 38.5 kB / 0.6126 GB, free: 8.707 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 1.373e-06/0.5118, allocations: 0 / 0.6126 GB, free: 8.707 MB / 426.7 MB Notification: Performance of matching and sorting (n=9): time 0.001542/0.5133, allocations: 476.9 kB / 0.613 GB, free: 8.234 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.584e-05/0.5134, allocations: 77.11 kB / 0.6131 GB, free: 8.141 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001723/0.5136, allocations: 170.1 kB / 0.6133 GB, free: 7.965 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.699e-05/0.5136, allocations: 33.7 kB / 0.6133 GB, free: 7.926 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.183e-05/0.5137, allocations: 104 kB / 0.6134 GB, free: 7.82 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.712e-05/0.5137, allocations: 27.55 kB / 0.6134 GB, free: 7.793 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.48e-06/0.5137, allocations: 4 kB / 0.6134 GB, free: 7.789 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001092/0.5139, allocations: 322.8 kB / 0.6138 GB, free: 7.465 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002775/0.5141, allocations: 95.92 kB / 0.6138 GB, free: 7.371 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002637/0.5144, allocations: 105.6 kB / 0.6139 GB, free: 7.262 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005015/0.5149, allocations: 197 kB / 0.6141 GB, free: 7.066 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.5149, allocations: 0 / 0.6141 GB, free: 7.066 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005769/0.5155, allocations: 233.4 kB / 0.6144 GB, free: 6.832 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.5155, allocations: 7.938 kB / 0.6144 GB, free: 6.824 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.5156, allocations: 4 kB / 0.6144 GB, free: 6.82 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.5156, allocations: 4 kB / 0.6144 GB, free: 6.816 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002103/0.5158, allocations: 47.95 kB / 0.6144 GB, free: 6.77 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.5158, allocations: 0 / 0.6144 GB, free: 6.77 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001553/0.516, allocations: 35.97 kB / 0.6144 GB, free: 6.734 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.157e-06/0.516, allocations: 0 / 0.6144 GB, free: 6.734 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 0.0001048/0.5161, allocations: 125.8 kB / 0.6146 GB, free: 6.602 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.502e-05/0.5161, allocations: 12.27 kB / 0.6146 GB, free: 6.59 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006597/0.5168, allocations: 242.1 kB / 0.6148 GB, free: 6.348 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.5168, allocations: 4 kB / 0.6148 GB, free: 6.344 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.5168, allocations: 4 kB / 0.6148 GB, free: 6.34 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.5168, allocations: 7.984 kB / 0.6148 GB, free: 6.332 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009259/0.5178, allocations: 0.5334 MB / 0.6153 GB, free: 5.742 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.5178, allocations: 0 / 0.6153 GB, free: 5.742 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001757/0.518, allocations: 51.94 kB / 0.6154 GB, free: 5.691 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/0.518, allocations: 4 kB / 0.6154 GB, free: 5.688 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.499e-05/0.518, allocations: 7.938 kB / 0.6154 GB, free: 5.68 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.518, allocations: 3.938 kB / 0.6154 GB, free: 5.676 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.518, allocations: 0 / 0.6154 GB, free: 5.676 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006194/0.5187, allocations: 327.5 kB / 0.6157 GB, free: 5.34 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.75e-05/0.5187, allocations: 96.91 kB / 0.6158 GB, free: 5.227 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.375e-05/0.5187, allocations: 3.938 kB / 0.6158 GB, free: 5.223 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000174/0.5189, allocations: 43.95 kB / 0.6159 GB, free: 5.18 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.76e-05/0.519, allocations: 7.984 kB / 0.6159 GB, free: 5.172 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.145e-06/0.519, allocations: 4 kB / 0.6159 GB, free: 5.168 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001283/0.5191, allocations: 127.1 kB / 0.616 GB, free: 5.043 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.81e-07/0.5191, allocations: 0 / 0.616 GB, free: 5.043 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003293/0.5195, allocations: 59.97 kB / 0.6161 GB, free: 4.984 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.001213/0.5207, allocations: 0.508 MB / 0.6165 GB, free: 4.637 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006625/0.5214, allocations: 203.8 kB / 0.6167 GB, free: 4.438 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.217e-06/0.5214, allocations: 0 / 0.6167 GB, free: 4.438 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002882/0.5217, allocations: 103.9 kB / 0.6168 GB, free: 4.336 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003117/0.522, allocations: 19.98 kB / 0.6169 GB, free: 4.316 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000521/0.5225, allocations: 229.5 kB / 0.6171 GB, free: 4.062 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003249/0.5229, allocations: 0.7043 MB / 0.6178 GB, free: 3.332 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 9.857e-05/0.523, allocations: 20.55 kB / 0.6178 GB, free: 3.312 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.674e-05/0.523, allocations: 19.42 kB / 0.6178 GB, free: 3.297 MB / 426.7 MB Notification: Performance of SimCode: time 2.21e-07/0.5231, allocations: 0 / 0.6178 GB, free: 3.297 MB / 426.7 MB Notification: Performance of Templates: time 0.005228/0.5283, allocations: 2.286 MB / 0.62 GB, free: 1.023 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test18_usertab/Test18_usertab.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches