Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.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.Test18_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab",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.001161/0.001161, allocations: 112.8 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.001134/0.001134, allocations: 180.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.368/1.368, allocations: 222.9 MB / 242.4 MB, free: 15.16 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.2312/0.2312, allocations: 44.18 MB / 336.8 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 71.81 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4017/0.4029, allocations: 60.82 MB / 0.5184 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.002918/0.4059, allocations: 1.667 MB / 0.5201 GB, free: 2.145 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008245/0.4067, allocations: 475.7 kB / 0.5205 GB, free: 1.832 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.179e-05/0.4068, allocations: 0.9375 kB / 0.5205 GB, free: 1.832 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002272/0.407, allocations: 24.53 kB / 0.5206 GB, free: 1.816 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001962/0.4072, allocations: 44.17 kB / 0.5206 GB, free: 1.789 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004675/0.4077, allocations: 181.9 kB / 0.5208 GB, free: 1.699 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001829/0.4079, allocations: 85.23 kB / 0.5208 GB, free: 1.664 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.408, allocations: 20.31 kB / 0.5209 GB, free: 1.652 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.743e-05/0.4081, allocations: 37.39 kB / 0.5209 GB, free: 1.633 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.477e-05/0.4082, allocations: 40 kB / 0.5209 GB, free: 1.613 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.262e-05/0.4082, allocations: 9 kB / 0.521 GB, free: 1.609 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001265/0.4084, allocations: 59.11 kB / 0.521 GB, free: 1.59 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.458e-05/0.4084, allocations: 21.62 kB / 0.521 GB, free: 1.578 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.685e-05/0.4085, allocations: 34.39 kB / 0.5211 GB, free: 1.555 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002607/0.4088, allocations: 121.9 kB / 0.5212 GB, free: 1.508 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.4088, allocations: 0.6562 kB / 0.5212 GB, free: 1.508 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.4088, allocations: 5.156 kB / 0.5212 GB, free: 1.504 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.027e-05/0.4088, allocations: 3.938 kB / 0.5212 GB, free: 1.5 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.0005863/0.4094, allocations: 423.3 kB / 0.5216 GB, free: 1.098 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.4094, allocations: 9 kB / 0.5216 GB, free: 1.098 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.207e-05/0.4095, allocations: 41.67 kB / 0.5216 GB, free: 1.051 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.074e-05/0.4095, allocations: 9.594 kB / 0.5216 GB, free: 1.047 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001749/0.4097, allocations: 203.2 kB / 0.5218 GB, free: 0.832 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.4097, allocations: 5.281 kB / 0.5218 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.732e-05/0.4098, allocations: 11.27 kB / 0.5219 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002811/0.41, allocations: 91.31 kB / 0.5219 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.6e-05/0.4101, allocations: 1.219 kB / 0.5219 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.4101, allocations: 4 kB / 0.5219 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.4101, allocations: 0.875 kB / 0.5219 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003228/0.4104, allocations: 77.28 kB / 0.522 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005639/0.411, allocations: 334.2 kB / 0.5223 GB, free: 460 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002503/0.4113, allocations: 82.36 kB / 0.5224 GB, free: 416 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001828/0.4114, allocations: 48.67 kB / 0.5225 GB, free: 400 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.452e-05/0.4115, allocations: 1.125 kB / 0.5225 GB, free: 400 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.042e-05/0.4115, allocations: 32.61 kB / 0.5225 GB, free: 360 kB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.213e-06/0.4115, allocations: 0 / 0.5225 GB, free: 360 kB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.001685/0.4132, allocations: 417.4 kB / 0.5229 GB, free: 236 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.931e-05/0.4133, allocations: 91.06 kB / 0.523 GB, free: 128 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001437/0.4134, allocations: 150.6 kB / 0.5231 GB, free: 8 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.216e-05/0.4135, allocations: 25.7 kB / 0.5232 GB, free: 15.98 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.728e-05/0.4135, allocations: 99.09 kB / 0.5232 GB, free: 15.88 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.473e-05/0.4136, allocations: 33.39 kB / 0.5233 GB, free: 15.86 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.094e-05/0.4136, allocations: 23.3 kB / 0.5233 GB, free: 15.84 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.4138, allocations: 322.1 kB / 0.5236 GB, free: 15.52 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003088/0.4141, allocations: 80.41 kB / 0.5237 GB, free: 15.5 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003173/0.4144, allocations: 103.5 kB / 0.5238 GB, free: 15.46 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005978/0.415, allocations: 166.1 kB / 0.5239 GB, free: 15.43 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.415, allocations: 0 / 0.5239 GB, free: 15.43 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0007061/0.4157, allocations: 210.4 kB / 0.5241 GB, free: 15.36 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.4158, allocations: 8.656 kB / 0.5242 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.4158, allocations: 5.25 kB / 0.5242 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.4158, allocations: 0.5625 kB / 0.5242 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002325/0.416, allocations: 41 kB / 0.5242 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.416, allocations: 2.219 kB / 0.5242 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001588/0.4162, allocations: 25.78 kB / 0.5242 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.272e-05/0.4162, allocations: 4.438 kB / 0.5242 GB, free: 15.34 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 (10): * Single equations (assignments): 10 * 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.0001102/0.4163, allocations: 126.3 kB / 0.5243 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.445e-05/0.4164, allocations: 12.14 kB / 0.5244 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007503/0.4171, allocations: 220 kB / 0.5246 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.4172, allocations: 6.812 kB / 0.5246 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.4172, allocations: 0 / 0.5246 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.245e-06/0.4172, allocations: 8.688 kB / 0.5246 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001101/0.4183, allocations: 0.5166 MB / 0.5251 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.4183, allocations: 0 / 0.5251 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000189/0.4185, allocations: 34.39 kB / 0.5251 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.4185, allocations: 3.141 kB / 0.5251 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.468e-05/0.4185, allocations: 0 / 0.5251 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.4185, allocations: 3.938 kB / 0.5251 GB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.4185, allocations: 2.156 kB / 0.5251 GB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007537/0.4193, allocations: 305.8 kB / 0.5254 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.491e-05/0.4194, allocations: 85.59 kB / 0.5255 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.944e-05/0.4194, allocations: 8.453 kB / 0.5255 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000196/0.4196, allocations: 28.73 kB / 0.5255 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.119e-05/0.4197, allocations: 11.92 kB / 0.5255 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.145e-06/0.4197, allocations: 1.375 kB / 0.5255 GB, free: 14.45 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001157/0.4199, allocations: 120.2 kB / 0.5257 GB, free: 14.37 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4199, allocations: 0 / 0.5257 GB, free: 14.37 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003101/0.4202, allocations: 39.16 kB / 0.5257 GB, free: 14.36 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 (9): * Single equations (assignments): 9 * 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.00209/0.4223, allocations: 1.176 MB / 0.5269 GB, free: 13.54 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007276/0.423, allocations: 178.8 kB / 0.527 GB, free: 13.5 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.423, allocations: 3.938 kB / 0.527 GB, free: 13.5 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003241/0.4234, allocations: 88.97 kB / 0.5271 GB, free: 13.48 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004046/0.4238, allocations: 21.28 kB / 0.5271 GB, free: 13.47 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003183/0.427, allocations: 1.896 MB / 0.529 GB, free: 11.92 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003177/0.4273, allocations: 0.7125 MB / 0.5297 GB, free: 11.2 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001432/0.4275, allocations: 36.98 kB / 0.5297 GB, free: 11.18 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.128e-05/0.4276, allocations: 31.67 kB / 0.5297 GB, free: 11.16 MB / 398.1 MB Notification: Performance of SimCode: time 2.81e-07/0.4276, allocations: 0 / 0.5297 GB, free: 11.16 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02517/0.4527, allocations: 3.922 MB / 0.5336 GB, free: 8.996 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.547/8, allocations: 8.969 kB / 0.5336 GB, free: 8.992 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_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_CombiTable2Dv_Test18_usertab.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches