Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001002/0.001002, allocations: 196 kB / 18.11 MB, free: 3.734 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.391/1.391, allocations: 226.5 MB / 245.4 MB, free: 8.184 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007703/0.0007705, allocations: 106.7 kB / 297.5 MB, free: 6.875 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.5042/0.5042, allocations: 44.83 MB / 394.3 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002794/0.0002794, allocations: 8 kB / 467.9 MB, free: 12.03 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3935/0.3937, allocations: 62.95 MB / 0.5184 GB, free: 37.47 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1241/0.5179, allocations: 90.07 MB / 0.6064 GB, free: 15.22 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002845/0.5183, allocations: 83.94 kB / 0.6065 GB, free: 15.14 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02097/0.5393, allocations: 8.923 MB / 0.6152 GB, free: 6.195 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.5393, allocations: 4 kB / 0.6152 GB, free: 6.191 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.935e-05/0.5394, allocations: 8 kB / 0.6152 GB, free: 6.184 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000814/0.5402, allocations: 0.6457 MB / 0.6158 GB, free: 5.484 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.5402, allocations: 12.03 kB / 0.6158 GB, free: 5.473 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.729e-05/0.5403, allocations: 44.38 kB / 0.6159 GB, free: 5.43 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004888/0.5408, allocations: 356.1 kB / 0.6162 GB, free: 5.043 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.5408, allocations: 4.375 kB / 0.6162 GB, free: 5.039 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.241e-05/0.5409, allocations: 12.31 kB / 0.6162 GB, free: 5.027 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000174/0.541, allocations: 58.23 kB / 0.6163 GB, free: 4.965 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.5411, allocations: 192 / 0.6163 GB, free: 4.965 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.5411, allocations: 3.938 kB / 0.6163 GB, free: 4.961 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.5411, allocations: 0 / 0.6163 GB, free: 4.961 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001293/0.5412, allocations: 47.91 kB / 0.6163 GB, free: 4.914 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006009/0.5418, allocations: 448.8 kB / 0.6167 GB, free: 4.426 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000141/0.542, allocations: 50.5 kB / 0.6168 GB, free: 4.367 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.352e-05/0.5421, allocations: 32.92 kB / 0.6168 GB, free: 4.332 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.902e-05/0.5421, allocations: 0 / 0.6168 GB, free: 4.332 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.217e-05/0.5421, allocations: 38.5 kB / 0.6169 GB, free: 4.285 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.5421, allocations: 0 / 0.6169 GB, free: 4.285 MB / 426.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003338/0.5425, allocations: 137.1 kB / 0.617 GB, free: 4.145 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.916e-05/0.5425, allocations: 55.41 kB / 0.617 GB, free: 4.078 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001218/0.5438, allocations: 0.8581 MB / 0.6179 GB, free: 3.211 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.471e-05/0.5438, allocations: 25.7 kB / 0.6179 GB, free: 3.18 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001589/0.5439, allocations: 212.1 kB / 0.6181 GB, free: 2.969 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.074e-05/0.544, allocations: 11.89 kB / 0.6181 GB, free: 2.957 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.896e-06/0.544, allocations: 0 / 0.6181 GB, free: 2.957 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.5441, allocations: 362.8 kB / 0.6185 GB, free: 2.594 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.228e-05/0.5442, allocations: 19.98 kB / 0.6185 GB, free: 2.574 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.886e-05/0.5443, allocations: 23.98 kB / 0.6185 GB, free: 2.551 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001371/0.5444, allocations: 57.03 kB / 0.6186 GB, free: 2.492 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.5444, allocations: 3.938 kB / 0.6186 GB, free: 2.488 MB / 426.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002062/0.5447, allocations: 121.1 kB / 0.6187 GB, free: 2.363 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.5447, allocations: 8 kB / 0.6187 GB, free: 2.355 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.5447, allocations: 0 / 0.6187 GB, free: 2.355 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.5447, allocations: 0 / 0.6187 GB, free: 2.355 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.633e-05/0.5448, allocations: 11.98 kB / 0.6187 GB, free: 2.344 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.5448, allocations: 7.938 kB / 0.6187 GB, free: 2.336 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.385e-05/0.5449, allocations: 4 kB / 0.6187 GB, free: 2.332 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-06/0.5449, allocations: 0 / 0.6187 GB, free: 2.332 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 (3): * Single equations (assignments): 3 * 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.0001841/0.5451, allocations: 221.7 kB / 0.6189 GB, free: 2.105 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.792e-05/0.5452, allocations: 43.44 kB / 0.619 GB, free: 2.062 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002613/0.5454, allocations: 137 kB / 0.6191 GB, free: 1.914 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.5454, allocations: 4 kB / 0.6191 GB, free: 1.91 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.5455, allocations: 3.938 kB / 0.6191 GB, free: 1.906 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.5455, allocations: 0 / 0.6191 GB, free: 1.906 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003215/0.5458, allocations: 337.4 kB / 0.6194 GB, free: 1.527 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.5458, allocations: 0 / 0.6194 GB, free: 1.527 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.1e-05/0.5459, allocations: 8 kB / 0.6194 GB, free: 1.52 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.5459, allocations: 0 / 0.6194 GB, free: 1.52 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.5459, allocations: 4 kB / 0.6194 GB, free: 1.516 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.5459, allocations: 0 / 0.6194 GB, free: 1.516 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.5459, allocations: 0 / 0.6194 GB, free: 1.516 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002704/0.5462, allocations: 222.8 kB / 0.6197 GB, free: 1.281 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001804/0.5464, allocations: 168.5 kB / 0.6198 GB, free: 1.098 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.408e-05/0.5464, allocations: 0 / 0.6198 GB, free: 1.098 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.683e-05/0.5465, allocations: 15.98 kB / 0.6198 GB, free: 1.082 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.172e-05/0.5465, allocations: 0 / 0.6198 GB, free: 1.082 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.546e-06/0.5465, allocations: 0 / 0.6198 GB, free: 1.082 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007131/0.5473, allocations: 0.6511 MB / 0.6205 GB, free: 444 kB / 426.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5473, allocations: 4 kB / 0.6205 GB, free: 440 kB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002835/0.5476, allocations: 48 kB / 0.6205 GB, free: 392 kB / 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 (3): * Single equations (assignments): 3 * 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.0007185/0.5483, allocations: 355.3 kB / 0.6209 GB, free: 148 kB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001864/0.5485, allocations: 55.89 kB / 0.6209 GB, free: 92 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.5485, allocations: 3.938 kB / 0.6209 GB, free: 88 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.161e-05/0.5486, allocations: 27.98 kB / 0.6209 GB, free: 60 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003413/0.5489, allocations: 30.23 kB / 0.621 GB, free: 32 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001253/0.5502, allocations: 0.8959 MB / 0.6218 GB, free: 15.11 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004308/0.5506, allocations: 0.8262 MB / 0.6226 GB, free: 14.25 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 9.192e-05/0.5507, allocations: 52.22 kB / 0.6227 GB, free: 14.2 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.931e-05/0.5508, allocations: 15.44 kB / 0.6227 GB, free: 14.19 MB / 442.7 MB Notification: Performance of SimCode: time 4.21e-07/0.5508, allocations: 0 / 0.6227 GB, free: 14.19 MB / 442.7 MB Notification: Performance of Templates: time 0.005924/0.5567, allocations: 2.33 MB / 0.625 GB, free: 11.85 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches