Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19.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.CombiTable2Dv.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001115/0.001115, allocations: 116.2 kB / 18.46 MB, free: 4.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001156/0.001156, allocations: 210 kB / 19.4 MB, free: 3.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.335/1.335, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2038/0.2038, allocations: 46.11 MB / 345 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 75.88 kB / 482 MB, free: 4.035 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.306/0.3073, allocations: 62.43 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test19): time 0.003107/0.3105, allocations: 1.954 MB / 0.5336 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001822/0.3123, allocations: 1.077 MB / 0.5346 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.136e-05/0.3124, allocations: 5.344 kB / 0.5346 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004861/0.3129, allocations: 257.6 kB / 0.5349 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000521/0.3134, allocations: 257.2 kB / 0.5351 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001398/0.3148, allocations: 0.6406 MB / 0.5357 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000401/0.3153, allocations: 325.2 kB / 0.5361 GB, free: 10.33 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001546/0.3154, allocations: 54.7 kB / 0.5361 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001922/0.3156, allocations: 136.4 kB / 0.5362 GB, free: 10.23 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002413/0.3159, allocations: 199.2 kB / 0.5364 GB, free: 10.13 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.526e-05/0.3159, allocations: 9.062 kB / 0.5364 GB, free: 10.13 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001264/0.316, allocations: 53.69 kB / 0.5365 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000126/0.3162, allocations: 91.19 kB / 0.5366 GB, free: 10.06 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000103/0.3163, allocations: 114.3 kB / 0.5367 GB, free: 9.969 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003538/0.3166, allocations: 297.4 kB / 0.537 GB, free: 9.777 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.3167, allocations: 0 / 0.537 GB, free: 9.777 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3167, allocations: 1.062 kB / 0.537 GB, free: 9.777 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.132e-06/0.3167, allocations: 0 / 0.537 GB, free: 9.777 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006984/0.3174, allocations: 0.6316 MB / 0.5376 GB, free: 9.184 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.3174, allocations: 10 kB / 0.5376 GB, free: 9.184 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.051e-05/0.3175, allocations: 41.09 kB / 0.5376 GB, free: 9.16 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003554/0.3179, allocations: 327.8 kB / 0.5379 GB, free: 8.848 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.3179, allocations: 6.938 kB / 0.5379 GB, free: 8.844 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.701e-05/0.3179, allocations: 8.125 kB / 0.538 GB, free: 8.84 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002107/0.3181, allocations: 98.11 kB / 0.538 GB, free: 8.77 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.3181, allocations: 5.484 kB / 0.5381 GB, free: 8.766 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.3182, allocations: 8 kB / 0.5381 GB, free: 8.758 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.3182, allocations: 1.438 kB / 0.5381 GB, free: 8.758 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001661/0.3183, allocations: 71.06 kB / 0.5381 GB, free: 8.727 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005795/0.3189, allocations: 458.2 kB / 0.5386 GB, free: 8.32 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001326/0.3191, allocations: 70.14 kB / 0.5386 GB, free: 8.273 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.305e-05/0.3192, allocations: 36.81 kB / 0.5387 GB, free: 8.25 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.022e-05/0.3192, allocations: 9.141 kB / 0.5387 GB, free: 8.242 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.3192, allocations: 35.69 kB / 0.5387 GB, free: 8.199 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.3192, allocations: 0 / 0.5387 GB, free: 8.199 MB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003577/0.3196, allocations: 156.1 kB / 0.5389 GB, free: 8.105 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.551e-05/0.3197, allocations: 56.38 kB / 0.5389 GB, free: 8.039 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006754/0.3203, allocations: 0.5683 MB / 0.5395 GB, free: 7.746 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.306e-05/0.3204, allocations: 29.7 kB / 0.5395 GB, free: 7.711 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001319/0.3206, allocations: 202 kB / 0.5397 GB, free: 7.531 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.404e-05/0.3206, allocations: 14.69 kB / 0.5397 GB, free: 7.52 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.994e-05/0.3206, allocations: 23.3 kB / 0.5397 GB, free: 7.496 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002106/0.3209, allocations: 349.7 kB / 0.5401 GB, free: 7.156 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.84e-05/0.3209, allocations: 26.36 kB / 0.5401 GB, free: 7.145 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.003e-05/0.321, allocations: 23.45 kB / 0.5401 GB, free: 7.137 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001398/0.3211, allocations: 77.03 kB / 0.5402 GB, free: 7.09 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.3212, allocations: 0 / 0.5402 GB, free: 7.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002199/0.3214, allocations: 125.6 kB / 0.5403 GB, free: 7.012 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.3214, allocations: 5.281 kB / 0.5403 GB, free: 7.012 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.3214, allocations: 1.344 kB / 0.5403 GB, free: 7.012 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.3214, allocations: 0 / 0.5403 GB, free: 7.012 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.749e-05/0.3215, allocations: 14.62 kB / 0.5403 GB, free: 7.008 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.3215, allocations: 0 / 0.5403 GB, free: 7.008 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.947e-05/0.3216, allocations: 14.8 kB / 0.5403 GB, free: 6.996 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.388e-06/0.3216, allocations: 1.625 kB / 0.5403 GB, free: 6.996 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 (6): * Single equations (assignments): 6 * 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.0001621/0.3218, allocations: 180.7 kB / 0.5405 GB, free: 6.848 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.569e-05/0.3219, allocations: 36.28 kB / 0.5405 GB, free: 6.828 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003066/0.3222, allocations: 153.8 kB / 0.5407 GB, free: 6.727 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.3222, allocations: 5.156 kB / 0.5407 GB, free: 6.723 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.3222, allocations: 0 / 0.5407 GB, free: 6.723 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.3222, allocations: 4.438 kB / 0.5407 GB, free: 6.719 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003059/0.3225, allocations: 294.6 kB / 0.541 GB, free: 6.445 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.3225, allocations: 4.984 kB / 0.541 GB, free: 6.441 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.168e-05/0.3226, allocations: 18 kB / 0.541 GB, free: 6.434 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.3226, allocations: 0 / 0.541 GB, free: 6.434 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.3226, allocations: 2.156 kB / 0.541 GB, free: 6.434 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.202e-06/0.3226, allocations: 7.875 kB / 0.541 GB, free: 6.426 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3226, allocations: 0 / 0.541 GB, free: 6.426 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002882/0.3229, allocations: 230.8 kB / 0.5412 GB, free: 6.238 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.559e-05/0.323, allocations: 104 kB / 0.5413 GB, free: 6.125 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.055e-05/0.323, allocations: 5.062 kB / 0.5413 GB, free: 6.121 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.427e-05/0.3231, allocations: 5.062 kB / 0.5413 GB, free: 6.117 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.744e-05/0.3232, allocations: 6.266 kB / 0.5413 GB, free: 6.113 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.47e-06/0.3232, allocations: 2.281 kB / 0.5414 GB, free: 6.113 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004574/0.3236, allocations: 426.9 kB / 0.5418 GB, free: 5.895 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.3236, allocations: 0 / 0.5418 GB, free: 5.895 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000285/0.3239, allocations: 38.77 kB / 0.5418 GB, free: 5.883 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 (6): * Single equations (assignments): 6 * 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.001436/0.3254, allocations: 0.5774 MB / 0.5424 GB, free: 5.602 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001982/0.3256, allocations: 76.83 kB / 0.5424 GB, free: 5.562 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.3256, allocations: 1.094 kB / 0.5424 GB, free: 5.562 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.761e-05/0.3257, allocations: 27.27 kB / 0.5425 GB, free: 5.555 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005591/0.3262, allocations: 83.98 kB / 0.5425 GB, free: 5.512 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009024/0.3271, allocations: 0.6444 MB / 0.5432 GB, free: 5.109 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003904/0.3275, allocations: 0.8009 MB / 0.544 GB, free: 4.355 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.692e-05/0.3276, allocations: 30.95 kB / 0.544 GB, free: 4.344 MB / 398.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3276, allocations: 0 / 0.544 GB, free: 4.344 MB / 398.1 MB Notification: Performance of Templates: time 0.006093/0.3337, allocations: 4.003 MB / 0.5479 GB, free: 0.9648 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches