Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.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.Test28,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test28,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test28",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001081/0.001081, allocations: 114.9 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001116/0.001116, allocations: 205.9 kB / 18.74 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.437/1.437, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2204/0.2204, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0014/0.0014, allocations: 76.2 kB / 480.8 MB, free: 4.512 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3183/0.3197, allocations: 62.44 MB / 0.5306 GB, free: 13.3 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test28): time 0.002863/0.3226, allocations: 1.676 MB / 0.5322 GB, free: 12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009374/0.3236, allocations: 0.5523 MB / 0.5327 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.38e-05/0.3236, allocations: 1.812 kB / 0.5327 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002515/0.3239, allocations: 63.11 kB / 0.5328 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002906/0.3242, allocations: 96.8 kB / 0.5329 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003444/0.3246, allocations: 130.8 kB / 0.533 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001654/0.3247, allocations: 83.78 kB / 0.5331 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.3249, allocations: 21.06 kB / 0.5331 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.199e-05/0.3249, allocations: 38.73 kB / 0.5331 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000107/0.325, allocations: 49.44 kB / 0.5332 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.522e-05/0.3251, allocations: 3.75 kB / 0.5332 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001024/0.3252, allocations: 49.61 kB / 0.5332 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.986e-05/0.3253, allocations: 27.47 kB / 0.5333 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.694e-05/0.3253, allocations: 35.3 kB / 0.5333 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002019/0.3255, allocations: 118.1 kB / 0.5334 GB, free: 11.13 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.3255, allocations: 5.812 kB / 0.5334 GB, free: 11.13 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.3256, allocations: 7.875 kB / 0.5334 GB, free: 11.12 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.3256, allocations: 0 / 0.5334 GB, free: 11.12 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005246/0.3261, allocations: 424.6 kB / 0.5338 GB, free: 10.69 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.3261, allocations: 9.812 kB / 0.5338 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.765e-05/0.3262, allocations: 36.25 kB / 0.5339 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.438e-05/0.3262, allocations: 13.53 kB / 0.5339 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001882/0.3264, allocations: 204.6 kB / 0.5341 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.688e-06/0.3264, allocations: 2.656 kB / 0.5341 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.579e-05/0.3265, allocations: 10.97 kB / 0.5341 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001695/0.3266, allocations: 71.19 kB / 0.5342 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.3267, allocations: 7.938 kB / 0.5342 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.3267, allocations: 1.375 kB / 0.5342 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.3267, allocations: 5.219 kB / 0.5342 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001334/0.3268, allocations: 38.22 kB / 0.5342 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003816/0.3272, allocations: 311.5 kB / 0.5345 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002411/0.3275, allocations: 55.3 kB / 0.5346 GB, free: 9.957 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.38e-05/0.3276, allocations: 23.97 kB / 0.5346 GB, free: 9.941 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.111e-05/0.3276, allocations: 1.375 kB / 0.5346 GB, free: 9.941 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.07e-05/0.3276, allocations: 35.92 kB / 0.5346 GB, free: 9.898 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.3276, allocations: 4 kB / 0.5346 GB, free: 9.895 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001312/0.3289, allocations: 402.2 kB / 0.535 GB, free: 9.691 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.211e-05/0.329, allocations: 52.78 kB / 0.5351 GB, free: 9.629 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001798/0.3292, allocations: 202.6 kB / 0.5353 GB, free: 9.48 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/0.3292, allocations: 27.08 kB / 0.5353 GB, free: 9.449 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.765e-05/0.3293, allocations: 109.6 kB / 0.5354 GB, free: 9.344 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.226e-05/0.3293, allocations: 35.78 kB / 0.5354 GB, free: 9.312 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.428e-05/0.3294, allocations: 24.58 kB / 0.5354 GB, free: 9.289 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001037/0.3295, allocations: 327 kB / 0.5358 GB, free: 8.965 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001222/0.3296, allocations: 43.22 kB / 0.5358 GB, free: 8.945 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001128/0.3297, allocations: 49 kB / 0.5358 GB, free: 8.922 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002256/0.3299, allocations: 99.53 kB / 0.5359 GB, free: 8.871 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.33, allocations: 0.8438 kB / 0.5359 GB, free: 8.871 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003075/0.3303, allocations: 145.9 kB / 0.5361 GB, free: 8.785 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.3303, allocations: 5.5 kB / 0.5361 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.349e-06/0.3303, allocations: 0 / 0.5361 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.3303, allocations: 9.156 kB / 0.5361 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001137/0.3304, allocations: 32.19 kB / 0.5361 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.3305, allocations: 5.062 kB / 0.5361 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.293e-05/0.3305, allocations: 9.609 kB / 0.5361 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.939e-06/0.3305, allocations: 3.594 kB / 0.5361 GB, free: 8.758 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 (11): * Single equations (assignments): 11 * 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 9.498e-05/0.3306, allocations: 126.9 kB / 0.5363 GB, free: 8.633 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.866e-05/0.3307, allocations: 13.59 kB / 0.5363 GB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00038/0.3311, allocations: 167.3 kB / 0.5364 GB, free: 8.516 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.728e-06/0.3311, allocations: 6.312 kB / 0.5364 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.3311, allocations: 0 / 0.5364 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.3311, allocations: 0 / 0.5364 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006127/0.3317, allocations: 489.2 kB / 0.5369 GB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.3317, allocations: 1.312 kB / 0.5369 GB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.903e-05/0.3318, allocations: 23.58 kB / 0.5369 GB, free: 8.062 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.3318, allocations: 1.375 kB / 0.5369 GB, free: 8.062 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.808e-06/0.3319, allocations: 2.219 kB / 0.5369 GB, free: 8.062 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.685e-06/0.3319, allocations: 5 kB / 0.5369 GB, free: 8.059 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3319, allocations: 5.031 kB / 0.5369 GB, free: 8.055 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003343/0.3322, allocations: 256.3 kB / 0.5372 GB, free: 7.848 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.505e-05/0.3323, allocations: 88.98 kB / 0.5373 GB, free: 7.746 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.06e-05/0.3323, allocations: 6 kB / 0.5373 GB, free: 7.742 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.91e-05/0.3324, allocations: 15.2 kB / 0.5373 GB, free: 7.734 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.602e-05/0.3324, allocations: 3 kB / 0.5373 GB, free: 7.734 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.281e-05/0.3325, allocations: 11.55 kB / 0.5373 GB, free: 7.727 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001245/0.3326, allocations: 157.7 kB / 0.5375 GB, free: 7.617 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3326, allocations: 0 / 0.5375 GB, free: 7.617 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002629/0.3329, allocations: 22.5 kB / 0.5375 GB, free: 7.613 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001511/0.3344, allocations: 1.147 MB / 0.5386 GB, free: 6.719 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002922/0.3347, allocations: 106.6 kB / 0.5387 GB, free: 6.676 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.3347, allocations: 0 / 0.5387 GB, free: 6.676 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001386/0.3348, allocations: 62.25 kB / 0.5388 GB, free: 6.648 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003594/0.3352, allocations: 27.56 kB / 0.5388 GB, free: 6.633 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002129/0.3374, allocations: 1.835 MB / 0.5406 GB, free: 5.102 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002602/0.3376, allocations: 0.709 MB / 0.5413 GB, free: 4.391 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.378e-05/0.3377, allocations: 18.39 kB / 0.5413 GB, free: 4.383 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.785e-05/0.3378, allocations: 36.02 kB / 0.5413 GB, free: 4.355 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3378, allocations: 0 / 0.5413 GB, free: 4.355 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01974/0.3575, allocations: 3.401 MB / 0.5446 GB, free: 2.516 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.492/7.85, allocations: 11.23 kB / 0.5447 GB, free: 2.508 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28_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_Test28.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches