Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.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.Test17,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test17",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test17,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test17",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001875/0.001875, 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.002034/0.002035, 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.435/1.435, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2106/0.2106, allocations: 46.1 MB / 344.3 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001559/0.001559, allocations: 71.88 kB / 480.8 MB, free: 4.543 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2958/0.2974, allocations: 62.44 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test17): time 0.002919/0.3003, allocations: 1.649 MB / 0.5321 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008149/0.3012, allocations: 0.6815 MB / 0.5328 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.41e-05/0.3012, allocations: 4 kB / 0.5328 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002372/0.3015, allocations: 35.86 kB / 0.5328 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001874/0.3017, allocations: 37.59 kB / 0.5329 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.809e-06/0.3017, allocations: 3.938 kB / 0.5329 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001487/0.3018, allocations: 35.02 kB / 0.5329 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.852e-05/0.3019, allocations: 2.75 kB / 0.5329 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.272e-05/0.3019, allocations: 12.05 kB / 0.5329 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.114e-05/0.302, allocations: 20.11 kB / 0.5329 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.044e-05/0.302, allocations: 1.375 kB / 0.5329 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.762e-05/0.3021, allocations: 14.88 kB / 0.533 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.481e-05/0.3021, allocations: 16.17 kB / 0.533 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.997e-05/0.3021, allocations: 23.92 kB / 0.533 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001366/0.3023, allocations: 63.88 kB / 0.5331 GB, free: 11.41 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.3023, allocations: 1.312 kB / 0.5331 GB, free: 11.41 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3023, allocations: 3.938 kB / 0.5331 GB, free: 11.41 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.3023, allocations: 0 / 0.5331 GB, free: 11.41 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.0003833/0.3027, allocations: 368.8 kB / 0.5334 GB, free: 11.02 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.3027, allocations: 9.844 kB / 0.5334 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.763e-05/0.3028, allocations: 49.27 kB / 0.5335 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.442e-05/0.3028, allocations: 10.88 kB / 0.5335 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000151/0.303, allocations: 172.3 kB / 0.5336 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.303, allocations: 1.594 kB / 0.5336 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.139e-05/0.303, allocations: 1.656 kB / 0.5336 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000203/0.3032, allocations: 126 kB / 0.5338 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.3033, allocations: 12.64 kB / 0.5338 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.3033, allocations: 1.062 kB / 0.5338 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-05/0.3033, allocations: 24.05 kB / 0.5338 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.226e-05/0.3034, allocations: 43.33 kB / 0.5338 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006907/0.3041, allocations: 0.8894 MB / 0.5347 GB, free: 9.688 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.939e-05/0.3042, allocations: 170.2 kB / 0.5349 GB, free: 9.512 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.481e-05/0.3043, allocations: 85.2 kB / 0.535 GB, free: 9.426 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.575e-05/0.3043, allocations: 75.28 kB / 0.535 GB, free: 9.352 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.697e-05/0.3044, allocations: 115 kB / 0.5351 GB, free: 9.23 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.3044, allocations: 0 / 0.5351 GB, free: 9.23 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 9.361e-05/0.3045, allocations: 42.08 kB / 0.5352 GB, free: 9.188 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.197e-05/0.3046, allocations: 126.7 kB / 0.5353 GB, free: 9.051 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000204/0.3048, allocations: 186.2 kB / 0.5355 GB, free: 8.906 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.287e-05/0.3048, allocations: 25.7 kB / 0.5355 GB, free: 8.875 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.874e-05/0.3049, allocations: 155.9 kB / 0.5357 GB, free: 8.727 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.328e-06/0.3049, allocations: 1.156 kB / 0.5357 GB, free: 8.727 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.56e-05/0.305, allocations: 41.45 kB / 0.5357 GB, free: 8.695 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.3051, allocations: 321.2 kB / 0.536 GB, free: 8.375 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.465e-05/0.3052, allocations: 34.41 kB / 0.536 GB, free: 8.359 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001286/0.3053, allocations: 153.9 kB / 0.5362 GB, free: 8.176 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002166/0.3055, allocations: 214.5 kB / 0.5364 GB, free: 7.949 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.3055, allocations: 1.344 kB / 0.5364 GB, free: 7.949 MB / 398.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003227/0.3059, allocations: 205.9 kB / 0.5366 GB, free: 7.828 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.3059, allocations: 6.875 kB / 0.5366 GB, free: 7.828 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.3059, allocations: 9.438 kB / 0.5366 GB, free: 7.824 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.3059, allocations: 5.5 kB / 0.5366 GB, free: 7.824 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001305/0.3061, allocations: 36.8 kB / 0.5366 GB, free: 7.816 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.131e-05/0.3061, allocations: 9.484 kB / 0.5366 GB, free: 7.812 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.988e-05/0.3062, allocations: 24.08 kB / 0.5367 GB, free: 7.797 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.215e-05/0.3062, allocations: 9.625 kB / 0.5367 GB, free: 7.797 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.0001175/0.3063, allocations: 218.9 kB / 0.5369 GB, free: 7.586 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.116e-05/0.3064, allocations: 116.9 kB / 0.537 GB, free: 7.469 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.174e-05/0.3064, allocations: 118.1 kB / 0.5371 GB, free: 7.352 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.227e-05/0.3065, allocations: 180.2 kB / 0.5373 GB, free: 7.168 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.516e-05/0.3066, allocations: 185.7 kB / 0.5375 GB, free: 6.98 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-05/0.3067, allocations: 181.6 kB / 0.5376 GB, free: 6.797 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002436/0.3069, allocations: 432.1 kB / 0.538 GB, free: 6.328 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-05/0.3069, allocations: 102.4 kB / 0.5381 GB, free: 6.223 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.455e-05/0.307, allocations: 102.4 kB / 0.5382 GB, free: 6.117 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.775e-05/0.3071, allocations: 181.6 kB / 0.5384 GB, free: 5.934 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.828e-05/0.3071, allocations: 176.3 kB / 0.5386 GB, free: 5.754 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.013e-05/0.3072, allocations: 189.6 kB / 0.5388 GB, free: 5.562 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.054e-05/0.3072, allocations: 177.6 kB / 0.5389 GB, free: 5.383 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001292/0.3074, allocations: 318.5 kB / 0.5392 GB, free: 5.055 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.363e-05/0.3075, allocations: 187.4 kB / 0.5394 GB, free: 4.848 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.768e-05/0.3075, allocations: 189.6 kB / 0.5396 GB, free: 4.656 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.726e-05/0.3076, allocations: 106.4 kB / 0.5397 GB, free: 4.547 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.375e-05/0.3077, allocations: 177.6 kB / 0.5399 GB, free: 4.367 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.093e-05/0.3077, allocations: 106.3 kB / 0.54 GB, free: 4.258 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.515e-05/0.3078, allocations: 129 kB / 0.5401 GB, free: 4.16 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3078, allocations: 0 / 0.5401 GB, free: 4.16 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002957/0.3081, allocations: 16.38 kB / 0.5401 GB, free: 4.156 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.0006771/0.3088, allocations: 0.9132 MB / 0.541 GB, free: 3.297 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001284/0.309, allocations: 78.16 kB / 0.5411 GB, free: 3.262 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.309, allocations: 8 kB / 0.5411 GB, free: 3.254 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 1.492e-06/0.309, allocations: 1.375 kB / 0.5411 GB, free: 3.254 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003334/0.3093, allocations: 458.4 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.001559/0.3109, allocations: 1.877 MB / 0.5434 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002542/0.3111, allocations: 0.7043 MB / 0.544 GB, free: 252 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001699/0.3113, allocations: 46.08 kB / 0.5441 GB, free: 232 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.518e-05/0.3114, allocations: 29.98 kB / 0.5441 GB, free: 208 kB / 398.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3114, allocations: 0 / 0.5441 GB, free: 208 kB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01958/0.331, allocations: 2.101 MB / 0.5462 GB, free: 15.03 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.868/8.199, allocations: 6.688 kB / 0.5462 GB, free: 15.03 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17_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_Test17.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test17/Test17.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches