Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001576/0.001576, allocations: 113 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001947/0.001947, allocations: 212.9 kB / 19.4 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.385/1.385, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.226/0.226, allocations: 46.1 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001577/0.001577, allocations: 75.88 kB / 482 MB, free: 4.062 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3662/0.3678, allocations: 62.44 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test21): time 0.003406/0.3713, allocations: 2.047 MB / 0.5337 GB, free: 12.01 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001771/0.3731, allocations: 1.014 MB / 0.5347 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001133/0.3732, allocations: 2.75 kB / 0.5347 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000454/0.3736, allocations: 256 kB / 0.5349 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000491/0.3742, allocations: 269.9 kB / 0.5352 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001062/0.3752, allocations: 494.9 kB / 0.5356 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004219/0.3757, allocations: 328.7 kB / 0.5359 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001874/0.3759, allocations: 64.86 kB / 0.536 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001598/0.376, allocations: 135.7 kB / 0.5361 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002538/0.3763, allocations: 210.3 kB / 0.5363 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.317e-05/0.3763, allocations: 14.66 kB / 0.5363 GB, free: 10.19 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001953/0.3765, allocations: 93.97 kB / 0.5364 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001272/0.3767, allocations: 93.39 kB / 0.5365 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001029/0.3768, allocations: 122.9 kB / 0.5366 GB, free: 10.01 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003988/0.3772, allocations: 340.5 kB / 0.537 GB, free: 9.785 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.3772, allocations: 0 / 0.537 GB, free: 9.785 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3772, allocations: 0 / 0.537 GB, free: 9.785 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.203e-06/0.3772, allocations: 0 / 0.537 GB, free: 9.785 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0007416/0.378, allocations: 0.6525 MB / 0.5376 GB, free: 9.176 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.378, allocations: 10.67 kB / 0.5376 GB, free: 9.176 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.436e-05/0.3781, allocations: 42.97 kB / 0.5377 GB, free: 9.152 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003658/0.3785, allocations: 327.2 kB / 0.538 GB, free: 8.836 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.3785, allocations: 7.875 kB / 0.538 GB, free: 8.832 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.167e-05/0.3785, allocations: 11.5 kB / 0.538 GB, free: 8.828 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002278/0.3788, allocations: 115.7 kB / 0.5381 GB, free: 8.746 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.736e-05/0.3788, allocations: 4.984 kB / 0.5381 GB, free: 8.742 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.502e-05/0.3788, allocations: 9 kB / 0.5381 GB, free: 8.734 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.3788, allocations: 2.281 kB / 0.5381 GB, free: 8.734 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001699/0.379, allocations: 71.48 kB / 0.5382 GB, free: 8.703 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006336/0.3797, allocations: 485.5 kB / 0.5386 GB, free: 8.273 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001822/0.3798, allocations: 87.02 kB / 0.5387 GB, free: 8.223 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.58e-05/0.3799, allocations: 41.72 kB / 0.5388 GB, free: 8.195 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.034e-05/0.38, allocations: 5.922 kB / 0.5388 GB, free: 8.191 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.861e-05/0.38, allocations: 35.53 kB / 0.5388 GB, free: 8.148 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.212e-06/0.38, allocations: 0 / 0.5388 GB, free: 8.148 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009306/0.3809, allocations: 390.3 kB / 0.5392 GB, free: 7.93 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.724e-05/0.381, allocations: 56.62 kB / 0.5392 GB, free: 7.863 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006184/0.3816, allocations: 0.5561 MB / 0.5398 GB, free: 7.578 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.137e-05/0.3817, allocations: 30.58 kB / 0.5398 GB, free: 7.543 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000145/0.3818, allocations: 206.4 kB / 0.54 GB, free: 7.355 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.277e-05/0.3819, allocations: 57.69 kB / 0.5401 GB, free: 7.305 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.637e-05/0.3819, allocations: 33.36 kB / 0.5401 GB, free: 7.277 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.3821, allocations: 351 kB / 0.5404 GB, free: 6.938 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001201/0.3822, allocations: 53.72 kB / 0.5405 GB, free: 6.91 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001075/0.3823, allocations: 55.75 kB / 0.5405 GB, free: 6.883 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002279/0.3826, allocations: 117.5 kB / 0.5406 GB, free: 6.828 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.3826, allocations: 3.938 kB / 0.5406 GB, free: 6.824 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003461/0.3829, allocations: 200 kB / 0.5408 GB, free: 6.711 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.3829, allocations: 5.438 kB / 0.5408 GB, free: 6.711 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.982e-06/0.383, allocations: 0 / 0.5408 GB, free: 6.711 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.383, allocations: 5.312 kB / 0.5408 GB, free: 6.707 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001554/0.3831, allocations: 30.8 kB / 0.5409 GB, free: 6.703 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/0.3832, allocations: 1.188 kB / 0.5409 GB, free: 6.703 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.269e-05/0.3832, allocations: 11.77 kB / 0.5409 GB, free: 6.695 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.196e-05/0.3833, allocations: 4 kB / 0.5409 GB, free: 6.695 MB / 398.1 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 (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001691/0.3834, allocations: 181.1 kB / 0.5411 GB, free: 6.547 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.96e-05/0.3835, allocations: 41.5 kB / 0.5411 GB, free: 6.523 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004765/0.384, allocations: 239.4 kB / 0.5413 GB, free: 6.375 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.384, allocations: 2.312 kB / 0.5413 GB, free: 6.375 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/0.384, allocations: 0 / 0.5413 GB, free: 6.375 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.384, allocations: 7.922 kB / 0.5413 GB, free: 6.367 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008344/0.3849, allocations: 0.6215 MB / 0.5419 GB, free: 5.852 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.157e-06/0.3849, allocations: 5.156 kB / 0.542 GB, free: 5.848 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001121/0.385, allocations: 33.5 kB / 0.542 GB, free: 5.84 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.385, allocations: 5.156 kB / 0.542 GB, free: 5.836 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.3851, allocations: 6.25 kB / 0.542 GB, free: 5.832 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.3851, allocations: 0.9375 kB / 0.542 GB, free: 5.832 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.3851, allocations: 7.875 kB / 0.542 GB, free: 5.824 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003862/0.3855, allocations: 300.1 kB / 0.5423 GB, free: 5.609 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.464e-05/0.3856, allocations: 109.1 kB / 0.5424 GB, free: 5.492 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.447e-05/0.3856, allocations: 2.094 kB / 0.5424 GB, free: 5.492 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.475e-05/0.3857, allocations: 11.19 kB / 0.5424 GB, free: 5.484 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.777e-05/0.3858, allocations: 13.52 kB / 0.5424 GB, free: 5.477 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.097e-05/0.3858, allocations: 4.781 kB / 0.5424 GB, free: 5.477 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004513/0.3862, allocations: 423.7 kB / 0.5428 GB, free: 5.262 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3862, allocations: 0 / 0.5428 GB, free: 5.262 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003227/0.3866, allocations: 51.75 kB / 0.5429 GB, free: 5.246 MB / 398.1 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 (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001637/0.3882, allocations: 0.6847 MB / 0.5435 GB, free: 4.918 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003489/0.3886, allocations: 132.5 kB / 0.5437 GB, free: 4.867 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3886, allocations: 0 / 0.5437 GB, free: 4.867 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001381/0.3887, allocations: 72.06 kB / 0.5437 GB, free: 4.84 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005925/0.3893, allocations: 82.36 kB / 0.5438 GB, free: 4.797 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001141/0.3905, allocations: 0.7017 MB / 0.5445 GB, free: 4.355 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003769/0.3909, allocations: 0.8011 MB / 0.5453 GB, free: 3.605 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.61e-05/0.391, allocations: 35.27 kB / 0.5453 GB, free: 3.594 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.391, allocations: 5.156 kB / 0.5453 GB, free: 3.59 MB / 398.1 MB Notification: Performance of Templates: time 0.007031/0.398, allocations: 4.538 MB / 0.5498 GB, free: 15.12 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches