Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.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.Test18_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab",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.00109/0.00109, allocations: 113.8 kB / 17.78 MB, free: 5.277 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.001081/0.001081, allocations: 179.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.352/1.352, allocations: 222.9 MB / 242.4 MB, free: 15.09 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.2073/0.2073, allocations: 44.18 MB / 336.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002394/0.002395, allocations: 63.91 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4192/0.4216, allocations: 60.84 MB / 0.5185 GB, free: 3.129 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab): time 0.002915/0.4246, allocations: 1.651 MB / 0.5201 GB, free: 1.988 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000753/0.4254, allocations: 459.2 kB / 0.5205 GB, free: 1.68 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.478e-05/0.4254, allocations: 1.094 kB / 0.5205 GB, free: 1.68 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001919/0.4256, allocations: 23.36 kB / 0.5205 GB, free: 1.664 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002074/0.4259, allocations: 40.86 kB / 0.5206 GB, free: 1.641 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003679/0.4262, allocations: 135 kB / 0.5207 GB, free: 1.574 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001545/0.4264, allocations: 87.91 kB / 0.5208 GB, free: 1.531 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.699e-05/0.4265, allocations: 14.88 kB / 0.5208 GB, free: 1.523 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.004e-05/0.4266, allocations: 33 kB / 0.5208 GB, free: 1.508 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.105e-05/0.4267, allocations: 38.97 kB / 0.5209 GB, free: 1.488 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.898e-05/0.4267, allocations: 4.719 kB / 0.5209 GB, free: 1.488 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001311/0.4268, allocations: 55.88 kB / 0.5209 GB, free: 1.473 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.187e-05/0.4269, allocations: 19.5 kB / 0.5209 GB, free: 1.461 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.068e-05/0.4269, allocations: 38.41 kB / 0.521 GB, free: 1.434 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002504/0.4272, allocations: 127.5 kB / 0.5211 GB, free: 1.379 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.4272, allocations: 0 / 0.5211 GB, free: 1.379 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.4272, allocations: 0 / 0.5211 GB, free: 1.379 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.4272, allocations: 0.6094 kB / 0.5211 GB, free: 1.379 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005274/0.4278, allocations: 426.6 kB / 0.5215 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.4278, allocations: 9.719 kB / 0.5215 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.817e-05/0.4278, allocations: 41.55 kB / 0.5216 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.907e-05/0.4279, allocations: 9.016 kB / 0.5216 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001511/0.428, allocations: 194.5 kB / 0.5217 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.457e-06/0.4281, allocations: 9.688 kB / 0.5218 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.923e-05/0.4281, allocations: 7.141 kB / 0.5218 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002637/0.4284, allocations: 96.92 kB / 0.5219 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.4284, allocations: 0 / 0.5219 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.4284, allocations: 5.188 kB / 0.5219 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.4284, allocations: 1.75 kB / 0.5219 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003048/0.4287, allocations: 65.95 kB / 0.5219 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003696/0.4291, allocations: 310.9 kB / 0.5222 GB, free: 328 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002299/0.4293, allocations: 68.64 kB / 0.5223 GB, free: 292 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001683/0.4295, allocations: 46.27 kB / 0.5223 GB, free: 276 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.612e-05/0.4295, allocations: 1.516 kB / 0.5223 GB, free: 276 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.83e-05/0.4296, allocations: 32.11 kB / 0.5224 GB, free: 236 kB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.192e-06/0.4296, allocations: 4 kB / 0.5224 GB, free: 232 kB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.001588/0.4312, allocations: 380 kB / 0.5227 GB, free: 124 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.145e-05/0.4312, allocations: 82.27 kB / 0.5228 GB, free: 24 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001693/0.4314, allocations: 158.8 kB / 0.523 GB, free: 15.9 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.4314, allocations: 25.7 kB / 0.523 GB, free: 15.87 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.51e-05/0.4315, allocations: 102.6 kB / 0.5231 GB, free: 15.77 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.094e-05/0.4315, allocations: 30.8 kB / 0.5231 GB, free: 15.75 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.088e-05/0.4316, allocations: 25.91 kB / 0.5231 GB, free: 15.73 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001052/0.4317, allocations: 321.5 kB / 0.5234 GB, free: 15.41 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002926/0.432, allocations: 65.86 kB / 0.5235 GB, free: 15.4 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002954/0.4323, allocations: 89.55 kB / 0.5236 GB, free: 15.37 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005718/0.4329, allocations: 155 kB / 0.5237 GB, free: 15.33 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.4329, allocations: 1.219 kB / 0.5237 GB, free: 15.33 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006324/0.4335, allocations: 196.4 kB / 0.5239 GB, free: 15.26 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.4335, allocations: 6.469 kB / 0.5239 GB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.4336, allocations: 0 / 0.5239 GB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.4336, allocations: 3.938 kB / 0.5239 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002188/0.4338, allocations: 42.34 kB / 0.524 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.4338, allocations: 0.6562 kB / 0.524 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001557/0.434, allocations: 23.52 kB / 0.524 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/0.434, allocations: 6.469 kB / 0.524 GB, free: 15.25 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 (10): * Single equations (assignments): 10 * 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.535e-05/0.4341, allocations: 120 kB / 0.5241 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.58e-05/0.4341, allocations: 13.28 kB / 0.5241 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006793/0.4348, allocations: 204.8 kB / 0.5243 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.4348, allocations: 5.922 kB / 0.5243 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.4349, allocations: 1.125 kB / 0.5243 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.4349, allocations: 0.6562 kB / 0.5243 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000938/0.4358, allocations: 0.4928 MB / 0.5248 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.4358, allocations: 0.6562 kB / 0.5248 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000185/0.436, allocations: 33.92 kB / 0.5248 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.436, allocations: 2.266 kB / 0.5249 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.436, allocations: 1.531 kB / 0.5249 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.436, allocations: 288 / 0.5249 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.4361, allocations: 4 kB / 0.5249 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006626/0.4367, allocations: 295.5 kB / 0.5251 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.988e-05/0.4368, allocations: 90.17 kB / 0.5252 GB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.392e-05/0.4368, allocations: 0.5156 kB / 0.5252 GB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001868/0.437, allocations: 28.08 kB / 0.5253 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.177e-05/0.4371, allocations: 7.422 kB / 0.5253 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.111e-05/0.4371, allocations: 7.656 kB / 0.5253 GB, free: 14.38 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001008/0.4372, allocations: 113.6 kB / 0.5254 GB, free: 14.3 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4372, allocations: 0 / 0.5254 GB, free: 14.3 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000283/0.4375, allocations: 33.64 kB / 0.5254 GB, free: 14.29 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 (9): * Single equations (assignments): 9 * 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.001822/0.4393, allocations: 1.171 MB / 0.5266 GB, free: 13.46 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007039/0.44, allocations: 166.5 kB / 0.5267 GB, free: 13.43 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.44, allocations: 0 / 0.5267 GB, free: 13.43 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003056/0.4404, allocations: 86.61 kB / 0.5268 GB, free: 13.41 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003657/0.4407, allocations: 17.42 kB / 0.5268 GB, free: 13.4 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002997/0.4437, allocations: 1.805 MB / 0.5286 GB, free: 12 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003186/0.4441, allocations: 0.7021 MB / 0.5293 GB, free: 11.29 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001101/0.4442, allocations: 13.14 kB / 0.5293 GB, free: 11.28 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.884e-05/0.4443, allocations: 39.95 kB / 0.5293 GB, free: 11.25 MB / 398.1 MB Notification: Performance of SimCode: time 7.31e-07/0.4443, allocations: 4 kB / 0.5293 GB, free: 11.25 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02082/0.4651, allocations: 3.793 MB / 0.533 GB, free: 9.152 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.795/8.26, allocations: 15.48 kB / 0.533 GB, free: 9.141 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_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_CombiTable2Ds_Test18_usertab.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches