Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.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.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test5",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.00124/0.00124, allocations: 114.4 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.001183/0.001183, allocations: 183.8 kB / 18.72 MB, free: 4.352 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.446/1.446, allocations: 222.9 MB / 242.4 MB, free: 15.1 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.2185/0.2185, allocations: 44.2 MB / 336.8 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001883/0.001883, allocations: 67.89 kB / 470.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3911/0.393, allocations: 60.83 MB / 0.5185 GB, free: 3.297 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test5): time 0.002822/0.3959, allocations: 1.608 MB / 0.52 GB, free: 2.188 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007242/0.3967, allocations: 421.6 kB / 0.5204 GB, free: 1.914 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.94e-05/0.3967, allocations: 1.219 kB / 0.5204 GB, free: 1.914 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007139/0.3974, allocations: 452.6 kB / 0.5209 GB, free: 1.887 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000425/0.3979, allocations: 254.1 kB / 0.5211 GB, free: 1.859 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003359/0.3982, allocations: 134.3 kB / 0.5212 GB, free: 1.789 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002601/0.3985, allocations: 163 kB / 0.5214 GB, free: 1.758 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.3986, allocations: 13.53 kB / 0.5214 GB, free: 1.754 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001583/0.3988, allocations: 106.6 kB / 0.5215 GB, free: 1.742 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002709/0.3991, allocations: 206.3 kB / 0.5217 GB, free: 1.723 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.574e-05/0.3991, allocations: 7.562 kB / 0.5217 GB, free: 1.719 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.173e-05/0.3992, allocations: 39.34 kB / 0.5217 GB, free: 1.703 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001197/0.3993, allocations: 76.95 kB / 0.5218 GB, free: 1.68 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.715e-05/0.3994, allocations: 107.1 kB / 0.5219 GB, free: 1.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003361/0.3997, allocations: 258.1 kB / 0.5222 GB, free: 1.48 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.3997, allocations: 0 / 0.5222 GB, free: 1.48 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.033e-06/0.3997, allocations: 0.875 kB / 0.5222 GB, free: 1.48 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.684e-06/0.3998, allocations: 0 / 0.5222 GB, free: 1.48 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.0006704/0.4004, allocations: 0.6524 MB / 0.5228 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.4005, allocations: 13.41 kB / 0.5228 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.485e-05/0.4005, allocations: 33.34 kB / 0.5228 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.668e-05/0.4006, allocations: 43.47 kB / 0.5229 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002356/0.4008, allocations: 298.3 kB / 0.5232 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.4008, allocations: 5.875 kB / 0.5232 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.092e-05/0.4009, allocations: 7.094 kB / 0.5232 GB, free: 0.543 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001415/0.401, allocations: 54.56 kB / 0.5232 GB, free: 0.5 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.401, allocations: 1.406 kB / 0.5232 GB, free: 0.5 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.677e-06/0.4011, allocations: 0.5625 kB / 0.5232 GB, free: 0.5 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.4011, allocations: 1.156 kB / 0.5232 GB, free: 0.5 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.279e-05/0.4012, allocations: 30.89 kB / 0.5233 GB, free: 500 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004253/0.4016, allocations: 392.7 kB / 0.5236 GB, free: 168 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001947/0.4018, allocations: 39.39 kB / 0.5237 GB, free: 140 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.174e-05/0.4019, allocations: 18.36 kB / 0.5237 GB, free: 128 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.26e-05/0.4019, allocations: 4.656 kB / 0.5237 GB, free: 124 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.582e-05/0.4019, allocations: 36.38 kB / 0.5237 GB, free: 80 kB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.4019, allocations: 0 / 0.5237 GB, free: 80 kB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006073/0.4025, allocations: 231.5 kB / 0.524 GB, free: 15.95 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.668e-05/0.4026, allocations: 51.92 kB / 0.524 GB, free: 15.88 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000977/0.4036, allocations: 0.863 MB / 0.5249 GB, free: 15.57 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.452e-05/0.4036, allocations: 34.22 kB / 0.5249 GB, free: 15.53 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002003/0.4038, allocations: 218.1 kB / 0.5251 GB, free: 15.35 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.931e-05/0.4039, allocations: 20.62 kB / 0.5251 GB, free: 15.34 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.272e-05/0.4039, allocations: 18.55 kB / 0.5251 GB, free: 15.32 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002141/0.4041, allocations: 361.8 kB / 0.5255 GB, free: 14.98 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.426e-05/0.4042, allocations: 22.16 kB / 0.5255 GB, free: 14.98 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.02e-05/0.4043, allocations: 15.03 kB / 0.5255 GB, free: 14.98 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001335/0.4044, allocations: 52.69 kB / 0.5256 GB, free: 14.95 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.4044, allocations: 0 / 0.5256 GB, free: 14.95 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002188/0.4046, allocations: 116.1 kB / 0.5257 GB, free: 14.89 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.4047, allocations: 5.781 kB / 0.5257 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.4047, allocations: 0 / 0.5257 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.4047, allocations: 3.984 kB / 0.5257 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.669e-05/0.4048, allocations: 17.72 kB / 0.5257 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.137e-05/0.4048, allocations: 11.92 kB / 0.5257 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.543e-05/0.4049, allocations: 5.547 kB / 0.5257 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.625e-06/0.4049, allocations: 1.5 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.0002106/0.4051, allocations: 211.1 kB / 0.5259 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.019e-05/0.4052, allocations: 43.72 kB / 0.526 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002882/0.4054, allocations: 128.5 kB / 0.5261 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.4055, allocations: 0 / 0.5261 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.106e-05/0.4055, allocations: 10.06 kB / 0.5261 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-06/0.4055, allocations: 0 / 0.5261 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006006/0.4061, allocations: 463.2 kB / 0.5265 GB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.616e-06/0.4061, allocations: 1.375 kB / 0.5265 GB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.27e-05/0.4062, allocations: 16.09 kB / 0.5265 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.4062, allocations: 3.938 kB / 0.5266 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.4062, allocations: 6.172 kB / 0.5266 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.4062, allocations: 3.938 kB / 0.5266 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.4062, allocations: 4 kB / 0.5266 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002668/0.4065, allocations: 213.5 kB / 0.5268 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.969e-05/0.4066, allocations: 120.4 kB / 0.5269 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.671e-05/0.4066, allocations: 2.078 kB / 0.5269 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.047e-05/0.4067, allocations: 4.062 kB / 0.5269 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.309e-05/0.4068, allocations: 11.44 kB / 0.5269 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.4068, allocations: 5.375 kB / 0.5269 GB, free: 13.95 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006782/0.4075, allocations: 0.6486 MB / 0.5275 GB, free: 13.64 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.4075, allocations: 0 / 0.5275 GB, free: 13.64 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002558/0.4077, allocations: 29.33 kB / 0.5276 GB, free: 13.63 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.001942/0.4097, allocations: 1.04 MB / 0.5286 GB, free: 12.82 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002123/0.4099, allocations: 43.81 kB / 0.5286 GB, free: 12.8 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.4099, allocations: 0 / 0.5286 GB, free: 12.8 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.822e-05/0.41, allocations: 23.98 kB / 0.5286 GB, free: 12.79 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004476/0.4104, allocations: 37.17 kB / 0.5287 GB, free: 12.77 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004009/0.4145, allocations: 3.207 MB / 0.5318 GB, free: 10.7 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005285/0.415, allocations: 0.8232 MB / 0.5326 GB, free: 9.934 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.623e-05/0.4151, allocations: 13.62 kB / 0.5326 GB, free: 9.926 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001504/0.4152, allocations: 99.7 kB / 0.5327 GB, free: 9.836 MB / 398.1 MB Notification: Performance of SimCode: time 7.51e-07/0.4152, allocations: 0 / 0.5327 GB, free: 9.836 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02885/0.4441, allocations: 5.976 MB / 0.5386 GB, free: 6.801 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.614/9.058, allocations: 8.875 kB / 0.5386 GB, free: 6.797 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5_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_Test5.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches