Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009707/0.000975, allocations: 199.8 kB / 18.11 MB, free: 3.609 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.366/1.366, allocations: 226.5 MB / 245.4 MB, free: 6.387 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001024/0.001024, allocations: 104.5 kB / 297.5 MB, free: 6.645 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4037/0.4037, allocations: 44.82 MB / 394.3 MB, free: 35.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00029/0.00029, allocations: 12 kB / 467.9 MB, free: 12.05 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4239/0.4242, allocations: 62.95 MB / 0.5184 GB, free: 37.63 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1493/0.5736, allocations: 90.4 MB / 0.6067 GB, free: 14.88 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003248/0.5739, allocations: 75.95 kB / 0.6068 GB, free: 14.81 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03134/0.6053, allocations: 9.332 MB / 0.6159 GB, free: 5.453 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.414e-06/0.6054, allocations: 3.938 kB / 0.6159 GB, free: 5.449 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.521e-05/0.6054, allocations: 8 kB / 0.6159 GB, free: 5.441 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.001188/0.6066, allocations: 0.6535 MB / 0.6165 GB, free: 4.734 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.563e-05/0.6067, allocations: 8.875 kB / 0.6165 GB, free: 4.727 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001534/0.6068, allocations: 40.47 kB / 0.6166 GB, free: 4.688 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006257/0.6075, allocations: 371.9 kB / 0.6169 GB, free: 4.285 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.6075, allocations: 4.375 kB / 0.6169 GB, free: 4.281 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.392e-05/0.6076, allocations: 4.375 kB / 0.6169 GB, free: 4.277 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001824/0.6077, allocations: 62.23 kB / 0.617 GB, free: 4.211 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.6078, allocations: 192 / 0.617 GB, free: 4.211 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.6078, allocations: 3.938 kB / 0.617 GB, free: 4.207 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-06/0.6078, allocations: 0 / 0.617 GB, free: 4.207 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000141/0.6079, allocations: 39.92 kB / 0.617 GB, free: 4.168 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008905/0.6089, allocations: 460.6 kB / 0.6175 GB, free: 3.668 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001647/0.609, allocations: 50.59 kB / 0.6175 GB, free: 3.609 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.336e-05/0.6091, allocations: 28.94 kB / 0.6176 GB, free: 3.578 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.295e-05/0.6092, allocations: 0 / 0.6176 GB, free: 3.578 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.484e-05/0.6092, allocations: 30.56 kB / 0.6176 GB, free: 3.539 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 1.633e-06/0.6092, allocations: 0 / 0.6176 GB, free: 3.539 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.001479/0.6107, allocations: 355.7 kB / 0.6179 GB, free: 3.184 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.035e-05/0.6108, allocations: 55.41 kB / 0.618 GB, free: 3.117 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002159/0.613, allocations: 0.858 MB / 0.6188 GB, free: 2.25 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.148e-05/0.613, allocations: 29.7 kB / 0.6188 GB, free: 2.215 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002482/0.6133, allocations: 228.1 kB / 0.6191 GB, free: 1.988 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.399e-05/0.6133, allocations: 23.56 kB / 0.6191 GB, free: 1.965 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.155e-06/0.6133, allocations: 4 kB / 0.6191 GB, free: 1.961 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002208/0.6136, allocations: 370.7 kB / 0.6194 GB, free: 1.59 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001399/0.6137, allocations: 39.91 kB / 0.6195 GB, free: 1.551 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001299/0.6139, allocations: 31.98 kB / 0.6195 GB, free: 1.52 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002785/0.6142, allocations: 84.81 kB / 0.6196 GB, free: 1.434 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.6142, allocations: 0 / 0.6196 GB, free: 1.434 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000466/0.6147, allocations: 153.1 kB / 0.6197 GB, free: 1.277 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.263e-05/0.6147, allocations: 10.97 kB / 0.6197 GB, free: 1.27 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.6147, allocations: 3.938 kB / 0.6197 GB, free: 1.266 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.026e-05/0.6148, allocations: 0 / 0.6197 GB, free: 1.266 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001691/0.6149, allocations: 27.92 kB / 0.6198 GB, free: 1.238 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.615, allocations: 0 / 0.6198 GB, free: 1.238 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001578/0.6151, allocations: 11.94 kB / 0.6198 GB, free: 1.227 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.607e-05/0.6152, allocations: 4 kB / 0.6198 GB, free: 1.223 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 (8): * Single equations (assignments): 8 * 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.000335/0.6155, allocations: 219.5 kB / 0.62 GB, free: 1 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001343/0.6157, allocations: 43.44 kB / 0.62 GB, free: 0.957 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005728/0.6162, allocations: 182.3 kB / 0.6202 GB, free: 0.7734 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.6163, allocations: 0 / 0.6202 GB, free: 0.7734 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.6163, allocations: 0 / 0.6202 GB, free: 0.7734 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.907e-06/0.6163, allocations: 7.922 kB / 0.6202 GB, free: 0.7656 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00137/0.6177, allocations: 0.6631 MB / 0.6209 GB, free: 44 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.65e-06/0.6177, allocations: 8 kB / 0.6209 GB, free: 36 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001174/0.6178, allocations: 19.98 kB / 0.6209 GB, free: 16 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.695e-06/0.6178, allocations: 3.938 kB / 0.6209 GB, free: 12 kB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.6179, allocations: 0 / 0.6209 GB, free: 12 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.6179, allocations: 4.031 kB / 0.6209 GB, free: 8 kB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.6179, allocations: 4 kB / 0.6209 GB, free: 4 kB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005295/0.6184, allocations: 244 kB / 0.6211 GB, free: 15.75 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002763/0.6187, allocations: 172.5 kB / 0.6213 GB, free: 15.56 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.63e-05/0.6188, allocations: 11.86 kB / 0.6213 GB, free: 15.55 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001945/0.619, allocations: 8 kB / 0.6213 GB, free: 15.54 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.275e-05/0.6191, allocations: 7.984 kB / 0.6213 GB, free: 15.53 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.352e-05/0.6191, allocations: 4 kB / 0.6213 GB, free: 15.53 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001277/0.6204, allocations: 0.6472 MB / 0.622 GB, free: 14.88 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.6204, allocations: 0 / 0.622 GB, free: 14.88 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005903/0.621, allocations: 67.92 kB / 0.622 GB, free: 14.82 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001603/0.6227, allocations: 457.1 kB / 0.6225 GB, free: 14.53 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0003821/0.6231, allocations: 87.88 kB / 0.6226 GB, free: 14.44 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.6231, allocations: 0 / 0.6226 GB, free: 14.44 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001682/0.6233, allocations: 39.98 kB / 0.6226 GB, free: 14.4 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006847/0.624, allocations: 30.3 kB / 0.6226 GB, free: 14.37 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002384/0.6264, allocations: 0.971 MB / 0.6236 GB, free: 13.37 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000708/0.6271, allocations: 0.8346 MB / 0.6244 GB, free: 12.51 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002101/0.6273, allocations: 60.91 kB / 0.6244 GB, free: 12.45 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001021/0.6274, allocations: 19.44 kB / 0.6245 GB, free: 12.43 MB / 442.7 MB Notification: Performance of SimCode: time 3.687e-06/0.6275, allocations: 0 / 0.6245 GB, free: 12.43 MB / 442.7 MB Notification: Performance of Templates: time 0.01209/0.6396, allocations: 2.727 MB / 0.6271 GB, free: 9.699 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches