Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.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.CombiTable2Dv.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test19",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.000992/0.0009919, 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.001083/0.001083, allocations: 183.9 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.326/1.326, 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.2263/0.2263, allocations: 44.19 MB / 336.8 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 71.83 kB / 470.1 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3925/0.3938, allocations: 60.82 MB / 0.5184 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test19): time 0.003224/0.3971, allocations: 1.872 MB / 0.5203 GB, free: 1.992 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001523/0.3986, allocations: 0.9127 MB / 0.5211 GB, free: 1.391 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001117/0.3988, allocations: 5.938 kB / 0.5212 GB, free: 1.387 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006487/0.3994, allocations: 261.5 kB / 0.5214 GB, free: 1.328 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005395/0.4, allocations: 193.9 kB / 0.5216 GB, free: 1.262 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001982/0.402, allocations: 0.6312 MB / 0.5222 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006379/0.4027, allocations: 279.2 kB / 0.5225 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002467/0.4029, allocations: 57.66 kB / 0.5225 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002185/0.4031, allocations: 121 kB / 0.5226 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003662/0.4035, allocations: 184 kB / 0.5228 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.062e-05/0.4036, allocations: 6.688 kB / 0.5228 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002051/0.4038, allocations: 51.16 kB / 0.5229 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002026/0.404, allocations: 90.8 kB / 0.523 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001362/0.4041, allocations: 109.7 kB / 0.5231 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000608/0.4047, allocations: 286.5 kB / 0.5233 GB, free: 492 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/0.4048, allocations: 0 / 0.5233 GB, free: 492 kB / 382.1 MB Notification: Performance of FrontEnd: time 5.13e-06/0.4048, allocations: 1.156 kB / 0.5233 GB, free: 492 kB / 382.1 MB Notification: Performance of Transformations before backend: time 9.448e-06/0.4048, allocations: 3.938 kB / 0.5233 GB, free: 488 kB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001065/0.4059, allocations: 0.6307 MB / 0.524 GB, free: 15.92 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.782e-05/0.4059, allocations: 10.72 kB / 0.524 GB, free: 15.92 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.174e-05/0.406, allocations: 46.3 kB / 0.524 GB, free: 15.87 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.946e-05/0.4061, allocations: 41.78 kB / 0.5241 GB, free: 15.85 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004294/0.4065, allocations: 324.2 kB / 0.5244 GB, free: 15.57 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.4065, allocations: 11.09 kB / 0.5244 GB, free: 15.56 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.557e-05/0.4066, allocations: 3.469 kB / 0.5244 GB, free: 15.56 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002347/0.4068, allocations: 99.64 kB / 0.5245 GB, free: 15.51 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.4068, allocations: 0 / 0.5245 GB, free: 15.51 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.4068, allocations: 3.938 kB / 0.5245 GB, free: 15.5 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.4069, allocations: 3.219 kB / 0.5245 GB, free: 15.5 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001722/0.407, allocations: 78.09 kB / 0.5246 GB, free: 15.48 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006859/0.4077, allocations: 465.9 kB / 0.525 GB, free: 15.13 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001585/0.4079, allocations: 71.45 kB / 0.5251 GB, free: 15.09 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.941e-05/0.408, allocations: 38.5 kB / 0.5251 GB, free: 15.07 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.188e-05/0.408, allocations: 6.219 kB / 0.5251 GB, free: 15.07 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.993e-05/0.4081, allocations: 37.2 kB / 0.5251 GB, free: 15.02 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.4081, allocations: 0 / 0.5251 GB, free: 15.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.00038/0.4085, allocations: 153.9 kB / 0.5253 GB, free: 14.95 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.132e-05/0.4085, allocations: 56.88 kB / 0.5253 GB, free: 14.88 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006829/0.4092, allocations: 0.5501 MB / 0.5259 GB, free: 14.66 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.252e-05/0.4092, allocations: 26.41 kB / 0.5259 GB, free: 14.63 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001591/0.4094, allocations: 202.7 kB / 0.5261 GB, free: 14.46 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.911e-05/0.4094, allocations: 14.67 kB / 0.5261 GB, free: 14.45 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.421e-05/0.4095, allocations: 26.27 kB / 0.5261 GB, free: 14.43 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.4097, allocations: 349.9 kB / 0.5265 GB, free: 14.1 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.48e-05/0.4097, allocations: 22.94 kB / 0.5265 GB, free: 14.09 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.588e-05/0.4098, allocations: 26.62 kB / 0.5265 GB, free: 14.09 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001373/0.41, allocations: 64.56 kB / 0.5266 GB, free: 14.06 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.41, allocations: 0 / 0.5266 GB, free: 14.06 MB / 398.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002319/0.4102, allocations: 134.4 kB / 0.5267 GB, free: 13.98 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.4102, allocations: 10.25 kB / 0.5267 GB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.4102, allocations: 0 / 0.5267 GB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.993e-05/0.4103, allocations: 5.312 kB / 0.5267 GB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.323e-05/0.4104, allocations: 11.88 kB / 0.5267 GB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.119e-06/0.4104, allocations: 0 / 0.5267 GB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.966e-05/0.4105, allocations: 9.469 kB / 0.5267 GB, free: 13.97 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/0.4105, allocations: 2.75 kB / 0.5267 GB, free: 13.97 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 (6): * Single equations (assignments): 6 * 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.0001674/0.4106, allocations: 170.3 kB / 0.5269 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.585e-05/0.4107, allocations: 41.06 kB / 0.5269 GB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003077/0.411, allocations: 155.6 kB / 0.5271 GB, free: 13.72 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.411, allocations: 5.375 kB / 0.5271 GB, free: 13.72 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.4111, allocations: 4 kB / 0.5271 GB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.4111, allocations: 1.375 kB / 0.5271 GB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003503/0.4114, allocations: 294.1 kB / 0.5274 GB, free: 13.44 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.4114, allocations: 0 / 0.5274 GB, free: 13.44 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.406e-05/0.4115, allocations: 9.625 kB / 0.5274 GB, free: 13.44 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.4115, allocations: 3.984 kB / 0.5274 GB, free: 13.44 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.4115, allocations: 1.375 kB / 0.5274 GB, free: 13.44 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.4115, allocations: 9.312 kB / 0.5274 GB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.4115, allocations: 0 / 0.5274 GB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002647/0.4118, allocations: 229.1 kB / 0.5276 GB, free: 13.24 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.611e-05/0.4119, allocations: 113.4 kB / 0.5277 GB, free: 13.12 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.24e-05/0.4119, allocations: 0 / 0.5277 GB, free: 13.12 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.166e-05/0.412, allocations: 16.27 kB / 0.5278 GB, free: 13.11 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.349e-05/0.4121, allocations: 2.812 kB / 0.5278 GB, free: 13.11 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/0.4121, allocations: 5.688 kB / 0.5278 GB, free: 13.11 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004546/0.4126, allocations: 415.9 kB / 0.5282 GB, free: 12.89 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4126, allocations: 0 / 0.5282 GB, free: 12.89 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003131/0.4129, allocations: 36.58 kB / 0.5282 GB, free: 12.88 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 (6): * Single equations (assignments): 6 * 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.001843/0.4147, allocations: 1.26 MB / 0.5294 GB, free: 11.98 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002099/0.415, allocations: 65.81 kB / 0.5295 GB, free: 11.96 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.415, allocations: 0 / 0.5295 GB, free: 11.96 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.318e-05/0.4151, allocations: 35.69 kB / 0.5295 GB, free: 11.94 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005731/0.4156, allocations: 67.25 kB / 0.5296 GB, free: 11.91 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003441/0.4191, allocations: 2.821 MB / 0.5323 GB, free: 9.973 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004346/0.4195, allocations: 0.804 MB / 0.5331 GB, free: 9.215 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001829/0.4197, allocations: 54.22 kB / 0.5332 GB, free: 9.188 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001394/0.4199, allocations: 107.6 kB / 0.5333 GB, free: 9.094 MB / 398.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4199, allocations: 0 / 0.5333 GB, free: 9.094 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02693/0.4468, allocations: 6.649 MB / 0.5398 GB, free: 5.648 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.971/8.418, allocations: 12.7 kB / 0.5398 GB, free: 5.641 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19_res.csv --start-time 0 --stop-time 6 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0024 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test19.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches