Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.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.Test15,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test15,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test15",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001499/0.0015, allocations: 118.8 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001994/0.001994, 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.376/1.376, allocations: 227.4 MB / 246.9 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.2567/0.2567, allocations: 46.1 MB / 344.3 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001416, allocations: 75.88 kB / 480.8 MB, free: 4.535 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3106/0.312, allocations: 62.44 MB / 0.5305 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test15): time 0.003216/0.3153, allocations: 1.652 MB / 0.5321 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008655/0.3162, allocations: 0.6836 MB / 0.5328 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.771e-05/0.3162, allocations: 0.8438 kB / 0.5328 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000246/0.3165, allocations: 35.73 kB / 0.5328 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000197/0.3167, allocations: 32.69 kB / 0.5329 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.579e-06/0.3167, allocations: 0 / 0.5329 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000164/0.3169, allocations: 35.86 kB / 0.5329 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.162e-05/0.3169, allocations: 2.844 kB / 0.5329 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.706e-05/0.317, allocations: 12.66 kB / 0.5329 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.503e-05/0.3171, allocations: 23.84 kB / 0.5329 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.048e-05/0.3171, allocations: 3.938 kB / 0.533 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.004e-05/0.3171, allocations: 8 kB / 0.533 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.929e-05/0.3172, allocations: 20.52 kB / 0.533 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.983e-05/0.3172, allocations: 19.69 kB / 0.533 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001473/0.3174, allocations: 71.73 kB / 0.5331 GB, free: 11.41 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.3174, allocations: 0 / 0.5331 GB, free: 11.41 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3174, allocations: 5 kB / 0.5331 GB, free: 11.4 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.3174, allocations: 0 / 0.5331 GB, free: 11.4 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.0003843/0.3178, allocations: 368.9 kB / 0.5334 GB, free: 11.01 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.3178, allocations: 8.844 kB / 0.5334 GB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.937e-05/0.3179, allocations: 38.2 kB / 0.5335 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.244e-05/0.3179, allocations: 7.297 kB / 0.5335 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001464/0.3181, allocations: 179.7 kB / 0.5336 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.3181, allocations: 5.453 kB / 0.5337 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.308e-05/0.3181, allocations: 2.656 kB / 0.5337 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001844/0.3183, allocations: 123.3 kB / 0.5338 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.3183, allocations: 13.05 kB / 0.5338 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.3183, allocations: 0.9375 kB / 0.5338 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-05/0.3184, allocations: 27.06 kB / 0.5338 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.981e-05/0.3185, allocations: 39.2 kB / 0.5338 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005802/0.3191, allocations: 0.8862 MB / 0.5347 GB, free: 9.688 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.262e-05/0.3191, allocations: 167.1 kB / 0.5349 GB, free: 9.516 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.509e-05/0.3192, allocations: 88.17 kB / 0.535 GB, free: 9.426 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.81e-05/0.3192, allocations: 83.2 kB / 0.535 GB, free: 9.344 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.67e-05/0.3193, allocations: 111.8 kB / 0.5351 GB, free: 9.227 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 1.122e-06/0.3193, allocations: 0 / 0.5351 GB, free: 9.227 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 7.585e-05/0.3193, allocations: 37.42 kB / 0.5352 GB, free: 9.188 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.098e-05/0.3194, allocations: 126.7 kB / 0.5353 GB, free: 9.051 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001871/0.3196, allocations: 183 kB / 0.5355 GB, free: 8.91 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.937e-06/0.3196, allocations: 29.7 kB / 0.5355 GB, free: 8.875 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.789e-05/0.3197, allocations: 151 kB / 0.5356 GB, free: 8.73 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.243e-06/0.3197, allocations: 6.5 kB / 0.5357 GB, free: 8.727 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.792e-05/0.3198, allocations: 43.44 kB / 0.5357 GB, free: 8.691 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.929e-05/0.3199, allocations: 317.8 kB / 0.536 GB, free: 8.375 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.087e-05/0.3199, allocations: 34.88 kB / 0.536 GB, free: 8.359 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001116/0.3201, allocations: 153.9 kB / 0.5362 GB, free: 8.176 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001867/0.3203, allocations: 206.3 kB / 0.5364 GB, free: 7.957 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.3203, allocations: 1.375 kB / 0.5364 GB, free: 7.957 MB / 398.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002902/0.3206, allocations: 201.2 kB / 0.5366 GB, free: 7.84 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.3206, allocations: 8.25 kB / 0.5366 GB, free: 7.84 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/0.3206, allocations: 8.062 kB / 0.5366 GB, free: 7.836 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.3206, allocations: 9.438 kB / 0.5366 GB, free: 7.832 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001201/0.3207, allocations: 44.78 kB / 0.5366 GB, free: 7.816 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.3208, allocations: 10.81 kB / 0.5366 GB, free: 7.812 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.055e-05/0.3209, allocations: 20.52 kB / 0.5367 GB, free: 7.801 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.355e-05/0.3209, allocations: 17.62 kB / 0.5367 GB, free: 7.793 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.0001127/0.321, allocations: 213.4 kB / 0.5369 GB, free: 7.586 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.886e-05/0.3211, allocations: 113 kB / 0.537 GB, free: 7.473 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.86e-05/0.3211, allocations: 118.1 kB / 0.5371 GB, free: 7.355 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-05/0.3212, allocations: 185.6 kB / 0.5373 GB, free: 7.168 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.008e-05/0.3213, allocations: 180.4 kB / 0.5375 GB, free: 6.984 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-05/0.3213, allocations: 185.6 kB / 0.5376 GB, free: 6.797 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002233/0.3216, allocations: 429.5 kB / 0.538 GB, free: 6.332 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.363e-05/0.3216, allocations: 101 kB / 0.5381 GB, free: 6.227 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.961e-05/0.3216, allocations: 106.3 kB / 0.5382 GB, free: 6.117 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.596e-05/0.3217, allocations: 181.6 kB / 0.5384 GB, free: 5.934 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.613e-05/0.3218, allocations: 185.6 kB / 0.5386 GB, free: 5.746 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.423e-05/0.3218, allocations: 180.2 kB / 0.5388 GB, free: 5.562 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.645e-05/0.3219, allocations: 181.6 kB / 0.5389 GB, free: 5.379 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001366/0.322, allocations: 314.5 kB / 0.5392 GB, free: 5.055 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.958e-05/0.3221, allocations: 196.7 kB / 0.5394 GB, free: 4.84 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.708e-05/0.3222, allocations: 181.6 kB / 0.5396 GB, free: 4.656 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.353e-05/0.3223, allocations: 101 kB / 0.5397 GB, free: 4.551 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.907e-05/0.3223, allocations: 181.6 kB / 0.5399 GB, free: 4.367 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.9e-05/0.3224, allocations: 102.4 kB / 0.54 GB, free: 4.262 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001028/0.3225, allocations: 133 kB / 0.5401 GB, free: 4.16 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3225, allocations: 0 / 0.5401 GB, free: 4.16 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002908/0.3228, allocations: 20.38 kB / 0.5401 GB, free: 4.152 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.0007196/0.3235, allocations: 0.9093 MB / 0.541 GB, free: 3.297 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00017/0.3237, allocations: 78.03 kB / 0.5411 GB, free: 3.262 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3237, allocations: 3.938 kB / 0.5411 GB, free: 3.258 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 2.235e-06/0.3237, allocations: 1.438 kB / 0.5411 GB, free: 3.258 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003509/0.3241, allocations: 463 kB / 0.5415 GB, free: 2.805 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001826/0.3259, allocations: 1.882 MB / 0.5434 GB, free: 0.957 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003192/0.3262, allocations: 0.6995 MB / 0.544 GB, free: 252 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002343/0.3265, allocations: 54.28 kB / 0.5441 GB, free: 224 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.634e-05/0.3266, allocations: 26.2 kB / 0.5441 GB, free: 204 kB / 398.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3266, allocations: 3.938 kB / 0.5441 GB, free: 200 kB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01974/0.3463, allocations: 2.102 MB / 0.5462 GB, free: 15.02 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.884/8.23, allocations: 7.469 kB / 0.5462 GB, free: 15.02 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test15.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches