Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.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.CombiTable1Dv.Test29,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test29,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test29",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.001275/0.001275, allocations: 109.8 kB / 17.78 MB, free: 5.266 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.001278/0.001278, allocations: 183.1 kB / 18.71 MB, free: 4.34 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.438/1.438, allocations: 222.9 MB / 242.4 MB, free: 15.06 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.2193/0.2193, allocations: 44.2 MB / 336.8 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001848/0.001848, allocations: 67.89 kB / 470.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3848/0.3867, allocations: 60.82 MB / 0.5184 GB, free: 3.309 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test29): time 0.002935/0.3897, allocations: 1.624 MB / 0.52 GB, free: 2.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006951/0.3904, allocations: 424.8 kB / 0.5204 GB, free: 1.902 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.492e-05/0.3905, allocations: 0 / 0.5204 GB, free: 1.902 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002241/0.3907, allocations: 33.75 kB / 0.5205 GB, free: 1.887 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001827/0.3909, allocations: 43.09 kB / 0.5205 GB, free: 1.863 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002876/0.3912, allocations: 117.8 kB / 0.5206 GB, free: 1.805 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001582/0.3913, allocations: 82.61 kB / 0.5207 GB, free: 1.77 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001354/0.3915, allocations: 28.09 kB / 0.5207 GB, free: 1.758 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.479e-05/0.3916, allocations: 32.77 kB / 0.5208 GB, free: 1.742 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.792e-05/0.3916, allocations: 38.84 kB / 0.5208 GB, free: 1.723 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.108e-05/0.3917, allocations: 3.875 kB / 0.5208 GB, free: 1.723 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.983e-05/0.3918, allocations: 45.22 kB / 0.5208 GB, free: 1.711 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.335e-05/0.3918, allocations: 18.89 kB / 0.5209 GB, free: 1.703 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.145e-05/0.3919, allocations: 35.88 kB / 0.5209 GB, free: 1.676 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002023/0.3921, allocations: 106.7 kB / 0.521 GB, free: 1.633 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.3921, allocations: 0.6562 kB / 0.521 GB, free: 1.633 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.3921, allocations: 4 kB / 0.521 GB, free: 1.629 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.029e-06/0.3921, allocations: 0 / 0.521 GB, free: 1.629 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004322/0.3926, allocations: 407 kB / 0.5214 GB, free: 1.227 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.3926, allocations: 9 kB / 0.5214 GB, free: 1.227 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.513e-05/0.3926, allocations: 38.7 kB / 0.5214 GB, free: 1.184 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.506e-05/0.3927, allocations: 13.34 kB / 0.5214 GB, free: 1.176 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001526/0.3928, allocations: 190.8 kB / 0.5216 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.3929, allocations: 6.625 kB / 0.5216 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.257e-05/0.3929, allocations: 4.234 kB / 0.5216 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001752/0.3931, allocations: 86.56 kB / 0.5217 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.3931, allocations: 4.703 kB / 0.5217 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.3931, allocations: 9.188 kB / 0.5217 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.3931, allocations: 1.062 kB / 0.5217 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000131/0.3933, allocations: 42.42 kB / 0.5218 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000438/0.3937, allocations: 332.1 kB / 0.5221 GB, free: 0.582 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001426/0.3938, allocations: 65.94 kB / 0.5222 GB, free: 0.543 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.462e-05/0.3939, allocations: 32.27 kB / 0.5222 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.995e-05/0.394, allocations: 5.969 kB / 0.5222 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.251e-05/0.394, allocations: 36.62 kB / 0.5222 GB, free: 488 kB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.332e-06/0.394, allocations: 0 / 0.5222 GB, free: 488 kB / 382.1 MB Notification: Performance of matching and sorting (n=13): time 0.001077/0.3951, allocations: 320.8 kB / 0.5225 GB, free: 364 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.218e-05/0.3951, allocations: 53.12 kB / 0.5226 GB, free: 300 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001394/0.3953, allocations: 154.1 kB / 0.5227 GB, free: 184 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.159e-05/0.3953, allocations: 26.55 kB / 0.5228 GB, free: 152 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.513e-05/0.3953, allocations: 100 kB / 0.5229 GB, free: 56 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.093e-05/0.3954, allocations: 56.23 kB / 0.5229 GB, free: 8 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.581e-05/0.3955, allocations: 25.58 kB / 0.5229 GB, free: 15.99 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.3956, allocations: 324.3 kB / 0.5232 GB, free: 15.67 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001156/0.3958, allocations: 48.5 kB / 0.5233 GB, free: 15.65 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001036/0.3959, allocations: 45.72 kB / 0.5233 GB, free: 15.64 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002381/0.3961, allocations: 108 kB / 0.5234 GB, free: 15.6 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.3961, allocations: 4 kB / 0.5234 GB, free: 15.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003158/0.3964, allocations: 156.5 kB / 0.5236 GB, free: 15.52 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/0.3965, allocations: 10.16 kB / 0.5236 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.3965, allocations: 0 / 0.5236 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.3965, allocations: 1.031 kB / 0.5236 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000135/0.3966, allocations: 24.94 kB / 0.5236 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.3967, allocations: 1.156 kB / 0.5236 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.518e-05/0.3967, allocations: 4.844 kB / 0.5236 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.453e-05/0.3967, allocations: 12.06 kB / 0.5236 GB, free: 15.51 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 (13): * Single equations (assignments): 13 * 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.0001285/0.3969, allocations: 123.9 kB / 0.5238 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.02e-05/0.3969, allocations: 17.36 kB / 0.5238 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003989/0.3973, allocations: 174.9 kB / 0.5239 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.3973, allocations: 2.781 kB / 0.5239 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.271e-06/0.3974, allocations: 0.7031 kB / 0.5239 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.3974, allocations: 0.6094 kB / 0.5239 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007367/0.3981, allocations: 495.3 kB / 0.5244 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.3981, allocations: 1.672 kB / 0.5244 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001065/0.3982, allocations: 32.41 kB / 0.5244 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.584e-06/0.3982, allocations: 1.125 kB / 0.5245 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.3983, allocations: 2.25 kB / 0.5245 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.3983, allocations: 2.047 kB / 0.5245 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.3983, allocations: 1.688 kB / 0.5245 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003629/0.3986, allocations: 261.5 kB / 0.5247 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.079e-05/0.3987, allocations: 84.34 kB / 0.5248 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.179e-05/0.3987, allocations: 5.281 kB / 0.5248 GB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.161e-05/0.3988, allocations: 5.328 kB / 0.5248 GB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.421e-05/0.3989, allocations: 8.641 kB / 0.5248 GB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.292e-05/0.3989, allocations: 12.22 kB / 0.5248 GB, free: 14.59 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001093/0.399, allocations: 115.7 kB / 0.5249 GB, free: 14.51 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.399, allocations: 0 / 0.5249 GB, free: 14.51 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002698/0.3993, allocations: 31.69 kB / 0.525 GB, free: 14.5 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (13): * Single equations (assignments): 13 * 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.00225/0.4015, allocations: 1.133 MB / 0.5261 GB, free: 13.67 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003101/0.4019, allocations: 114.1 kB / 0.5262 GB, free: 13.64 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.4019, allocations: 1.406 kB / 0.5262 GB, free: 13.64 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001374/0.402, allocations: 63.7 kB / 0.5262 GB, free: 13.62 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004017/0.4024, allocations: 18.59 kB / 0.5263 GB, free: 13.62 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002203/0.4046, allocations: 1.721 MB / 0.5279 GB, free: 12.23 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003669/0.405, allocations: 0.7085 MB / 0.5286 GB, free: 11.53 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.292e-05/0.4051, allocations: 26.25 kB / 0.5286 GB, free: 11.53 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.234e-05/0.4052, allocations: 35.91 kB / 0.5287 GB, free: 11.51 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4052, allocations: 0 / 0.5287 GB, free: 11.51 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02524/0.4305, allocations: 3.197 MB / 0.5318 GB, free: 10.04 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.878/8.309, allocations: 14.14 kB / 0.5318 GB, free: 10.04 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29_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_CombiTable1Dv_Test29.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches