Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.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.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test4",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.001338/0.001338, allocations: 118.4 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.001247/0.001247, allocations: 183.8 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.474/1.474, 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.2228/0.2228, allocations: 44.18 MB / 336.8 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001883/0.001883, allocations: 71.89 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3521/0.354, allocations: 60.82 MB / 0.5185 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.003551/0.3576, allocations: 1.611 MB / 0.52 GB, free: 2.188 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007937/0.3584, allocations: 426 kB / 0.5204 GB, free: 1.91 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.583e-05/0.3585, allocations: 4 kB / 0.5204 GB, free: 1.906 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008091/0.3593, allocations: 450.1 kB / 0.5209 GB, free: 1.883 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000604/0.36, allocations: 253.2 kB / 0.5211 GB, free: 1.855 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005242/0.3605, allocations: 131.5 kB / 0.5212 GB, free: 1.789 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003961/0.3609, allocations: 162.8 kB / 0.5214 GB, free: 1.758 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001479/0.3611, allocations: 13.06 kB / 0.5214 GB, free: 1.754 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002071/0.3613, allocations: 107.6 kB / 0.5215 GB, free: 1.742 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003621/0.3617, allocations: 209.5 kB / 0.5217 GB, free: 1.719 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.468e-05/0.3617, allocations: 3.375 kB / 0.5217 GB, free: 1.719 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001346/0.3618, allocations: 38.56 kB / 0.5217 GB, free: 1.703 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001505/0.362, allocations: 76.64 kB / 0.5218 GB, free: 1.68 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.61e-05/0.3621, allocations: 108 kB / 0.5219 GB, free: 1.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000366/0.3624, allocations: 253.9 kB / 0.5222 GB, free: 1.484 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3624, allocations: 1.219 kB / 0.5222 GB, free: 1.484 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.3625, allocations: 0 / 0.5222 GB, free: 1.484 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.3625, allocations: 0 / 0.5222 GB, free: 1.484 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.0007369/0.3632, allocations: 0.6567 MB / 0.5228 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.188e-05/0.3633, allocations: 10.03 kB / 0.5228 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.358e-05/0.3633, allocations: 32.81 kB / 0.5228 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.174e-05/0.3634, allocations: 43.53 kB / 0.5229 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002818/0.3637, allocations: 298.4 kB / 0.5232 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.3637, allocations: 6.344 kB / 0.5232 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.331e-05/0.3637, allocations: 6.094 kB / 0.5232 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001592/0.3639, allocations: 55.81 kB / 0.5232 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.619e-05/0.3639, allocations: 0 / 0.5232 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-06/0.364, allocations: 4 kB / 0.5232 GB, free: 0.5 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.364, allocations: 2.031 kB / 0.5232 GB, free: 0.5 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000103/0.3641, allocations: 27.36 kB / 0.5233 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005428/0.3646, allocations: 395.7 kB / 0.5236 GB, free: 168 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002133/0.3648, allocations: 43.81 kB / 0.5237 GB, free: 136 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.142e-05/0.3649, allocations: 18.91 kB / 0.5237 GB, free: 124 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.457e-05/0.3649, allocations: 0 / 0.5237 GB, free: 124 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.122e-05/0.365, allocations: 32.55 kB / 0.5237 GB, free: 84 kB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 8.42e-07/0.365, allocations: 3.938 kB / 0.5237 GB, free: 80 kB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006459/0.3656, allocations: 230.5 kB / 0.524 GB, free: 15.95 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.643e-05/0.3657, allocations: 52.69 kB / 0.524 GB, free: 15.88 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009762/0.3667, allocations: 0.8717 MB / 0.5249 GB, free: 15.56 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.152e-05/0.3667, allocations: 29.7 kB / 0.5249 GB, free: 15.52 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002056/0.3669, allocations: 218.7 kB / 0.5251 GB, free: 15.35 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.808e-05/0.367, allocations: 22.42 kB / 0.5251 GB, free: 15.33 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.096e-05/0.367, allocations: 15.89 kB / 0.5251 GB, free: 15.31 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001968/0.3672, allocations: 361.7 kB / 0.5255 GB, free: 14.98 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.439e-05/0.3673, allocations: 19.02 kB / 0.5255 GB, free: 14.98 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.481e-05/0.3674, allocations: 22.8 kB / 0.5255 GB, free: 14.97 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001337/0.3675, allocations: 42.7 kB / 0.5256 GB, free: 14.95 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.3675, allocations: 0 / 0.5256 GB, free: 14.95 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002246/0.3678, allocations: 117.4 kB / 0.5257 GB, free: 14.89 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.3678, allocations: 5.172 kB / 0.5257 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.3678, allocations: 0 / 0.5257 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.3678, allocations: 5.828 kB / 0.5257 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.782e-05/0.3679, allocations: 15.56 kB / 0.5257 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.193e-05/0.3679, allocations: 8.438 kB / 0.5257 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.967e-05/0.368, allocations: 5.578 kB / 0.5257 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.368, allocations: 2.125 kB / 0.5257 GB, free: 14.87 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 (5): * Single equations (assignments): 5 * 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.0002312/0.3682, allocations: 212.6 kB / 0.5259 GB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.791e-05/0.3683, allocations: 42.16 kB / 0.526 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003263/0.3686, allocations: 131.9 kB / 0.5261 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.3687, allocations: 1.953 kB / 0.5261 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.39e-05/0.3687, allocations: 7.922 kB / 0.5261 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.3687, allocations: 5.906 kB / 0.5261 GB, free: 14.63 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006723/0.3694, allocations: 450.4 kB / 0.5265 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.3694, allocations: 0.75 kB / 0.5265 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.002e-05/0.3694, allocations: 23.73 kB / 0.5265 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.69e-06/0.3695, allocations: 6.156 kB / 0.5266 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.3695, allocations: 4 kB / 0.5266 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.3695, allocations: 5.312 kB / 0.5266 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.3695, allocations: 0 / 0.5266 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00029/0.3698, allocations: 214.7 kB / 0.5268 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.784e-05/0.3699, allocations: 118.3 kB / 0.5269 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.661e-05/0.3699, allocations: 1.375 kB / 0.5269 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.125e-05/0.37, allocations: 16.11 kB / 0.5269 GB, free: 13.95 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.745e-05/0.3701, allocations: 1.375 kB / 0.5269 GB, free: 13.95 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.608e-06/0.3701, allocations: 1.375 kB / 0.5269 GB, free: 13.95 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000748/0.3708, allocations: 0.6527 MB / 0.5275 GB, free: 13.63 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3708, allocations: 0 / 0.5275 GB, free: 13.63 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002641/0.3711, allocations: 26.94 kB / 0.5276 GB, free: 13.62 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 (5): * Single equations (assignments): 5 * 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.001938/0.3731, allocations: 1.047 MB / 0.5286 GB, free: 12.8 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002005/0.3733, allocations: 45.16 kB / 0.5286 GB, free: 12.79 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.3733, allocations: 0 / 0.5286 GB, free: 12.79 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.909e-05/0.3734, allocations: 27.11 kB / 0.5287 GB, free: 12.78 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004243/0.3738, allocations: 38.67 kB / 0.5287 GB, free: 12.75 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003728/0.3775, allocations: 3.192 MB / 0.5318 GB, free: 10.7 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004779/0.378, allocations: 0.8263 MB / 0.5326 GB, free: 9.926 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.855e-05/0.3781, allocations: 13.69 kB / 0.5326 GB, free: 9.918 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001389/0.3782, allocations: 104.8 kB / 0.5327 GB, free: 9.824 MB / 398.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3782, allocations: 0 / 0.5327 GB, free: 9.824 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02976/0.408, allocations: 5.976 MB / 0.5386 GB, free: 6.789 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.47/8.878, allocations: 2.5 kB / 0.5386 GB, free: 6.789 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4_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_Test4.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches