Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test19,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test19,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test19",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001209/0.001209, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001232/0.001232, allocations: 198 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.376/1.376, allocations: 227.4 MB / 247 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.2192/0.2192, allocations: 46.13 MB / 344.4 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002078/0.002078, allocations: 87.84 kB / 480.9 MB, free: 4.477 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3359/0.338, allocations: 62.45 MB / 0.5306 GB, free: 13.35 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test19): time 0.003203/0.3412, allocations: 1.936 MB / 0.5325 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001696/0.3429, allocations: 0.981 MB / 0.5335 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.239e-05/0.343, allocations: 1.75 kB / 0.5335 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004312/0.3435, allocations: 248.2 kB / 0.5337 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004556/0.3439, allocations: 265 kB / 0.534 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009722/0.3449, allocations: 484.3 kB / 0.5344 GB, free: 10.47 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003501/0.3453, allocations: 292.5 kB / 0.5347 GB, free: 10.31 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001361/0.3454, allocations: 45.34 kB / 0.5348 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001616/0.3456, allocations: 140.1 kB / 0.5349 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00024/0.3458, allocations: 187.4 kB / 0.5351 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.989e-05/0.3459, allocations: 8.906 kB / 0.5351 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001242/0.346, allocations: 58.09 kB / 0.5351 GB, free: 10.09 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001205/0.3461, allocations: 82.59 kB / 0.5352 GB, free: 10.04 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001057/0.3463, allocations: 114.9 kB / 0.5353 GB, free: 9.949 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003857/0.3466, allocations: 314.4 kB / 0.5356 GB, free: 9.738 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.3467, allocations: 5.281 kB / 0.5356 GB, free: 9.734 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.3467, allocations: 0 / 0.5356 GB, free: 9.734 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.3467, allocations: 0 / 0.5356 GB, free: 9.734 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.0007626/0.3474, allocations: 0.6633 MB / 0.5363 GB, free: 9.113 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.3475, allocations: 13.25 kB / 0.5363 GB, free: 9.109 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.999e-05/0.3475, allocations: 37.25 kB / 0.5363 GB, free: 9.066 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.452e-05/0.3476, allocations: 42.78 kB / 0.5364 GB, free: 9.043 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003671/0.348, allocations: 334 kB / 0.5367 GB, free: 8.723 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.348, allocations: 6.594 kB / 0.5367 GB, free: 8.719 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.167e-05/0.348, allocations: 7.844 kB / 0.5367 GB, free: 8.715 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001849/0.3482, allocations: 86.75 kB / 0.5368 GB, free: 8.648 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.3482, allocations: 3.984 kB / 0.5368 GB, free: 8.645 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.105e-06/0.3483, allocations: 1.312 kB / 0.5368 GB, free: 8.645 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.3483, allocations: 1.281 kB / 0.5368 GB, free: 8.645 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001384/0.3484, allocations: 55.91 kB / 0.5368 GB, free: 8.617 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005956/0.349, allocations: 455.3 kB / 0.5373 GB, free: 8.203 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000122/0.3491, allocations: 62.05 kB / 0.5373 GB, free: 8.156 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.351e-05/0.3492, allocations: 25.12 kB / 0.5374 GB, free: 8.141 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.379e-05/0.3493, allocations: 2.156 kB / 0.5374 GB, free: 8.141 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.803e-05/0.3493, allocations: 35.56 kB / 0.5374 GB, free: 8.098 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.3493, allocations: 0 / 0.5374 GB, free: 8.098 MB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003454/0.3496, allocations: 132.9 kB / 0.5375 GB, free: 8.016 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.466e-05/0.3497, allocations: 56.44 kB / 0.5376 GB, free: 7.949 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006647/0.3504, allocations: 0.5893 MB / 0.5381 GB, free: 7.645 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.65e-05/0.3504, allocations: 25.7 kB / 0.5382 GB, free: 7.613 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001838/0.3506, allocations: 214.9 kB / 0.5384 GB, free: 7.422 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.498e-05/0.3506, allocations: 18.05 kB / 0.5384 GB, free: 7.406 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.154e-05/0.3507, allocations: 23.55 kB / 0.5384 GB, free: 7.383 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001861/0.3508, allocations: 350.3 kB / 0.5387 GB, free: 7.043 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.978e-05/0.3509, allocations: 22.2 kB / 0.5388 GB, free: 7.031 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.447e-05/0.351, allocations: 18.75 kB / 0.5388 GB, free: 7.023 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001122/0.3511, allocations: 48.58 kB / 0.5388 GB, free: 6.996 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.3511, allocations: 1.219 kB / 0.5388 GB, free: 6.996 MB / 398.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001999/0.3513, allocations: 109.6 kB / 0.5389 GB, free: 6.926 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.3513, allocations: 5.219 kB / 0.5389 GB, free: 6.926 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.3513, allocations: 1.625 kB / 0.5389 GB, free: 6.926 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.3514, allocations: 7.875 kB / 0.539 GB, free: 6.918 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.361e-05/0.3515, allocations: 18.22 kB / 0.539 GB, free: 6.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.3515, allocations: 1 kB / 0.539 GB, free: 6.91 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.586e-05/0.3515, allocations: 19.25 kB / 0.539 GB, free: 6.895 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-06/0.3515, allocations: 2.5 kB / 0.539 GB, free: 6.895 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.0001602/0.3517, allocations: 166.3 kB / 0.5392 GB, free: 6.758 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.639e-05/0.3518, allocations: 40.69 kB / 0.5392 GB, free: 6.734 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002685/0.3521, allocations: 132.3 kB / 0.5393 GB, free: 6.645 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-06/0.3521, allocations: 13.19 kB / 0.5393 GB, free: 6.633 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.3521, allocations: 0 / 0.5393 GB, free: 6.633 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.3521, allocations: 5.219 kB / 0.5393 GB, free: 6.629 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003222/0.3524, allocations: 288.5 kB / 0.5396 GB, free: 6.359 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3524, allocations: 0 / 0.5396 GB, free: 6.359 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.755e-05/0.3525, allocations: 14.02 kB / 0.5396 GB, free: 6.355 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.3525, allocations: 5.75 kB / 0.5396 GB, free: 6.352 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.3525, allocations: 0 / 0.5396 GB, free: 6.352 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.3525, allocations: 5.312 kB / 0.5396 GB, free: 6.348 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3525, allocations: 0 / 0.5396 GB, free: 6.348 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000259/0.3528, allocations: 214.1 kB / 0.5398 GB, free: 6.168 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001006/0.3529, allocations: 122.9 kB / 0.54 GB, free: 6.039 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.964e-05/0.3529, allocations: 0 / 0.54 GB, free: 6.039 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.785e-05/0.353, allocations: 7.281 kB / 0.54 GB, free: 6.035 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.816e-05/0.3531, allocations: 10.77 kB / 0.54 GB, free: 6.027 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.3531, allocations: 2.5 kB / 0.54 GB, free: 6.027 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005032/0.3536, allocations: 440.3 kB / 0.5404 GB, free: 5.801 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3536, allocations: 0 / 0.5404 GB, free: 5.801 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002824/0.3539, allocations: 45.16 kB / 0.5404 GB, free: 5.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 (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.002742/0.3566, allocations: 1.222 MB / 0.5416 GB, free: 4.883 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000186/0.3568, allocations: 57.47 kB / 0.5417 GB, free: 4.855 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3568, allocations: 0 / 0.5417 GB, free: 4.855 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.404e-05/0.3569, allocations: 24.11 kB / 0.5417 GB, free: 4.848 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005406/0.3575, allocations: 94.64 kB / 0.5418 GB, free: 4.797 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003401/0.3609, allocations: 2.847 MB / 0.5446 GB, free: 2.832 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004351/0.3613, allocations: 0.8004 MB / 0.5454 GB, free: 2.078 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001132/0.3614, allocations: 38.06 kB / 0.5454 GB, free: 2.062 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001594/0.3616, allocations: 109.5 kB / 0.5455 GB, free: 1.969 MB / 398.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3616, allocations: 3.938 kB / 0.5455 GB, free: 1.965 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02758/0.3892, allocations: 6.782 MB / 0.5521 GB, free: 11.54 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.024/8.414, allocations: 6.203 kB / 0.5521 GB, free: 11.54 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test19_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test19_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test19.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches