Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.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.CombiTable2Dv.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test1",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.001643/0.001643, allocations: 109.8 kB / 17.78 MB, free: 5.266 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.001892/0.001892, allocations: 183.1 kB / 18.71 MB, free: 4.34 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.435/1.435, 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.2252/0.2252, allocations: 44.19 MB / 336.8 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001887/0.001887, allocations: 63.91 kB / 470.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3693/0.3712, allocations: 60.82 MB / 0.5185 GB, free: 3.309 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.002664/0.3739, allocations: 1.648 MB / 0.5201 GB, free: 2.168 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006957/0.3747, allocations: 449.1 kB / 0.5205 GB, free: 1.879 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.163e-05/0.3747, allocations: 5.312 kB / 0.5205 GB, free: 1.875 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000621/0.3754, allocations: 455 kB / 0.5209 GB, free: 1.848 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003865/0.3758, allocations: 248.6 kB / 0.5212 GB, free: 1.824 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004104/0.3762, allocations: 175.2 kB / 0.5213 GB, free: 1.738 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002374/0.3764, allocations: 169.2 kB / 0.5215 GB, free: 1.707 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.3766, allocations: 22.02 kB / 0.5215 GB, free: 1.699 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001327/0.3767, allocations: 111.9 kB / 0.5216 GB, free: 1.684 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00024/0.3769, allocations: 215.1 kB / 0.5218 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.225e-05/0.377, allocations: 3.438 kB / 0.5218 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001084/0.3771, allocations: 51.34 kB / 0.5219 GB, free: 1.641 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.83e-05/0.3772, allocations: 83.55 kB / 0.522 GB, free: 1.613 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.553e-05/0.3773, allocations: 105 kB / 0.5221 GB, free: 1.527 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003001/0.3776, allocations: 280 kB / 0.5223 GB, free: 1.406 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3776, allocations: 0.9375 kB / 0.5223 GB, free: 1.406 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3776, allocations: 0 / 0.5223 GB, free: 1.406 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.3776, allocations: 0 / 0.5223 GB, free: 1.406 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006129/0.3782, allocations: 0.6675 MB / 0.523 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.3783, allocations: 9.656 kB / 0.523 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.181e-05/0.3783, allocations: 34.28 kB / 0.523 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.306e-05/0.3783, allocations: 42.94 kB / 0.5231 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002084/0.3786, allocations: 305.4 kB / 0.5234 GB, free: 476 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.3786, allocations: 10.53 kB / 0.5234 GB, free: 468 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.813e-05/0.3786, allocations: 2.594 kB / 0.5234 GB, free: 468 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001596/0.3788, allocations: 66.11 kB / 0.5234 GB, free: 420 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.3788, allocations: 0 / 0.5234 GB, free: 420 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.3788, allocations: 5.031 kB / 0.5234 GB, free: 416 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.3788, allocations: 1.828 kB / 0.5234 GB, free: 416 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001074/0.3789, allocations: 28.53 kB / 0.5235 GB, free: 412 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004459/0.3794, allocations: 417.5 kB / 0.5239 GB, free: 72 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001083/0.3795, allocations: 46.2 kB / 0.5239 GB, free: 40 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.66e-05/0.3796, allocations: 18.78 kB / 0.5239 GB, free: 28 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.184e-05/0.3796, allocations: 2.562 kB / 0.5239 GB, free: 28 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.951e-05/0.3796, allocations: 31.17 kB / 0.524 GB, free: 15.99 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.3796, allocations: 0 / 0.524 GB, free: 15.99 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.001006/0.3807, allocations: 334.1 kB / 0.5243 GB, free: 15.83 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.965e-05/0.3807, allocations: 55.95 kB / 0.5243 GB, free: 15.76 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008642/0.3816, allocations: 0.8661 MB / 0.5252 GB, free: 15.44 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.733e-05/0.3816, allocations: 25.7 kB / 0.5252 GB, free: 15.41 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00019/0.3818, allocations: 235.7 kB / 0.5254 GB, free: 15.22 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.387e-05/0.3818, allocations: 29.89 kB / 0.5255 GB, free: 15.2 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.458e-05/0.3819, allocations: 20.58 kB / 0.5255 GB, free: 15.18 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001841/0.3821, allocations: 367.8 kB / 0.5258 GB, free: 14.84 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.001e-05/0.3822, allocations: 25.42 kB / 0.5258 GB, free: 14.84 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.474e-05/0.3823, allocations: 31.72 kB / 0.5259 GB, free: 14.83 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001818/0.3825, allocations: 76.31 kB / 0.5259 GB, free: 14.8 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3825, allocations: 1.125 kB / 0.5259 GB, free: 14.8 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003138/0.3828, allocations: 156.3 kB / 0.5261 GB, free: 14.71 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.3828, allocations: 4.875 kB / 0.5261 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.3828, allocations: 4.453 kB / 0.5261 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.3829, allocations: 0 / 0.5261 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/0.383, allocations: 21.59 kB / 0.5261 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/0.383, allocations: 1.219 kB / 0.5261 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.494e-05/0.3831, allocations: 8.641 kB / 0.5261 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.122e-05/0.3831, allocations: 7.625 kB / 0.5261 GB, free: 14.7 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 (8): * Single equations (assignments): 8 * 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.0002491/0.3833, allocations: 214.2 kB / 0.5263 GB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.328e-05/0.3834, allocations: 42.16 kB / 0.5264 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000386/0.3838, allocations: 179.6 kB / 0.5266 GB, free: 14.43 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.3838, allocations: 5.219 kB / 0.5266 GB, free: 14.43 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.3838, allocations: 5 kB / 0.5266 GB, free: 14.42 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.3839, allocations: 0 / 0.5266 GB, free: 14.42 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007379/0.3846, allocations: 0.519 MB / 0.5271 GB, free: 13.97 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.3846, allocations: 1 kB / 0.5271 GB, free: 13.97 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.479e-05/0.3847, allocations: 14.69 kB / 0.5271 GB, free: 13.97 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.3847, allocations: 0 / 0.5271 GB, free: 13.97 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.297e-06/0.3847, allocations: 1.531 kB / 0.5271 GB, free: 13.97 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.791e-06/0.3847, allocations: 5.609 kB / 0.5271 GB, free: 13.97 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3847, allocations: 4 kB / 0.5271 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003084/0.385, allocations: 247.1 kB / 0.5273 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.4e-05/0.3851, allocations: 123.5 kB / 0.5275 GB, free: 13.64 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.741e-05/0.3852, allocations: 0.75 kB / 0.5275 GB, free: 13.64 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.519e-05/0.3853, allocations: 4.188 kB / 0.5275 GB, free: 13.64 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.568e-05/0.3853, allocations: 15.17 kB / 0.5275 GB, free: 13.62 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-06/0.3853, allocations: 3.25 kB / 0.5275 GB, free: 13.62 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006432/0.386, allocations: 0.6488 MB / 0.5281 GB, free: 13.31 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.386, allocations: 1.125 kB / 0.5281 GB, free: 13.31 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002778/0.3863, allocations: 34.33 kB / 0.5281 GB, free: 13.3 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.002148/0.3884, allocations: 1.14 MB / 0.5293 GB, free: 12.44 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002539/0.3887, allocations: 79.91 kB / 0.5293 GB, free: 12.4 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3887, allocations: 3.938 kB / 0.5293 GB, free: 12.4 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001002/0.3888, allocations: 40.78 kB / 0.5294 GB, free: 12.38 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004312/0.3892, allocations: 27.64 kB / 0.5294 GB, free: 12.36 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003774/0.393, allocations: 3.357 MB / 0.5327 GB, free: 10.2 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000466/0.3935, allocations: 0.8318 MB / 0.5335 GB, free: 9.43 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.855e-05/0.3936, allocations: 26.02 kB / 0.5335 GB, free: 9.418 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001481/0.3938, allocations: 117.9 kB / 0.5336 GB, free: 9.309 MB / 398.1 MB Notification: Performance of SimCode: time 3.6e-07/0.3938, allocations: 4 kB / 0.5336 GB, free: 9.305 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02953/0.4233, allocations: 6.381 MB / 0.5399 GB, free: 5.961 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.459/8.882, allocations: 1.031 kB / 0.5399 GB, free: 5.961 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1_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_CombiTable2Dv_Test1.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches