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.001481/0.001481, allocations: 111.8 kB / 17.78 MB, free: 5.281 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.001733/0.001733, allocations: 179.9 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.396/1.396, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.2087/0.2087, allocations: 44.18 MB / 336.8 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001424, allocations: 68.12 kB / 470.1 MB, free: 13.63 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3844/0.3859, allocations: 60.82 MB / 0.5185 GB, free: 3.309 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test29): time 0.004021/0.3899, allocations: 1.621 MB / 0.52 GB, free: 2.184 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00109/0.3911, allocations: 419.5 kB / 0.5204 GB, free: 1.91 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.181e-05/0.3911, allocations: 6.188 kB / 0.5204 GB, free: 1.906 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002874/0.3914, allocations: 32.42 kB / 0.5205 GB, free: 1.891 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002605/0.3917, allocations: 48.56 kB / 0.5205 GB, free: 1.863 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004844/0.3922, allocations: 105.6 kB / 0.5206 GB, free: 1.812 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002031/0.3924, allocations: 83.45 kB / 0.5207 GB, free: 1.777 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001488/0.3926, allocations: 34.56 kB / 0.5207 GB, free: 1.758 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.515e-05/0.3927, allocations: 29.59 kB / 0.5208 GB, free: 1.746 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001156/0.3928, allocations: 37.97 kB / 0.5208 GB, free: 1.727 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.32e-05/0.3929, allocations: 8.562 kB / 0.5208 GB, free: 1.723 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001316/0.393, allocations: 41.5 kB / 0.5208 GB, free: 1.715 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.707e-05/0.3931, allocations: 17.84 kB / 0.5209 GB, free: 1.707 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.528e-05/0.3932, allocations: 36.69 kB / 0.5209 GB, free: 1.68 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002584/0.3934, allocations: 109.7 kB / 0.521 GB, free: 1.633 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.3934, allocations: 1.312 kB / 0.521 GB, free: 1.633 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3935, allocations: 4 kB / 0.521 GB, free: 1.629 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.034e-06/0.3935, 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.0005449/0.394, allocations: 398.5 kB / 0.5214 GB, free: 1.234 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.988e-05/0.3941, allocations: 13.97 kB / 0.5214 GB, free: 1.23 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.883e-05/0.3941, allocations: 38.25 kB / 0.5214 GB, free: 1.188 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.125e-05/0.3942, allocations: 14.22 kB / 0.5214 GB, free: 1.18 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002087/0.3944, allocations: 198.3 kB / 0.5216 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.595e-05/0.3945, allocations: 3.375 kB / 0.5216 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.823e-05/0.3945, allocations: 8.812 kB / 0.5216 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002457/0.3948, allocations: 85.14 kB / 0.5217 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.081e-05/0.3948, allocations: 4.844 kB / 0.5217 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.622e-05/0.3948, allocations: 1.125 kB / 0.5217 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.196e-06/0.3948, allocations: 1.125 kB / 0.5217 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00021/0.3951, allocations: 41.5 kB / 0.5218 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005867/0.3957, allocations: 331.9 kB / 0.5221 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000215/0.3959, allocations: 70.81 kB / 0.5222 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001063/0.396, allocations: 24.83 kB / 0.5222 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.073e-05/0.3961, allocations: 2.016 kB / 0.5222 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.42e-05/0.3961, allocations: 38.56 kB / 0.5222 GB, free: 500 kB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 2.024e-06/0.3961, allocations: 4.781 kB / 0.5222 GB, free: 496 kB / 382.1 MB Notification: Performance of matching and sorting (n=13): time 0.001719/0.3978, allocations: 316.1 kB / 0.5225 GB, free: 376 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.727e-05/0.3979, allocations: 58.25 kB / 0.5226 GB, free: 308 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001752/0.3981, allocations: 150.9 kB / 0.5227 GB, free: 196 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.442e-05/0.3981, allocations: 31.23 kB / 0.5228 GB, free: 160 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.335e-05/0.3982, allocations: 97.56 kB / 0.5229 GB, free: 64 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.853e-05/0.3982, allocations: 53.66 kB / 0.5229 GB, free: 20 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.818e-05/0.3983, allocations: 29.41 kB / 0.5229 GB, free: 15.99 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001614/0.3985, allocations: 321.4 kB / 0.5232 GB, free: 15.68 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001886/0.3987, allocations: 42.86 kB / 0.5233 GB, free: 15.66 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001946/0.3989, allocations: 45.8 kB / 0.5233 GB, free: 15.65 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000396/0.3993, allocations: 115.8 kB / 0.5234 GB, free: 15.6 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.3994, allocations: 4 kB / 0.5234 GB, free: 15.6 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004918/0.3999, allocations: 153.6 kB / 0.5236 GB, free: 15.53 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/0.3999, allocations: 12.44 kB / 0.5236 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.3999, allocations: 1.125 kB / 0.5236 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.069e-05/0.3999, allocations: 2.016 kB / 0.5236 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000208/0.4002, allocations: 24.25 kB / 0.5236 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.4002, allocations: 1.094 kB / 0.5236 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.086e-05/0.4003, allocations: 10.17 kB / 0.5236 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.636e-05/0.4003, allocations: 7.297 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.0001545/0.4005, allocations: 128.5 kB / 0.5238 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.919e-05/0.4005, allocations: 12.36 kB / 0.5238 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006434/0.4012, allocations: 178.7 kB / 0.5239 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.4012, allocations: 2.031 kB / 0.5239 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.4012, allocations: 0 / 0.5239 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/0.4013, allocations: 0.7969 kB / 0.5239 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001078/0.4023, allocations: 498.3 kB / 0.5244 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.161e-06/0.4024, allocations: 0.6094 kB / 0.5244 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001617/0.4025, allocations: 29.08 kB / 0.5244 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.077e-05/0.4026, allocations: 8.547 kB / 0.5245 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/0.4026, allocations: 8.078 kB / 0.5245 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.4026, allocations: 0 / 0.5245 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.4026, allocations: 0 / 0.5245 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005375/0.4032, allocations: 254.2 kB / 0.5247 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.638e-05/0.4033, allocations: 89.28 kB / 0.5248 GB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.88e-05/0.4033, allocations: 1.625 kB / 0.5248 GB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001362/0.4034, allocations: 4.359 kB / 0.5248 GB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.189e-05/0.4035, allocations: 13.17 kB / 0.5248 GB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.397e-05/0.4035, allocations: 8.391 kB / 0.5248 GB, free: 14.59 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001421/0.4037, allocations: 121.5 kB / 0.5249 GB, free: 14.51 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.4037, allocations: 0 / 0.5249 GB, free: 14.51 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005032/0.4042, allocations: 31.11 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.002587/0.4068, allocations: 1.127 MB / 0.5261 GB, free: 13.67 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005065/0.4073, allocations: 117.6 kB / 0.5262 GB, free: 13.64 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.4074, allocations: 0 / 0.5262 GB, free: 13.64 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002359/0.4076, allocations: 62.06 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.0006126/0.4082, allocations: 27.44 kB / 0.5263 GB, free: 13.61 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003342/0.4116, allocations: 1.713 MB / 0.5279 GB, free: 12.23 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004164/0.412, allocations: 0.7164 MB / 0.5286 GB, free: 11.53 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001413/0.4122, allocations: 24.88 kB / 0.5287 GB, free: 11.52 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000107/0.4123, allocations: 35.48 kB / 0.5287 GB, free: 11.5 MB / 398.1 MB Notification: Performance of SimCode: time 3.61e-07/0.4123, allocations: 0 / 0.5287 GB, free: 11.5 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02835/0.4407, allocations: 3.194 MB / 0.5318 GB, free: 10.03 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.689/8.13, allocations: 6.391 kB / 0.5318 GB, free: 10.02 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