Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.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.Test16,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test16,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test16",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001534/0.001534, allocations: 122.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.001539/0.001539, allocations: 202 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.37/1.37, allocations: 227.4 MB / 247 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.219/0.219, allocations: 46.12 MB / 344.4 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002127/0.002127, allocations: 87.86 kB / 480.9 MB, free: 4.469 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3112/0.3133, allocations: 62.45 MB / 0.5306 GB, free: 13.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test16): time 0.00305/0.3164, allocations: 1.651 MB / 0.5322 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008805/0.3173, allocations: 0.6882 MB / 0.5329 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.427e-05/0.3174, allocations: 0 / 0.5329 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002275/0.3176, allocations: 33.28 kB / 0.5329 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000184/0.3178, allocations: 44.08 kB / 0.533 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.338e-06/0.3178, allocations: 0 / 0.533 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001511/0.318, allocations: 27.31 kB / 0.533 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.118e-05/0.318, allocations: 7.422 kB / 0.533 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.622e-05/0.3181, allocations: 12 kB / 0.533 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.039e-05/0.3181, allocations: 19.36 kB / 0.5331 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.145e-05/0.3182, allocations: 1.312 kB / 0.5331 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.871e-05/0.3182, allocations: 7.25 kB / 0.5331 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.215e-05/0.3183, allocations: 20.17 kB / 0.5331 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.31e-05/0.3183, allocations: 20.56 kB / 0.5331 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001528/0.3185, allocations: 71.48 kB / 0.5332 GB, free: 11.24 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.3185, allocations: 0 / 0.5332 GB, free: 11.24 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3185, allocations: 1.062 kB / 0.5332 GB, free: 11.24 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.3185, allocations: 0 / 0.5332 GB, free: 11.24 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004134/0.3189, allocations: 372.8 kB / 0.5335 GB, free: 10.84 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.319, allocations: 9.031 kB / 0.5335 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.613e-05/0.319, allocations: 42.2 kB / 0.5336 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.559e-05/0.319, allocations: 7.234 kB / 0.5336 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001526/0.3192, allocations: 175.6 kB / 0.5337 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.65e-05/0.3192, allocations: 13.84 kB / 0.5338 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.935e-06/0.3192, allocations: 1.844 kB / 0.5338 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001871/0.3194, allocations: 120.5 kB / 0.5339 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.3194, allocations: 3.938 kB / 0.5339 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.3195, allocations: 1.344 kB / 0.5339 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.584e-05/0.3195, allocations: 27.3 kB / 0.5339 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.738e-05/0.3196, allocations: 46.88 kB / 0.534 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007082/0.3203, allocations: 0.8913 MB / 0.5348 GB, free: 9.512 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.852e-05/0.3204, allocations: 165.1 kB / 0.535 GB, free: 9.34 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.921e-05/0.3205, allocations: 85.95 kB / 0.5351 GB, free: 9.254 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.495e-05/0.3205, allocations: 75.28 kB / 0.5351 GB, free: 9.18 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.029e-05/0.3206, allocations: 105.8 kB / 0.5352 GB, free: 9.066 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 1.122e-06/0.3206, allocations: 4 kB / 0.5352 GB, free: 9.062 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 7.974e-05/0.3207, allocations: 50.78 kB / 0.5353 GB, free: 9.012 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.894e-05/0.3207, allocations: 126.7 kB / 0.5354 GB, free: 8.875 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00019/0.3209, allocations: 182 kB / 0.5356 GB, free: 8.734 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.504e-05/0.321, allocations: 25.7 kB / 0.5356 GB, free: 8.703 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001096/0.3211, allocations: 152 kB / 0.5358 GB, free: 8.559 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.012e-06/0.3211, allocations: 5.312 kB / 0.5358 GB, free: 8.555 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.685e-05/0.3211, allocations: 44.19 kB / 0.5358 GB, free: 8.52 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.3213, allocations: 326.2 kB / 0.5361 GB, free: 8.195 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.418e-05/0.3214, allocations: 25.98 kB / 0.5361 GB, free: 8.188 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001438/0.3215, allocations: 158 kB / 0.5363 GB, free: 8 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002166/0.3217, allocations: 206.3 kB / 0.5365 GB, free: 7.781 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.3217, allocations: 1.375 kB / 0.5365 GB, free: 7.781 MB / 398.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002931/0.322, allocations: 207 kB / 0.5367 GB, free: 7.66 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.3221, allocations: 6.875 kB / 0.5367 GB, free: 7.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.3221, allocations: 8.156 kB / 0.5367 GB, free: 7.656 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.3221, allocations: 5.5 kB / 0.5367 GB, free: 7.656 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/0.3222, allocations: 40.8 kB / 0.5367 GB, free: 7.645 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.3222, allocations: 10.81 kB / 0.5368 GB, free: 7.641 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.913e-05/0.3223, allocations: 20.08 kB / 0.5368 GB, free: 7.629 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.518e-05/0.3223, allocations: 13.62 kB / 0.5368 GB, free: 7.625 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001407/0.3225, allocations: 213.4 kB / 0.537 GB, free: 7.418 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.348e-05/0.3225, allocations: 116.9 kB / 0.5371 GB, free: 7.301 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.312e-05/0.3226, allocations: 126.1 kB / 0.5372 GB, free: 7.176 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.312e-05/0.3227, allocations: 177.6 kB / 0.5374 GB, free: 6.996 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.315e-05/0.3228, allocations: 185.7 kB / 0.5376 GB, free: 6.809 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.99e-05/0.3229, allocations: 180.2 kB / 0.5377 GB, free: 6.625 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002947/0.3232, allocations: 429.5 kB / 0.5381 GB, free: 6.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.172e-05/0.3232, allocations: 106.4 kB / 0.5382 GB, free: 6.051 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.146e-05/0.3233, allocations: 104.9 kB / 0.5383 GB, free: 5.941 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.551e-05/0.3234, allocations: 181.6 kB / 0.5385 GB, free: 5.758 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.231e-05/0.3235, allocations: 181.6 kB / 0.5387 GB, free: 5.574 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.551e-05/0.3235, allocations: 180.2 kB / 0.5389 GB, free: 5.391 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.048e-05/0.3236, allocations: 177.6 kB / 0.539 GB, free: 5.211 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001697/0.3238, allocations: 326.5 kB / 0.5393 GB, free: 4.875 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001009/0.3239, allocations: 184.8 kB / 0.5395 GB, free: 4.672 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.634e-05/0.324, allocations: 185.6 kB / 0.5397 GB, free: 4.484 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.459e-05/0.3241, allocations: 101 kB / 0.5398 GB, free: 4.379 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.617e-05/0.3242, allocations: 185.6 kB / 0.54 GB, free: 4.191 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.415e-05/0.3243, allocations: 106.3 kB / 0.5401 GB, free: 4.082 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001105/0.3244, allocations: 129 kB / 0.5402 GB, free: 3.984 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3244, allocations: 1.375 kB / 0.5402 GB, free: 3.984 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002816/0.3247, allocations: 11 kB / 0.5402 GB, free: 3.984 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 (0): * Single equations (assignments): 0 * 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.0009706/0.3256, allocations: 0.9132 MB / 0.5411 GB, free: 3.125 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000151/0.3258, allocations: 74.44 kB / 0.5412 GB, free: 3.094 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.3258, allocations: 0 / 0.5412 GB, free: 3.094 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 1.172e-06/0.3258, allocations: 1.594 kB / 0.5412 GB, free: 3.094 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003863/0.3262, allocations: 462.1 kB / 0.5416 GB, free: 2.641 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001775/0.328, allocations: 1.895 MB / 0.5435 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003381/0.3283, allocations: 0.6955 MB / 0.5441 GB, free: 76 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001716/0.3285, allocations: 49.8 kB / 0.5442 GB, free: 52 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.047e-05/0.3286, allocations: 26.48 kB / 0.5442 GB, free: 32 kB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3286, allocations: 0 / 0.5442 GB, free: 32 kB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02535/0.3539, allocations: 2.107 MB / 0.5463 GB, free: 14.85 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.571/7.925, allocations: 6.5 kB / 0.5463 GB, free: 14.85 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test16_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test16.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches