Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25.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.Test25,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test25",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test25,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test25",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001229/0.001229, allocations: 117.6 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.001498/0.001498, allocations: 199.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.425/1.425, allocations: 227.4 MB / 246.9 MB, free: 10.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2332/0.2332, allocations: 46.1 MB / 344.3 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 76.16 kB / 480.8 MB, free: 4.562 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3654/0.3674, allocations: 62.44 MB / 0.5306 GB, free: 13.44 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test25): time 0.004429/0.3719, allocations: 1.681 MB / 0.5322 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00124/0.3731, allocations: 0.5486 MB / 0.5327 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.771e-05/0.3732, allocations: 1.625 kB / 0.5327 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002426/0.3735, allocations: 46 kB / 0.5328 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002857/0.3738, allocations: 98.84 kB / 0.5329 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003427/0.3741, allocations: 137.9 kB / 0.533 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001551/0.3743, allocations: 86.44 kB / 0.5331 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.3744, allocations: 23 kB / 0.5331 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.219e-05/0.3745, allocations: 32.19 kB / 0.5331 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001049/0.3746, allocations: 46.86 kB / 0.5332 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.499e-05/0.3746, allocations: 4.344 kB / 0.5332 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001106/0.3747, allocations: 47.61 kB / 0.5332 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.489e-05/0.3748, allocations: 24.17 kB / 0.5333 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.75e-05/0.3749, allocations: 38.59 kB / 0.5333 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002475/0.3752, allocations: 112.3 kB / 0.5334 GB, free: 11.27 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.3752, allocations: 1.375 kB / 0.5334 GB, free: 11.27 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.915e-06/0.3752, allocations: 0 / 0.5334 GB, free: 11.27 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.965e-06/0.3752, allocations: 4 kB / 0.5334 GB, free: 11.27 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.0007596/0.376, allocations: 422.3 kB / 0.5338 GB, free: 10.84 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.6e-05/0.376, allocations: 9.625 kB / 0.5338 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.215e-05/0.3761, allocations: 40.11 kB / 0.5339 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.822e-05/0.3761, allocations: 10.39 kB / 0.5339 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002533/0.3764, allocations: 199.1 kB / 0.5341 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.828e-05/0.3764, allocations: 5.75 kB / 0.5341 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.802e-05/0.3765, allocations: 7.078 kB / 0.5341 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002133/0.3767, allocations: 71.42 kB / 0.5341 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.213e-05/0.3767, allocations: 5.359 kB / 0.5341 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/0.3767, allocations: 0 / 0.5341 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.3767, allocations: 1.375 kB / 0.5341 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001515/0.3769, allocations: 41.95 kB / 0.5342 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004377/0.3773, allocations: 307 kB / 0.5345 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002694/0.3776, allocations: 59.3 kB / 0.5345 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.436e-05/0.3777, allocations: 23.97 kB / 0.5346 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.686e-05/0.3778, allocations: 1.375 kB / 0.5346 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.214e-05/0.3778, allocations: 39.97 kB / 0.5346 GB, free: 10.05 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.3778, allocations: 0 / 0.5346 GB, free: 10.05 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001581/0.3794, allocations: 401.3 kB / 0.535 GB, free: 9.844 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.69e-05/0.3795, allocations: 56.5 kB / 0.535 GB, free: 9.777 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002348/0.3797, allocations: 182.1 kB / 0.5352 GB, free: 9.637 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.608e-05/0.3797, allocations: 26.86 kB / 0.5352 GB, free: 9.605 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.907e-05/0.3798, allocations: 108.6 kB / 0.5353 GB, free: 9.5 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.465e-05/0.3799, allocations: 40.22 kB / 0.5354 GB, free: 9.465 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.159e-05/0.38, allocations: 29.7 kB / 0.5354 GB, free: 9.438 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.3801, allocations: 326.2 kB / 0.5357 GB, free: 9.113 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001456/0.3803, allocations: 39.38 kB / 0.5357 GB, free: 9.098 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001243/0.3804, allocations: 40.06 kB / 0.5358 GB, free: 9.082 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00027/0.3807, allocations: 104.1 kB / 0.5359 GB, free: 9.027 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.3807, allocations: 0 / 0.5359 GB, free: 9.027 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003293/0.381, allocations: 146.4 kB / 0.536 GB, free: 8.941 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.381, allocations: 5.781 kB / 0.536 GB, free: 8.941 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.3811, allocations: 0 / 0.536 GB, free: 8.941 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/0.3811, allocations: 5.375 kB / 0.536 GB, free: 8.938 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001231/0.3812, allocations: 31.95 kB / 0.5361 GB, free: 8.926 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.3812, allocations: 0 / 0.5361 GB, free: 8.926 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.962e-05/0.3813, allocations: 10.86 kB / 0.5361 GB, free: 8.922 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.055e-05/0.3813, allocations: 2.75 kB / 0.5361 GB, free: 8.922 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 0.000116/0.3814, allocations: 130 kB / 0.5362 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.983e-05/0.3815, allocations: 13.41 kB / 0.5362 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003899/0.3819, allocations: 161.5 kB / 0.5364 GB, free: 8.688 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.944e-06/0.3819, allocations: 5.469 kB / 0.5364 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.3819, allocations: 3.938 kB / 0.5364 GB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.3819, allocations: 1.531 kB / 0.5364 GB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000726/0.3826, allocations: 479 kB / 0.5368 GB, free: 8.242 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.3827, allocations: 1.156 kB / 0.5368 GB, free: 8.242 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001122/0.3828, allocations: 27.77 kB / 0.5369 GB, free: 8.234 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.3828, allocations: 5.109 kB / 0.5369 GB, free: 8.23 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.3828, allocations: 6.188 kB / 0.5369 GB, free: 8.227 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.3828, allocations: 2.219 kB / 0.5369 GB, free: 8.227 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.3828, allocations: 0 / 0.5369 GB, free: 8.227 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000416/0.3832, allocations: 252.9 kB / 0.5371 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.662e-05/0.3833, allocations: 88.91 kB / 0.5372 GB, free: 7.922 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.525e-05/0.3834, allocations: 1.625 kB / 0.5372 GB, free: 7.922 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.3835, allocations: 13.98 kB / 0.5372 GB, free: 7.914 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.805e-05/0.3835, allocations: 16.73 kB / 0.5372 GB, free: 7.902 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.056e-05/0.3836, allocations: 11.12 kB / 0.5372 GB, free: 7.895 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001412/0.3837, allocations: 140.2 kB / 0.5374 GB, free: 7.793 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3837, allocations: 1.094 kB / 0.5374 GB, free: 7.793 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003059/0.384, allocations: 25.91 kB / 0.5374 GB, free: 7.785 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.001925/0.386, allocations: 1.134 MB / 0.5385 GB, free: 6.902 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004183/0.3864, allocations: 106.7 kB / 0.5386 GB, free: 6.859 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.3864, allocations: 0 / 0.5386 GB, free: 6.859 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001752/0.3866, allocations: 62.8 kB / 0.5387 GB, free: 6.832 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004728/0.3871, allocations: 16.14 kB / 0.5387 GB, free: 6.824 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002413/0.3895, allocations: 1.796 MB / 0.5404 GB, free: 5.309 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002886/0.3898, allocations: 0.7082 MB / 0.5411 GB, free: 4.598 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.073e-05/0.3899, allocations: 26.02 kB / 0.5412 GB, free: 4.582 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.365e-05/0.39, allocations: 39.89 kB / 0.5412 GB, free: 4.551 MB / 398.1 MB Notification: Performance of SimCode: time 6.21e-07/0.39, allocations: 0 / 0.5412 GB, free: 4.551 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02288/0.4129, allocations: 3.299 MB / 0.5444 GB, free: 2.754 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.698/8.111, allocations: 15.3 kB / 0.5444 GB, free: 2.742 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25_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_Test25.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test25/Test25.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches