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.0009882/0.0009882, allocations: 113.8 kB / 17.78 MB, free: 5.273 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.001001/0.001001, allocations: 179.1 kB / 18.71 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.324/1.324, 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.8 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001455, allocations: 63.89 kB / 470.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3881/0.3896, allocations: 60.83 MB / 0.5184 GB, free: 3.152 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test5): time 0.003225/0.3928, allocations: 1.622 MB / 0.52 GB, free: 2.031 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007067/0.3936, allocations: 416.5 kB / 0.5204 GB, free: 1.762 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.302e-05/0.3936, allocations: 5.375 kB / 0.5204 GB, free: 1.758 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000688/0.3943, allocations: 441.9 kB / 0.5209 GB, free: 1.742 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004386/0.3948, allocations: 260.7 kB / 0.5211 GB, free: 1.707 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003371/0.3952, allocations: 127.4 kB / 0.5212 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002497/0.3954, allocations: 163.1 kB / 0.5214 GB, free: 1.613 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.3956, allocations: 17.83 kB / 0.5214 GB, free: 1.605 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001568/0.3957, allocations: 107.6 kB / 0.5215 GB, free: 1.594 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003083/0.396, allocations: 209 kB / 0.5217 GB, free: 1.57 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.988e-05/0.3961, allocations: 3.406 kB / 0.5217 GB, free: 1.57 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.591e-05/0.3962, allocations: 35.16 kB / 0.5217 GB, free: 1.559 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001177/0.3963, allocations: 80.39 kB / 0.5218 GB, free: 1.531 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.167e-05/0.3964, allocations: 103.8 kB / 0.5219 GB, free: 1.445 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000365/0.3967, allocations: 253.2 kB / 0.5222 GB, free: 1.34 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.3968, allocations: 0.7031 kB / 0.5222 GB, free: 1.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3968, allocations: 5.281 kB / 0.5222 GB, free: 1.336 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.864e-06/0.3968, allocations: 0 / 0.5222 GB, free: 1.336 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.0006794/0.3975, allocations: 0.6554 MB / 0.5228 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.3975, allocations: 9.5 kB / 0.5228 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.974e-05/0.3976, allocations: 41.34 kB / 0.5228 GB, free: 0.707 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.046e-05/0.3976, allocations: 48.22 kB / 0.5229 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002626/0.3979, allocations: 294.7 kB / 0.5232 GB, free: 408 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.125e-06/0.3979, allocations: 1.5 kB / 0.5232 GB, free: 408 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.915e-05/0.3979, allocations: 10.41 kB / 0.5232 GB, free: 400 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001447/0.3981, allocations: 47.97 kB / 0.5232 GB, free: 364 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.3981, allocations: 3.938 kB / 0.5232 GB, free: 360 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.468e-06/0.3981, allocations: 1.812 kB / 0.5232 GB, free: 360 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.658e-05/0.3981, allocations: 0 / 0.5232 GB, free: 360 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001025/0.3983, allocations: 36.05 kB / 0.5233 GB, free: 344 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004727/0.3987, allocations: 391.7 kB / 0.5236 GB, free: 12 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000237/0.399, allocations: 43.53 kB / 0.5237 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.009e-05/0.3991, allocations: 18.31 kB / 0.5237 GB, free: 15.97 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.01e-05/0.3991, allocations: 1.094 kB / 0.5237 GB, free: 15.97 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/0.3991, allocations: 36.17 kB / 0.5237 GB, free: 15.93 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.253e-06/0.3991, allocations: 0 / 0.5237 GB, free: 15.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006759/0.3998, allocations: 226.4 kB / 0.524 GB, free: 15.8 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.72e-05/0.3999, allocations: 53.86 kB / 0.524 GB, free: 15.74 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009111/0.4008, allocations: 0.8658 MB / 0.5249 GB, free: 15.41 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.494e-05/0.4008, allocations: 27.08 kB / 0.5249 GB, free: 15.38 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001838/0.401, allocations: 225.9 kB / 0.5251 GB, free: 15.2 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.792e-05/0.401, allocations: 20.33 kB / 0.5251 GB, free: 15.18 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.581e-05/0.4011, allocations: 18.5 kB / 0.5251 GB, free: 15.16 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.4012, allocations: 357.3 kB / 0.5255 GB, free: 14.84 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.142e-05/0.4013, allocations: 18.84 kB / 0.5255 GB, free: 14.83 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.39e-05/0.4014, allocations: 19.45 kB / 0.5255 GB, free: 14.83 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001387/0.4015, allocations: 51.03 kB / 0.5256 GB, free: 14.8 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.4015, allocations: 0 / 0.5256 GB, free: 14.8 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002068/0.4017, allocations: 117.1 kB / 0.5257 GB, free: 14.74 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.4018, allocations: 5.5 kB / 0.5257 GB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.4018, allocations: 3.984 kB / 0.5257 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.4018, allocations: 0.6562 kB / 0.5257 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.224e-05/0.4019, allocations: 12.2 kB / 0.5257 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.4019, allocations: 5.312 kB / 0.5257 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.029e-05/0.4019, allocations: 8.672 kB / 0.5257 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/0.402, allocations: 1.375 kB / 0.5257 GB, free: 14.73 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.0001986/0.4022, allocations: 212.8 kB / 0.5259 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.981e-05/0.4022, allocations: 42.09 kB / 0.5259 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002932/0.4025, allocations: 144.9 kB / 0.5261 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.4025, allocations: 2 kB / 0.5261 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.4026, allocations: 7.922 kB / 0.5261 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.4026, allocations: 4.609 kB / 0.5261 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006197/0.4032, allocations: 452.1 kB / 0.5265 GB, free: 14.13 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.4032, allocations: 3.938 kB / 0.5265 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.848e-05/0.4033, allocations: 16.73 kB / 0.5266 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.4033, allocations: 3.938 kB / 0.5266 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.4033, allocations: 2.125 kB / 0.5266 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.4033, allocations: 0 / 0.5266 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.4033, allocations: 0 / 0.5266 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002571/0.4036, allocations: 216.9 kB / 0.5268 GB, free: 13.95 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.702e-05/0.4037, allocations: 116.5 kB / 0.5269 GB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.009e-05/0.4037, allocations: 4.688 kB / 0.5269 GB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.738e-05/0.4038, allocations: 6.047 kB / 0.5269 GB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.547e-05/0.4039, allocations: 3.172 kB / 0.5269 GB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.229e-06/0.4039, allocations: 2.328 kB / 0.5269 GB, free: 13.82 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007881/0.4047, allocations: 0.6622 MB / 0.5275 GB, free: 13.52 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.074e-06/0.4047, allocations: 0 / 0.5275 GB, free: 13.52 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002724/0.405, allocations: 25.56 kB / 0.5276 GB, free: 13.51 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.001366/0.4063, allocations: 1.046 MB / 0.5286 GB, free: 12.7 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002077/0.4066, allocations: 48.22 kB / 0.5286 GB, free: 12.68 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.4066, allocations: 0 / 0.5286 GB, free: 12.68 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.986e-05/0.4067, allocations: 27.84 kB / 0.5287 GB, free: 12.66 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003712/0.407, allocations: 32.47 kB / 0.5287 GB, free: 12.64 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003709/0.4108, allocations: 3.192 MB / 0.5318 GB, free: 10.59 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004086/0.4112, allocations: 0.8273 MB / 0.5326 GB, free: 9.816 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.805e-05/0.4113, allocations: 18.61 kB / 0.5326 GB, free: 9.805 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000128/0.4114, allocations: 107.3 kB / 0.5327 GB, free: 9.707 MB / 398.1 MB Notification: Performance of SimCode: time 3.4e-07/0.4114, allocations: 0 / 0.5327 GB, free: 9.707 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02416/0.4356, allocations: 5.968 MB / 0.5386 GB, free: 6.676 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.225/8.66, allocations: 10.5 kB / 0.5386 GB, free: 6.672 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