Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.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.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test28",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.001283/0.001283, allocations: 112.7 kB / 17.78 MB, free: 5.281 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.001277/0.001277, allocations: 180.1 kB / 18.71 MB, free: 4.363 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.324/1.324, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.1979/0.1979, allocations: 44.19 MB / 336.8 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 60.09 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3698/0.371, allocations: 60.83 MB / 0.5184 GB, free: 3.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test28): time 0.002958/0.374, allocations: 1.652 MB / 0.5201 GB, free: 2.176 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000737/0.3747, allocations: 440.8 kB / 0.5205 GB, free: 1.887 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.692e-05/0.3748, allocations: 1.375 kB / 0.5205 GB, free: 1.887 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000242/0.3751, allocations: 61.59 kB / 0.5205 GB, free: 1.867 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000212/0.3753, allocations: 55.95 kB / 0.5206 GB, free: 1.844 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004606/0.3758, allocations: 180 kB / 0.5208 GB, free: 1.754 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001731/0.376, allocations: 76.78 kB / 0.5208 GB, free: 1.727 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.3761, allocations: 20.53 kB / 0.5209 GB, free: 1.719 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.677e-05/0.3762, allocations: 41.27 kB / 0.5209 GB, free: 1.699 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.45e-05/0.3763, allocations: 47.66 kB / 0.5209 GB, free: 1.684 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.715e-05/0.3763, allocations: 7.297 kB / 0.521 GB, free: 1.68 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001035/0.3764, allocations: 47.88 kB / 0.521 GB, free: 1.668 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.052e-05/0.3765, allocations: 26.16 kB / 0.521 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.889e-05/0.3765, allocations: 35.34 kB / 0.5211 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001931/0.3767, allocations: 115 kB / 0.5212 GB, free: 1.582 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.3767, allocations: 1.031 kB / 0.5212 GB, free: 1.582 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3767, allocations: 0 / 0.5212 GB, free: 1.582 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.957e-06/0.3767, allocations: 4 kB / 0.5212 GB, free: 1.578 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.000422/0.3772, allocations: 425.1 kB / 0.5216 GB, free: 1.164 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.3772, allocations: 9.188 kB / 0.5216 GB, free: 1.164 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.357e-05/0.3772, allocations: 41.66 kB / 0.5216 GB, free: 1.117 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.426e-05/0.3773, allocations: 10.33 kB / 0.5216 GB, free: 1.113 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000139/0.3774, allocations: 200.1 kB / 0.5218 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.3774, allocations: 6.594 kB / 0.5218 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.142e-05/0.3775, allocations: 2.5 kB / 0.5218 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001657/0.3776, allocations: 75.11 kB / 0.5219 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.3777, allocations: 4.703 kB / 0.5219 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.3777, allocations: 1.188 kB / 0.5219 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.3777, allocations: 5.312 kB / 0.5219 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001404/0.3778, allocations: 41.91 kB / 0.522 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003825/0.3782, allocations: 322.2 kB / 0.5223 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002209/0.3784, allocations: 59.22 kB / 0.5223 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.461e-05/0.3785, allocations: 28.19 kB / 0.5223 GB, free: 496 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.942e-05/0.3786, allocations: 0 / 0.5223 GB, free: 496 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.204e-05/0.3786, allocations: 37.06 kB / 0.5224 GB, free: 452 kB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 8.51e-07/0.3786, allocations: 0 / 0.5224 GB, free: 452 kB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.001406/0.38, allocations: 421.4 kB / 0.5228 GB, free: 320 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.894e-05/0.38, allocations: 53.64 kB / 0.5228 GB, free: 256 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001486/0.3802, allocations: 197.7 kB / 0.523 GB, free: 120 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.518e-06/0.3802, allocations: 26.95 kB / 0.5231 GB, free: 88 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.447e-05/0.3802, allocations: 100.3 kB / 0.5231 GB, free: 15.99 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.145e-05/0.3803, allocations: 51 kB / 0.5232 GB, free: 15.95 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.314e-05/0.3803, allocations: 27.39 kB / 0.5232 GB, free: 15.93 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001023/0.3805, allocations: 323 kB / 0.5235 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001433/0.3806, allocations: 55.75 kB / 0.5236 GB, free: 15.59 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001667/0.3808, allocations: 51.55 kB / 0.5236 GB, free: 15.58 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002751/0.3811, allocations: 126.8 kB / 0.5238 GB, free: 15.54 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.3811, allocations: 0 / 0.5238 GB, free: 15.54 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003315/0.3814, allocations: 171.2 kB / 0.5239 GB, free: 15.46 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.3814, allocations: 8.344 kB / 0.5239 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.3814, allocations: 1.672 kB / 0.5239 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.3815, allocations: 3.938 kB / 0.5239 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/0.3816, allocations: 34.33 kB / 0.524 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.3816, allocations: 0 / 0.524 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.648e-05/0.3817, allocations: 10.91 kB / 0.524 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.3817, allocations: 2.344 kB / 0.524 GB, free: 15.44 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 9.945e-05/0.3818, allocations: 129.5 kB / 0.5241 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.286e-05/0.3818, allocations: 16.62 kB / 0.5241 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004215/0.3823, allocations: 200.5 kB / 0.5243 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.3823, allocations: 5.906 kB / 0.5243 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.3823, allocations: 0 / 0.5243 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.3823, allocations: 0.75 kB / 0.5243 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006769/0.383, allocations: 0.4971 MB / 0.5248 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.095e-06/0.383, allocations: 2.406 kB / 0.5248 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.918e-05/0.3831, allocations: 25.31 kB / 0.5248 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.3831, allocations: 1.312 kB / 0.5248 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.839e-06/0.3831, allocations: 1.406 kB / 0.5248 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.766e-06/0.3831, allocations: 2.391 kB / 0.5248 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.3831, allocations: 1.438 kB / 0.5248 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000375/0.3835, allocations: 279.2 kB / 0.5251 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.125e-05/0.3836, allocations: 90.77 kB / 0.5252 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.285e-05/0.3836, allocations: 2.703 kB / 0.5252 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.3837, allocations: 13.2 kB / 0.5252 GB, free: 14.51 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.018e-05/0.3838, allocations: 9.062 kB / 0.5252 GB, free: 14.51 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.574e-06/0.3838, allocations: 6.656 kB / 0.5252 GB, free: 14.51 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001294/0.3839, allocations: 149.5 kB / 0.5254 GB, free: 14.41 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3839, allocations: 5.625 kB / 0.5254 GB, free: 14.41 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002719/0.3842, allocations: 26.97 kB / 0.5254 GB, free: 14.4 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.001573/0.3858, allocations: 1.155 MB / 0.5265 GB, free: 13.56 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003806/0.3862, allocations: 129.7 kB / 0.5266 GB, free: 13.52 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3862, allocations: 1.375 kB / 0.5266 GB, free: 13.52 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001669/0.3864, allocations: 65.83 kB / 0.5267 GB, free: 13.51 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003837/0.3867, allocations: 21.83 kB / 0.5267 GB, free: 13.5 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002287/0.389, allocations: 1.908 MB / 0.5286 GB, free: 12.05 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003133/0.3894, allocations: 0.7161 MB / 0.5293 GB, free: 11.36 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001049/0.3895, allocations: 33.69 kB / 0.5293 GB, free: 11.35 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.166e-05/0.3896, allocations: 39.3 kB / 0.5294 GB, free: 11.32 MB / 398.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3896, allocations: 0 / 0.5294 GB, free: 11.32 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02016/0.4098, allocations: 3.474 MB / 0.5327 GB, free: 9.527 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.85/8.26, allocations: 14.81 kB / 0.5328 GB, free: 9.516 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test28.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches