Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.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.Test20,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.Test20") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test20,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.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001361/0.001361, allocations: 109 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.001544/0.001544, allocations: 206.8 kB / 19.4 MB, free: 3.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.453/1.453, allocations: 227.4 MB / 247.6 MB, free: 10.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.239/0.239, allocations: 46.11 MB / 345 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001552/0.001552, allocations: 79.88 kB / 482 MB, free: 4.082 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4061/0.4076, allocations: 62.43 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test20): time 0.003426/0.4111, allocations: 2.038 MB / 0.5337 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001827/0.413, allocations: 1.026 MB / 0.5347 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.059e-05/0.4131, allocations: 2.75 kB / 0.5347 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003828/0.4135, allocations: 255.8 kB / 0.5349 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004717/0.4139, allocations: 258.5 kB / 0.5351 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001093/0.4151, allocations: 494.2 kB / 0.5356 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003748/0.4154, allocations: 325.8 kB / 0.5359 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001394/0.4156, allocations: 76.8 kB / 0.536 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001672/0.4158, allocations: 139.4 kB / 0.5361 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002266/0.416, allocations: 203 kB / 0.5363 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.71e-05/0.416, allocations: 14.22 kB / 0.5363 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001639/0.4162, allocations: 79.58 kB / 0.5364 GB, free: 10.17 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001126/0.4163, allocations: 88.73 kB / 0.5365 GB, free: 10.12 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001077/0.4164, allocations: 123.2 kB / 0.5366 GB, free: 10.02 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003749/0.4168, allocations: 324.9 kB / 0.5369 GB, free: 9.801 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.4168, allocations: 0 / 0.5369 GB, free: 9.801 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.4168, allocations: 0 / 0.5369 GB, free: 9.801 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.648e-06/0.4168, allocations: 0 / 0.5369 GB, free: 9.801 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.0006433/0.4175, allocations: 0.6438 MB / 0.5376 GB, free: 9.199 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.042e-05/0.4175, allocations: 10.7 kB / 0.5376 GB, free: 9.199 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.496e-05/0.4176, allocations: 43.19 kB / 0.5376 GB, free: 9.176 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003304/0.4179, allocations: 322.7 kB / 0.5379 GB, free: 8.863 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.418, allocations: 8.344 kB / 0.5379 GB, free: 8.859 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.494e-05/0.418, allocations: 16.27 kB / 0.5379 GB, free: 8.852 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002062/0.4182, allocations: 118.5 kB / 0.5381 GB, free: 8.766 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.4182, allocations: 1.25 kB / 0.5381 GB, free: 8.766 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.4183, allocations: 5.312 kB / 0.5381 GB, free: 8.762 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.4183, allocations: 2.281 kB / 0.5381 GB, free: 8.762 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000156/0.4184, allocations: 66.73 kB / 0.5381 GB, free: 8.734 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006064/0.419, allocations: 482.6 kB / 0.5386 GB, free: 8.309 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001785/0.4192, allocations: 97.94 kB / 0.5387 GB, free: 8.246 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.116e-05/0.4193, allocations: 34.03 kB / 0.5387 GB, free: 8.227 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.108e-05/0.4193, allocations: 5.406 kB / 0.5387 GB, free: 8.223 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.206e-05/0.4194, allocations: 35.86 kB / 0.5388 GB, free: 8.18 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.112e-06/0.4194, allocations: 5.812 kB / 0.5388 GB, free: 8.176 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009213/0.4203, allocations: 387.9 kB / 0.5391 GB, free: 7.957 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.412e-05/0.4204, allocations: 53.66 kB / 0.5392 GB, free: 7.895 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00064/0.421, allocations: 0.5592 MB / 0.5397 GB, free: 7.605 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.865e-05/0.421, allocations: 30.89 kB / 0.5398 GB, free: 7.57 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001477/0.4212, allocations: 206.5 kB / 0.54 GB, free: 7.383 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.461e-05/0.4212, allocations: 57.58 kB / 0.54 GB, free: 7.332 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.538e-05/0.4213, allocations: 33.73 kB / 0.54 GB, free: 7.305 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.4214, allocations: 350.5 kB / 0.5404 GB, free: 6.965 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001142/0.4216, allocations: 50.78 kB / 0.5404 GB, free: 6.941 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001045/0.4217, allocations: 55.03 kB / 0.5405 GB, free: 6.914 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000221/0.4219, allocations: 117.1 kB / 0.5406 GB, free: 6.859 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.138e-05/0.4219, allocations: 7.938 kB / 0.5406 GB, free: 6.852 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003359/0.4223, allocations: 195.5 kB / 0.5408 GB, free: 6.742 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.4223, allocations: 8.25 kB / 0.5408 GB, free: 6.742 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.4223, allocations: 0 / 0.5408 GB, free: 6.742 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.347e-06/0.4223, allocations: 5.094 kB / 0.5408 GB, free: 6.738 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001366/0.4225, allocations: 31.27 kB / 0.5408 GB, free: 6.734 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.4225, allocations: 1.312 kB / 0.5408 GB, free: 6.734 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.048e-05/0.4225, allocations: 15.23 kB / 0.5408 GB, free: 6.723 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.202e-05/0.4226, allocations: 8.594 kB / 0.5408 GB, free: 6.719 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.0001697/0.4227, allocations: 179.9 kB / 0.541 GB, free: 6.57 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.422e-05/0.4228, allocations: 42.5 kB / 0.5411 GB, free: 6.547 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004524/0.4233, allocations: 236.2 kB / 0.5413 GB, free: 6.398 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.4233, allocations: 2.719 kB / 0.5413 GB, free: 6.398 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.4233, allocations: 0 / 0.5413 GB, free: 6.398 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.4233, allocations: 0 / 0.5413 GB, free: 6.398 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008229/0.4241, allocations: 0.6252 MB / 0.5419 GB, free: 5.879 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.4242, allocations: 1.188 kB / 0.5419 GB, free: 5.879 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001169/0.4243, allocations: 37.25 kB / 0.5419 GB, free: 5.867 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.4243, allocations: 1.219 kB / 0.5419 GB, free: 5.867 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.4243, allocations: 10.42 kB / 0.5419 GB, free: 5.859 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.4243, allocations: 1.375 kB / 0.5419 GB, free: 5.859 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.4243, allocations: 3.938 kB / 0.542 GB, free: 5.855 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000397/0.4247, allocations: 303.1 kB / 0.5422 GB, free: 5.637 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.717e-05/0.4248, allocations: 108.7 kB / 0.5423 GB, free: 5.52 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.79e-05/0.4248, allocations: 1.094 kB / 0.5423 GB, free: 5.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.49e-05/0.4249, allocations: 7.344 kB / 0.5424 GB, free: 5.516 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.794e-05/0.425, allocations: 13.86 kB / 0.5424 GB, free: 5.508 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.123e-05/0.425, allocations: 4.656 kB / 0.5424 GB, free: 5.508 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000463/0.4255, allocations: 428.6 kB / 0.5428 GB, free: 5.289 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4255, allocations: 0 / 0.5428 GB, free: 5.289 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003015/0.4258, allocations: 50.84 kB / 0.5428 GB, free: 5.273 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.001609/0.4274, allocations: 0.6848 MB / 0.5435 GB, free: 4.945 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003018/0.4277, allocations: 133.2 kB / 0.5436 GB, free: 4.891 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.4277, allocations: 4 kB / 0.5436 GB, free: 4.887 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001424/0.4279, allocations: 72.5 kB / 0.5437 GB, free: 4.859 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005235/0.4284, allocations: 82.94 kB / 0.5438 GB, free: 4.816 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001097/0.4295, allocations: 0.6959 MB / 0.5445 GB, free: 4.383 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004196/0.4299, allocations: 0.8055 MB / 0.5452 GB, free: 3.629 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.71e-05/0.43, allocations: 36.55 kB / 0.5453 GB, free: 3.617 MB / 398.1 MB Notification: Performance of SimCode: time 2.6e-07/0.43, allocations: 0 / 0.5453 GB, free: 3.617 MB / 398.1 MB Notification: Performance of Templates: time 0.006377/0.4364, allocations: 4.541 MB / 0.5497 GB, free: 15.18 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches