Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test7",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001449/0.00145, allocations: 113.2 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001682/0.001681, allocations: 184.2 kB / 18.72 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.499/1.499, allocations: 222.9 MB / 242.4 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2341/0.2341, allocations: 44.18 MB / 336.8 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002287/0.002287, allocations: 59.91 kB / 470 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3872/0.3895, allocations: 60.83 MB / 0.5184 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test7): time 0.002607/0.3922, allocations: 1.581 MB / 0.52 GB, free: 2.203 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000685/0.3929, allocations: 403.1 kB / 0.5204 GB, free: 1.941 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.188e-05/0.393, allocations: 0 / 0.5204 GB, free: 1.941 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000675/0.3936, allocations: 450.1 kB / 0.5208 GB, free: 1.918 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004186/0.3941, allocations: 257.5 kB / 0.521 GB, free: 1.887 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003657/0.3945, allocations: 121.1 kB / 0.5212 GB, free: 1.828 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003343/0.3948, allocations: 151.7 kB / 0.5213 GB, free: 1.805 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.3949, allocations: 11.09 kB / 0.5213 GB, free: 1.801 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001577/0.3951, allocations: 110.2 kB / 0.5214 GB, free: 1.785 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002809/0.3954, allocations: 205.2 kB / 0.5216 GB, free: 1.766 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.966e-05/0.3954, allocations: 2.5 kB / 0.5216 GB, free: 1.766 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.797e-05/0.3955, allocations: 19.45 kB / 0.5216 GB, free: 1.762 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001365/0.3956, allocations: 84.41 kB / 0.5217 GB, free: 1.73 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.177e-05/0.3957, allocations: 100.6 kB / 0.5218 GB, free: 1.648 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004615/0.3962, allocations: 246.8 kB / 0.522 GB, free: 1.543 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.3962, allocations: 0 / 0.522 GB, free: 1.543 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.3962, allocations: 0 / 0.522 GB, free: 1.543 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.798e-06/0.3962, allocations: 3.188 kB / 0.522 GB, free: 1.543 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0008683/0.3971, allocations: 0.6403 MB / 0.5227 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.033e-05/0.3972, allocations: 9.219 kB / 0.5227 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.876e-05/0.3972, allocations: 33.02 kB / 0.5227 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.102e-05/0.3973, allocations: 54.33 kB / 0.5228 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000347/0.3977, allocations: 298.7 kB / 0.5231 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.3977, allocations: 384 / 0.5231 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.392e-05/0.3977, allocations: 3.797 kB / 0.5231 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001677/0.3979, allocations: 46.78 kB / 0.5231 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.3979, allocations: 1.469 kB / 0.5231 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.3979, allocations: 0 / 0.5231 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.3979, allocations: 0 / 0.5231 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001083/0.398, allocations: 33.22 kB / 0.5231 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000646/0.3987, allocations: 380.8 kB / 0.5235 GB, free: 244 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001116/0.3988, allocations: 38.25 kB / 0.5235 GB, free: 208 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.002e-05/0.3989, allocations: 16.3 kB / 0.5235 GB, free: 196 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.613e-05/0.3989, allocations: 1.094 kB / 0.5235 GB, free: 196 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.292e-05/0.399, allocations: 32.53 kB / 0.5236 GB, free: 156 kB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.233e-06/0.399, allocations: 7.938 kB / 0.5236 GB, free: 148 kB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002909/0.3993, allocations: 99.39 kB / 0.5237 GB, free: 84 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.188e-05/0.3993, allocations: 52.47 kB / 0.5237 GB, free: 20 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001069/0.4004, allocations: 0.8598 MB / 0.5246 GB, free: 15.7 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.514e-05/0.4004, allocations: 25.7 kB / 0.5246 GB, free: 15.67 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001777/0.4006, allocations: 222.1 kB / 0.5248 GB, free: 15.49 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.939e-05/0.4006, allocations: 9.922 kB / 0.5248 GB, free: 15.48 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.147e-05/0.4007, allocations: 17.2 kB / 0.5248 GB, free: 15.46 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.4008, allocations: 365.2 kB / 0.5252 GB, free: 15.12 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.305e-05/0.4009, allocations: 7.609 kB / 0.5252 GB, free: 15.12 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.451e-05/0.4009, allocations: 10.81 kB / 0.5252 GB, free: 15.12 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.392e-05/0.401, allocations: 23.31 kB / 0.5252 GB, free: 15.11 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.401, allocations: 0.7031 kB / 0.5252 GB, free: 15.11 MB / 398.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001542/0.4012, allocations: 93.66 kB / 0.5253 GB, free: 15.05 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.4012, allocations: 5.5 kB / 0.5253 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.4012, allocations: 0 / 0.5253 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.4012, allocations: 0.6094 kB / 0.5253 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.702e-05/0.4013, allocations: 7.047 kB / 0.5253 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.4013, allocations: 0 / 0.5253 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.32e-05/0.4014, allocations: 7.406 kB / 0.5253 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.054e-06/0.4014, allocations: 0.6094 kB / 0.5253 GB, free: 15.04 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 (2): * Single equations (assignments): 2 * 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.0002097/0.4016, allocations: 215.2 kB / 0.5255 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.913e-05/0.4017, allocations: 41.59 kB / 0.5256 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002219/0.4019, allocations: 116.2 kB / 0.5257 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.4019, allocations: 0 / 0.5257 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.4019, allocations: 1.375 kB / 0.5257 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.4019, allocations: 0.7969 kB / 0.5257 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000326/0.4023, allocations: 282 kB / 0.526 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.4023, allocations: 0 / 0.526 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.48e-05/0.4023, allocations: 5.531 kB / 0.526 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.726e-06/0.4023, allocations: 5.406 kB / 0.526 GB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.345e-06/0.4023, allocations: 0.5625 kB / 0.526 GB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.4023, allocations: 3.938 kB / 0.526 GB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.4023, allocations: 1.375 kB / 0.526 GB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001978/0.4025, allocations: 193.2 kB / 0.5262 GB, free: 14.41 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.275e-05/0.4026, allocations: 112.6 kB / 0.5263 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.614e-05/0.4027, allocations: 1.438 kB / 0.5263 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.69e-05/0.4028, allocations: 6.406 kB / 0.5263 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.133e-05/0.4028, allocations: 6.922 kB / 0.5263 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.791e-06/0.4028, allocations: 5.438 kB / 0.5263 GB, free: 14.28 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006974/0.4035, allocations: 0.6496 MB / 0.5269 GB, free: 14.04 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4035, allocations: 0 / 0.5269 GB, free: 14.04 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002486/0.4038, allocations: 23.52 kB / 0.5269 GB, free: 14.03 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 (2): * Single equations (assignments): 2 * 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.001211/0.405, allocations: 0.9588 MB / 0.5279 GB, free: 13.26 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001543/0.4052, allocations: 24.86 kB / 0.5279 GB, free: 13.25 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.4052, allocations: 0 / 0.5279 GB, free: 13.25 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.501e-05/0.4052, allocations: 15.95 kB / 0.5279 GB, free: 13.24 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004119/0.4056, allocations: 18.19 kB / 0.5279 GB, free: 13.23 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005383/0.411, allocations: 3.111 MB / 0.531 GB, free: 11.21 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005885/0.4116, allocations: 0.8274 MB / 0.5318 GB, free: 10.44 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.365e-05/0.4117, allocations: 20.2 kB / 0.5318 GB, free: 10.42 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001667/0.4119, allocations: 107.6 kB / 0.5319 GB, free: 10.32 MB / 398.1 MB Notification: Performance of SimCode: time 5.01e-07/0.4119, allocations: 0 / 0.5319 GB, free: 10.32 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03583/0.4477, allocations: 5.703 MB / 0.5375 GB, free: 7.422 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.152/8.6, allocations: 6.125 kB / 0.5375 GB, free: 7.418 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test7.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches