Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test21,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.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test21,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.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001415/0.001415, 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.001829/0.001829, 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.395/1.395, allocations: 227.4 MB / 247.6 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2052/0.2052, allocations: 46.1 MB / 345 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 71.89 kB / 482 MB, free: 4.039 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2986/0.3, allocations: 62.44 MB / 0.5317 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.003174/0.3032, allocations: 2.061 MB / 0.5337 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001886/0.3051, allocations: 1.111 MB / 0.5348 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001022/0.3052, allocations: 3.406 kB / 0.5348 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004944/0.3057, allocations: 272.8 kB / 0.535 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004868/0.3062, allocations: 261.5 kB / 0.5353 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001532/0.3078, allocations: 0.6505 MB / 0.5359 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006023/0.3084, allocations: 351 kB / 0.5362 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002341/0.3086, allocations: 80.16 kB / 0.5363 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002048/0.3089, allocations: 152.3 kB / 0.5365 GB, free: 10.05 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003269/0.3092, allocations: 202 kB / 0.5367 GB, free: 9.953 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.515e-05/0.3092, allocations: 15.5 kB / 0.5367 GB, free: 9.949 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002378/0.3095, allocations: 97.88 kB / 0.5368 GB, free: 9.918 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001773/0.3097, allocations: 104.7 kB / 0.5369 GB, free: 9.855 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001433/0.3098, allocations: 129.7 kB / 0.537 GB, free: 9.75 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004815/0.3103, allocations: 348.8 kB / 0.5373 GB, free: 9.527 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.3103, allocations: 3.984 kB / 0.5373 GB, free: 9.523 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3103, allocations: 3.938 kB / 0.5373 GB, free: 9.52 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.033e-05/0.3104, allocations: 0 / 0.5373 GB, free: 9.52 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.0007774/0.3111, allocations: 0.6641 MB / 0.538 GB, free: 8.902 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.3112, allocations: 10.72 kB / 0.538 GB, free: 8.902 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.384e-05/0.3113, allocations: 43.22 kB / 0.538 GB, free: 8.879 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003705/0.3116, allocations: 326.1 kB / 0.5383 GB, free: 8.57 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.3117, allocations: 11.5 kB / 0.5384 GB, free: 8.562 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.552e-05/0.3117, allocations: 16.28 kB / 0.5384 GB, free: 8.555 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002837/0.312, allocations: 135.7 kB / 0.5385 GB, free: 8.461 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.312, allocations: 1.094 kB / 0.5385 GB, free: 8.461 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.312, allocations: 1.125 kB / 0.5385 GB, free: 8.461 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.859e-06/0.3121, allocations: 2.281 kB / 0.5385 GB, free: 8.461 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001986/0.3123, allocations: 89.81 kB / 0.5386 GB, free: 8.422 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000708/0.313, allocations: 0.5065 MB / 0.5391 GB, free: 7.977 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001935/0.3132, allocations: 108.6 kB / 0.5392 GB, free: 7.914 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.92e-05/0.3133, allocations: 39.98 kB / 0.5392 GB, free: 7.891 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.144e-05/0.3133, allocations: 10.11 kB / 0.5392 GB, free: 7.883 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.598e-05/0.3133, allocations: 31.69 kB / 0.5393 GB, free: 7.844 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.293e-06/0.3134, allocations: 4 kB / 0.5393 GB, free: 7.84 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001038/0.3144, allocations: 443.2 kB / 0.5397 GB, free: 7.598 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.373e-05/0.3145, allocations: 54.09 kB / 0.5397 GB, free: 7.535 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006269/0.3151, allocations: 0.5711 MB / 0.5403 GB, free: 7.238 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.896e-05/0.3151, allocations: 26.92 kB / 0.5403 GB, free: 7.207 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001519/0.3153, allocations: 203.1 kB / 0.5405 GB, free: 7.023 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.483e-05/0.3153, allocations: 69.45 kB / 0.5406 GB, free: 6.961 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.883e-05/0.3154, allocations: 34.91 kB / 0.5406 GB, free: 6.934 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001695/0.3156, allocations: 358.7 kB / 0.541 GB, free: 6.586 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001365/0.3157, allocations: 62.45 kB / 0.541 GB, free: 6.559 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001273/0.3158, allocations: 70.36 kB / 0.5411 GB, free: 6.527 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002704/0.3161, allocations: 154 kB / 0.5412 GB, free: 6.449 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.3161, allocations: 9.531 kB / 0.5412 GB, free: 6.441 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003801/0.3165, allocations: 235.1 kB / 0.5415 GB, free: 6.312 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.3165, allocations: 5.656 kB / 0.5415 GB, free: 6.312 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.87e-06/0.3166, allocations: 0 / 0.5415 GB, free: 6.312 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.3166, allocations: 1.125 kB / 0.5415 GB, free: 6.312 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001511/0.3167, allocations: 34.67 kB / 0.5415 GB, free: 6.305 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.3167, allocations: 1.219 kB / 0.5415 GB, free: 6.305 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.109e-05/0.3168, allocations: 11.52 kB / 0.5415 GB, free: 6.297 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.411e-05/0.3168, allocations: 8.312 kB / 0.5415 GB, free: 6.293 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.0001657/0.317, allocations: 191.1 kB / 0.5417 GB, free: 6.137 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.961e-05/0.3171, allocations: 41.91 kB / 0.5417 GB, free: 6.113 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005085/0.3176, allocations: 283.3 kB / 0.542 GB, free: 5.941 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.3176, allocations: 2.219 kB / 0.542 GB, free: 5.941 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.3176, allocations: 0 / 0.542 GB, free: 5.941 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.3176, allocations: 0 / 0.542 GB, free: 5.941 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008553/0.3185, allocations: 0.6774 MB / 0.5427 GB, free: 5.402 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.3185, allocations: 5.359 kB / 0.5427 GB, free: 5.398 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001167/0.3186, allocations: 29.42 kB / 0.5427 GB, free: 5.395 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.3186, allocations: 5 kB / 0.5427 GB, free: 5.391 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.3187, allocations: 2.906 kB / 0.5427 GB, free: 5.391 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.3187, allocations: 0 / 0.5427 GB, free: 5.391 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.3187, allocations: 5.25 kB / 0.5427 GB, free: 5.387 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004349/0.3191, allocations: 334.5 kB / 0.543 GB, free: 5.152 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.854e-05/0.3192, allocations: 112.6 kB / 0.5432 GB, free: 5.031 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.772e-05/0.3192, allocations: 5.062 kB / 0.5432 GB, free: 5.027 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.496e-05/0.3193, allocations: 3.469 kB / 0.5432 GB, free: 5.027 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.879e-05/0.3194, allocations: 18.73 kB / 0.5432 GB, free: 5.016 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.036e-05/0.3194, allocations: 3.906 kB / 0.5432 GB, free: 5.016 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004361/0.3199, allocations: 427.3 kB / 0.5436 GB, free: 4.801 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3199, allocations: 4 kB / 0.5436 GB, free: 4.797 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003237/0.3202, allocations: 53.45 kB / 0.5436 GB, free: 4.781 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.001617/0.3218, allocations: 0.6846 MB / 0.5443 GB, free: 4.457 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003653/0.3222, allocations: 160.9 kB / 0.5445 GB, free: 4.391 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.3222, allocations: 0 / 0.5445 GB, free: 4.391 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001762/0.3224, allocations: 96.52 kB / 0.5446 GB, free: 4.348 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005775/0.323, allocations: 79.36 kB / 0.5446 GB, free: 4.309 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001104/0.3241, allocations: 0.7438 MB / 0.5454 GB, free: 3.582 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003788/0.3245, allocations: 0.8221 MB / 0.5462 GB, free: 2.734 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.755e-05/0.3246, allocations: 31.44 kB / 0.5462 GB, free: 2.707 MB / 398.1 MB Notification: Performance of SimCode: time 1.572e-06/0.3246, allocations: 0 / 0.5462 GB, free: 2.707 MB / 398.1 MB Notification: Performance of Templates: time 0.006751/0.3313, allocations: 4.823 MB / 0.5509 GB, free: 13.89 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches