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.001507/0.001507, allocations: 117.6 kB / 17.78 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.001815/0.001815, allocations: 204.7 kB / 18.74 MB, free: 4.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.443/1.443, 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.2299/0.2299, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00141/0.00141, allocations: 75.88 kB / 480.8 MB, free: 4.562 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3904/0.3918, allocations: 62.44 MB / 0.5305 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test16): time 0.003075/0.3949, allocations: 1.638 MB / 0.5321 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009161/0.3959, allocations: 0.6919 MB / 0.5328 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.727e-05/0.3959, allocations: 0 / 0.5328 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002485/0.3962, allocations: 32.91 kB / 0.5328 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001999/0.3964, allocations: 36.55 kB / 0.5329 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.869e-06/0.3964, allocations: 0 / 0.5329 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001595/0.3966, allocations: 36.11 kB / 0.5329 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.97e-05/0.3967, allocations: 1.781 kB / 0.5329 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.26e-05/0.3967, allocations: 9.281 kB / 0.5329 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.326e-05/0.3968, allocations: 23.11 kB / 0.5329 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.231e-05/0.3968, allocations: 5.719 kB / 0.5329 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.188e-05/0.3968, allocations: 11.17 kB / 0.5329 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.516e-05/0.3969, allocations: 15.59 kB / 0.533 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.987e-05/0.3969, allocations: 20.19 kB / 0.533 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001463/0.3971, allocations: 71.23 kB / 0.5331 GB, free: 11.43 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.3971, allocations: 2.125 kB / 0.5331 GB, free: 11.43 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.506e-06/0.3971, allocations: 3.984 kB / 0.5331 GB, free: 11.43 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.3971, allocations: 0 / 0.5331 GB, free: 11.43 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.0004088/0.3975, allocations: 377.4 kB / 0.5334 GB, free: 11.03 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.3976, allocations: 9.031 kB / 0.5334 GB, free: 11.03 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.751e-05/0.3976, allocations: 32.59 kB / 0.5335 GB, free: 10.99 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.99e-05/0.3977, allocations: 8.547 kB / 0.5335 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001485/0.3978, allocations: 183.5 kB / 0.5336 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.019e-05/0.3978, allocations: 384 / 0.5336 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.358e-05/0.3979, allocations: 3.594 kB / 0.5336 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002107/0.3981, allocations: 125.1 kB / 0.5338 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.601e-05/0.3981, allocations: 13.23 kB / 0.5338 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.3981, allocations: 0 / 0.5338 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.795e-05/0.3982, allocations: 19.11 kB / 0.5338 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.594e-05/0.3983, allocations: 48.66 kB / 0.5338 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008118/0.3991, allocations: 0.8855 MB / 0.5347 GB, free: 9.711 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.546e-05/0.3992, allocations: 166.5 kB / 0.5349 GB, free: 9.539 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.512e-05/0.3993, allocations: 88.08 kB / 0.5349 GB, free: 9.449 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.315e-05/0.3993, allocations: 79.31 kB / 0.535 GB, free: 9.371 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.843e-05/0.3994, allocations: 107.2 kB / 0.5351 GB, free: 9.258 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.3994, allocations: 0 / 0.5351 GB, free: 9.258 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001001/0.3995, allocations: 41.73 kB / 0.5352 GB, free: 9.215 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.997e-05/0.3996, allocations: 128.1 kB / 0.5353 GB, free: 9.078 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002151/0.3998, allocations: 180.9 kB / 0.5355 GB, free: 8.938 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.223e-05/0.3998, allocations: 31.08 kB / 0.5355 GB, free: 8.902 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/0.3999, allocations: 155.8 kB / 0.5356 GB, free: 8.754 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.181e-06/0.3999, allocations: 5.375 kB / 0.5356 GB, free: 8.75 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.749e-05/0.4, allocations: 44.78 kB / 0.5357 GB, free: 8.715 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.4001, allocations: 321.6 kB / 0.536 GB, free: 8.395 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.807e-05/0.4002, allocations: 25.86 kB / 0.536 GB, free: 8.387 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001257/0.4003, allocations: 158 kB / 0.5362 GB, free: 8.199 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002189/0.4005, allocations: 210.2 kB / 0.5364 GB, free: 7.977 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/0.4005, allocations: 2.688 kB / 0.5364 GB, free: 7.977 MB / 398.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003301/0.4009, allocations: 205 kB / 0.5366 GB, free: 7.855 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.4009, allocations: 6.125 kB / 0.5366 GB, free: 7.855 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/0.4009, allocations: 5.594 kB / 0.5366 GB, free: 7.855 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.148e-05/0.401, allocations: 8.844 kB / 0.5366 GB, free: 7.852 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001304/0.4011, allocations: 41.17 kB / 0.5366 GB, free: 7.84 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.354e-05/0.4011, allocations: 13.91 kB / 0.5366 GB, free: 7.832 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.361e-05/0.4012, allocations: 20.67 kB / 0.5367 GB, free: 7.82 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.688e-05/0.4012, allocations: 18.03 kB / 0.5367 GB, free: 7.812 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.000137/0.4014, allocations: 213.1 kB / 0.5369 GB, free: 7.605 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.152e-05/0.4015, allocations: 113.3 kB / 0.537 GB, free: 7.492 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001524/0.4016, allocations: 122.3 kB / 0.5371 GB, free: 7.371 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.903e-05/0.4017, allocations: 181.1 kB / 0.5373 GB, free: 7.188 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.938e-05/0.4018, allocations: 181.5 kB / 0.5375 GB, free: 7.004 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.069e-05/0.4019, allocations: 189.3 kB / 0.5376 GB, free: 6.812 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002978/0.4022, allocations: 420.7 kB / 0.538 GB, free: 6.355 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.134e-05/0.4022, allocations: 102.1 kB / 0.5381 GB, free: 6.25 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.912e-05/0.4023, allocations: 108.9 kB / 0.5382 GB, free: 6.137 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.455e-05/0.4024, allocations: 177.4 kB / 0.5384 GB, free: 5.957 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.473e-05/0.4024, allocations: 189.3 kB / 0.5386 GB, free: 5.766 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.579e-05/0.4025, allocations: 177.3 kB / 0.5388 GB, free: 5.586 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.963e-05/0.4026, allocations: 177.4 kB / 0.5389 GB, free: 5.406 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001601/0.4028, allocations: 322 kB / 0.5392 GB, free: 5.074 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.088e-05/0.4029, allocations: 193.3 kB / 0.5394 GB, free: 4.863 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.744e-05/0.4029, allocations: 181.4 kB / 0.5396 GB, free: 4.68 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.459e-05/0.403, allocations: 106.1 kB / 0.5397 GB, free: 4.57 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.456e-05/0.4031, allocations: 181.3 kB / 0.5399 GB, free: 4.387 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.36e-05/0.4032, allocations: 102.2 kB / 0.54 GB, free: 4.281 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001177/0.4033, allocations: 128.5 kB / 0.5401 GB, free: 4.184 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4033, allocations: 1.125 kB / 0.5401 GB, free: 4.184 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002987/0.4036, allocations: 15.84 kB / 0.5401 GB, free: 4.18 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.0008712/0.4045, allocations: 0.9153 MB / 0.541 GB, free: 3.316 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001976/0.4047, allocations: 74.45 kB / 0.5411 GB, free: 3.285 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.4047, allocations: 0 / 0.5411 GB, free: 3.285 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.507e-06/0.4047, allocations: 5.391 kB / 0.5411 GB, free: 3.281 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004101/0.4051, allocations: 460.9 kB / 0.5415 GB, free: 2.832 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001972/0.4071, allocations: 1.894 MB / 0.5434 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003478/0.4075, allocations: 0.6998 MB / 0.544 GB, free: 268 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002383/0.4077, allocations: 46.78 kB / 0.5441 GB, free: 248 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.216e-05/0.4078, allocations: 26.14 kB / 0.5441 GB, free: 228 kB / 398.1 MB Notification: Performance of SimCode: time 5.28e-06/0.4078, allocations: 0 / 0.5441 GB, free: 228 kB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02387/0.4317, allocations: 2.109 MB / 0.5462 GB, free: 15.04 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.676/8.108, allocations: 6 kB / 0.5462 GB, free: 15.04 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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16_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_Test16.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16_res.csv","/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