Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test19.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.Test19,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test19,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test19",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001679/0.001679, allocations: 115.5 kB / 17.78 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002004/0.002004, allocations: 204.6 kB / 18.74 MB, free: 4.332 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.2283/0.2283, allocations: 46.1 MB / 344.3 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001525/0.001525, allocations: 75.88 kB / 480.8 MB, free: 4.547 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3831/0.3846, allocations: 62.43 MB / 0.5305 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test19): time 0.00381/0.3885, allocations: 1.941 MB / 0.5324 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001889/0.3904, allocations: 0.9762 MB / 0.5334 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001066/0.3905, allocations: 6.75 kB / 0.5334 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005849/0.3911, allocations: 255.5 kB / 0.5336 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005713/0.3917, allocations: 262 kB / 0.5339 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0011/0.3928, allocations: 474.9 kB / 0.5343 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004981/0.3934, allocations: 297 kB / 0.5346 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002092/0.3936, allocations: 49.28 kB / 0.5347 GB, free: 10.33 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001789/0.3938, allocations: 133.2 kB / 0.5348 GB, free: 10.26 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002654/0.394, allocations: 199.5 kB / 0.535 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.805e-05/0.3941, allocations: 8.25 kB / 0.535 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001259/0.3942, allocations: 54.42 kB / 0.535 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001483/0.3943, allocations: 83.12 kB / 0.5351 GB, free: 10.09 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000113/0.3945, allocations: 122.6 kB / 0.5352 GB, free: 9.988 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004004/0.3949, allocations: 306.3 kB / 0.5355 GB, free: 9.785 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.3949, allocations: 1.375 kB / 0.5355 GB, free: 9.785 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.3949, allocations: 0 / 0.5355 GB, free: 9.785 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.01e-05/0.3949, allocations: 0 / 0.5355 GB, free: 9.785 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0009439/0.3959, allocations: 0.6707 MB / 0.5362 GB, free: 9.156 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.181e-05/0.3959, allocations: 13.91 kB / 0.5362 GB, free: 9.152 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.234e-05/0.396, allocations: 35.94 kB / 0.5362 GB, free: 9.109 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.796e-05/0.3961, allocations: 43.31 kB / 0.5363 GB, free: 9.086 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004237/0.3965, allocations: 321.8 kB / 0.5366 GB, free: 8.777 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.3965, allocations: 6.625 kB / 0.5366 GB, free: 8.773 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.517e-05/0.3965, allocations: 4.969 kB / 0.5366 GB, free: 8.773 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002227/0.3968, allocations: 86.75 kB / 0.5367 GB, free: 8.707 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.3968, allocations: 4 kB / 0.5367 GB, free: 8.703 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.678e-05/0.3968, allocations: 5.188 kB / 0.5367 GB, free: 8.699 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.3968, allocations: 5.062 kB / 0.5367 GB, free: 8.695 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001557/0.397, allocations: 48.62 kB / 0.5367 GB, free: 8.676 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007634/0.3978, allocations: 458.5 kB / 0.5372 GB, free: 8.258 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001469/0.3979, allocations: 62.7 kB / 0.5372 GB, free: 8.211 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.213e-05/0.398, allocations: 28.34 kB / 0.5372 GB, free: 8.191 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.078e-05/0.398, allocations: 10.55 kB / 0.5373 GB, free: 8.184 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.14e-05/0.3981, allocations: 31.38 kB / 0.5373 GB, free: 8.145 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.3981, allocations: 0 / 0.5373 GB, free: 8.145 MB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004049/0.3985, allocations: 132.2 kB / 0.5374 GB, free: 8.062 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.718e-05/0.3986, allocations: 60.81 kB / 0.5375 GB, free: 7.992 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008595/0.3994, allocations: 0.5853 MB / 0.538 GB, free: 7.691 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.345e-05/0.3995, allocations: 30.86 kB / 0.5381 GB, free: 7.656 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001774/0.3997, allocations: 210 kB / 0.5383 GB, free: 7.469 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.692e-05/0.3997, allocations: 14.2 kB / 0.5383 GB, free: 7.457 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.349e-05/0.3997, allocations: 23.42 kB / 0.5383 GB, free: 7.434 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001604/0.3999, allocations: 351.2 kB / 0.5386 GB, free: 7.094 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.595e-05/0.4, allocations: 22.2 kB / 0.5387 GB, free: 7.082 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.203e-05/0.4, allocations: 14.19 kB / 0.5387 GB, free: 7.078 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001223/0.4002, allocations: 52.14 kB / 0.5387 GB, free: 7.047 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.4002, allocations: 1.25 kB / 0.5387 GB, free: 7.047 MB / 398.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002225/0.4004, allocations: 118.2 kB / 0.5388 GB, free: 6.969 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.4004, allocations: 4.5 kB / 0.5388 GB, free: 6.969 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.4005, allocations: 0.9375 kB / 0.5388 GB, free: 6.969 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.4005, allocations: 9.062 kB / 0.5389 GB, free: 6.961 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.635e-05/0.4006, allocations: 9.625 kB / 0.5389 GB, free: 6.961 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.4006, allocations: 0 / 0.5389 GB, free: 6.961 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.373e-05/0.4007, allocations: 16.44 kB / 0.5389 GB, free: 6.949 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.676e-06/0.4007, allocations: 6.156 kB / 0.5389 GB, free: 6.945 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 (6): * Single equations (assignments): 6 * 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.0001806/0.4009, allocations: 165.1 kB / 0.539 GB, free: 6.809 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.75e-05/0.401, allocations: 41.81 kB / 0.5391 GB, free: 6.785 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000302/0.4013, allocations: 133.1 kB / 0.5392 GB, free: 6.695 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.4013, allocations: 8.688 kB / 0.5392 GB, free: 6.688 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.4013, allocations: 0 / 0.5392 GB, free: 6.688 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.4013, allocations: 1 kB / 0.5392 GB, free: 6.688 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003565/0.4017, allocations: 289 kB / 0.5395 GB, free: 6.418 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.4017, allocations: 4 kB / 0.5395 GB, free: 6.414 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.179e-05/0.4017, allocations: 14.17 kB / 0.5395 GB, free: 6.41 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/0.4018, allocations: 1.188 kB / 0.5395 GB, free: 6.41 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.4018, allocations: 9.156 kB / 0.5395 GB, free: 6.402 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.4018, allocations: 3.938 kB / 0.5395 GB, free: 6.398 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.4018, allocations: 0 / 0.5395 GB, free: 6.398 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002837/0.4021, allocations: 215.7 kB / 0.5397 GB, free: 6.219 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001118/0.4022, allocations: 121.8 kB / 0.5398 GB, free: 6.09 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.837e-05/0.4022, allocations: 1.281 kB / 0.5398 GB, free: 6.09 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.4024, allocations: 7.125 kB / 0.5399 GB, free: 6.086 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.928e-05/0.4024, allocations: 5.484 kB / 0.5399 GB, free: 6.082 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.325e-06/0.4024, allocations: 5.812 kB / 0.5399 GB, free: 6.078 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005579/0.403, allocations: 437.2 kB / 0.5403 GB, free: 5.855 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.403, allocations: 0 / 0.5403 GB, free: 5.855 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002906/0.4033, allocations: 42 kB / 0.5403 GB, free: 5.84 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 (6): * Single equations (assignments): 6 * 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.001982/0.4052, allocations: 1.233 MB / 0.5415 GB, free: 4.934 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002065/0.4055, allocations: 52.44 kB / 0.5416 GB, free: 4.91 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.4055, allocations: 1.531 kB / 0.5416 GB, free: 4.91 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.014e-05/0.4056, allocations: 31.14 kB / 0.5416 GB, free: 4.895 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005752/0.4061, allocations: 81.19 kB / 0.5417 GB, free: 4.852 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003939/0.4101, allocations: 2.85 MB / 0.5445 GB, free: 2.883 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004663/0.4106, allocations: 0.8041 MB / 0.5453 GB, free: 2.125 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001522/0.4107, allocations: 39.16 kB / 0.5453 GB, free: 2.109 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001533/0.4109, allocations: 109.9 kB / 0.5454 GB, free: 2.016 MB / 398.1 MB Notification: Performance of SimCode: time 6.51e-07/0.4109, allocations: 0 / 0.5454 GB, free: 2.016 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02696/0.4379, allocations: 6.785 MB / 0.552 GB, free: 11.61 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.224/8.662, allocations: 9.266 kB / 0.552 GB, free: 11.61 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test19.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test19_res.csv --start-time 0 --stop-time 6 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0024 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test19.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test19_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches