Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test18_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_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.001121/0.001121, allocations: 95.34 kB / 17.35 MB, free: 6.344 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.001411/0.001411, allocations: 173.8 kB / 18.25 MB, free: 5.504 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.302/1.302, allocations: 223.3 MB / 242.3 MB, free: 204 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.179/0.179, allocations: 44.26 MB / 337.7 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002787/0.0002787, allocations: 8.781 kB / 410.4 MB, free: 27.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0932/0.09349, allocations: 61.91 MB / 472.4 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab): time 0.001973/0.0955, allocations: 1.376 MB / 473.7 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007667/0.0963, allocations: 439.2 kB / 474.2 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.158e-05/0.09637, allocations: 0 / 474.2 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001838/0.09657, allocations: 19.92 kB / 474.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001538/0.09673, allocations: 31.84 kB / 474.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003418/0.09708, allocations: 127.1 kB / 474.3 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001418/0.09724, allocations: 79.7 kB / 474.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.255e-05/0.09734, allocations: 16.23 kB / 474.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.726e-05/0.09741, allocations: 31.84 kB / 474.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.367e-05/0.09748, allocations: 31.83 kB / 474.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.51e-05/0.0975, allocations: 4 kB / 474.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001209/0.09763, allocations: 47.98 kB / 474.5 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.326e-05/0.0977, allocations: 19.91 kB / 474.6 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.029e-05/0.09776, allocations: 61.44 kB / 474.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001908/0.09796, allocations: 123.8 kB / 474.7 MB, free: 10.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.09797, allocations: 0 / 474.7 MB, free: 10.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.09798, allocations: 0 / 474.7 MB, free: 10.84 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.877e-06/0.09798, allocations: 0 / 474.7 MB, free: 10.84 MB / 350.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.0005538/0.09854, allocations: 411.3 kB / 475.1 MB, free: 10.39 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.09859, allocations: 12.03 kB / 475.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.488e-05/0.09863, allocations: 34.75 kB / 475.2 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.437e-05/0.09867, allocations: 12.75 kB / 475.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001793/0.09886, allocations: 194.3 kB / 475.4 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.875e-06/0.09887, allocations: 4.375 kB / 475.4 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.0989, allocations: 384 / 475.4 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002713/0.09917, allocations: 111.2 kB / 475.5 MB, free: 9.969 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.09919, allocations: 0 / 475.5 MB, free: 9.969 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.09921, allocations: 0 / 475.5 MB, free: 9.969 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.09922, allocations: 4 kB / 475.5 MB, free: 9.965 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003082/0.09953, allocations: 91.91 kB / 475.6 MB, free: 9.875 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004065/0.09995, allocations: 316.7 kB / 475.9 MB, free: 9.516 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002305/0.1002, allocations: 78.47 kB / 476 MB, free: 9.43 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001662/0.1004, allocations: 56.95 kB / 476 MB, free: 9.371 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.165e-05/0.1004, allocations: 0 / 476 MB, free: 9.371 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.209e-05/0.1004, allocations: 30.56 kB / 476.1 MB, free: 9.332 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 2.175e-06/0.1004, allocations: 4 kB / 476.1 MB, free: 9.328 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.001641/0.1021, allocations: 484.9 kB / 476.6 MB, free: 8.848 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.489e-05/0.1021, allocations: 81.05 kB / 476.6 MB, free: 8.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001383/0.1023, allocations: 161.6 kB / 476.8 MB, free: 8.582 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.606e-05/0.1023, allocations: 25.7 kB / 476.8 MB, free: 8.551 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.984e-05/0.1024, allocations: 96.14 kB / 476.9 MB, free: 8.453 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.751e-05/0.1024, allocations: 31.55 kB / 476.9 MB, free: 8.422 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.866e-05/0.1024, allocations: 17.72 kB / 477 MB, free: 8.398 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.192e-05/0.1025, allocations: 318.8 kB / 477.3 MB, free: 8.078 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002966/0.1028, allocations: 95.92 kB / 477.4 MB, free: 7.984 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000296/0.1031, allocations: 109.7 kB / 477.5 MB, free: 7.871 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005601/0.1037, allocations: 196.8 kB / 477.7 MB, free: 7.676 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.1037, allocations: 0 / 477.7 MB, free: 7.676 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006372/0.1043, allocations: 233.5 kB / 477.9 MB, free: 7.441 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.1044, allocations: 6.5 kB / 477.9 MB, free: 7.438 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.1044, allocations: 0 / 477.9 MB, free: 7.438 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.1044, allocations: 3.938 kB / 477.9 MB, free: 7.434 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002154/0.1046, allocations: 55.89 kB / 478 MB, free: 7.379 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.1046, allocations: 0 / 478 MB, free: 7.379 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001566/0.1048, allocations: 35.97 kB / 478 MB, free: 7.344 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.22e-05/0.1048, allocations: 11.98 kB / 478 MB, free: 7.332 MB / 350.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 8.282e-05/0.1049, allocations: 113.8 kB / 478.1 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.506e-05/0.1049, allocations: 7.906 kB / 478.1 MB, free: 7.203 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006956/0.1056, allocations: 254.1 kB / 478.4 MB, free: 6.949 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.481e-06/0.1057, allocations: 7.938 kB / 478.4 MB, free: 6.941 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.1057, allocations: 0 / 478.4 MB, free: 6.941 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.1057, allocations: 0 / 478.4 MB, free: 6.941 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008937/0.1066, allocations: 0.5374 MB / 478.9 MB, free: 6.348 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.1066, allocations: 4.375 kB / 478.9 MB, free: 6.344 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001859/0.1068, allocations: 44.06 kB / 479 MB, free: 6.301 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.1068, allocations: 3.938 kB / 479 MB, free: 6.297 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/0.1068, allocations: 11.98 kB / 479 MB, free: 6.285 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.508e-06/0.1068, allocations: 7.984 kB / 479 MB, free: 6.277 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.1068, allocations: 0 / 479 MB, free: 6.277 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006556/0.1075, allocations: 335.1 kB / 479.3 MB, free: 5.934 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.551e-05/0.1075, allocations: 93 kB / 479.4 MB, free: 5.824 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.983e-05/0.1076, allocations: 0 / 479.4 MB, free: 5.824 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001791/0.1078, allocations: 31.97 kB / 479.4 MB, free: 5.793 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.324e-05/0.1078, allocations: 15.98 kB / 479.4 MB, free: 5.777 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.436e-06/0.1078, allocations: 4 kB / 479.5 MB, free: 5.773 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.23e-05/0.1079, allocations: 116.9 kB / 479.6 MB, free: 5.66 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.1079, allocations: 0 / 479.6 MB, free: 5.66 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000257/0.1082, allocations: 35.98 kB / 479.6 MB, free: 5.625 MB / 350.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.001738/0.1099, allocations: 1.191 MB / 480.8 MB, free: 4.586 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006288/0.1106, allocations: 203.7 kB / 481 MB, free: 4.387 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.1106, allocations: 0 / 481 MB, free: 4.387 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003015/0.1109, allocations: 115.8 kB / 481.1 MB, free: 4.273 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003096/0.1112, allocations: 19.98 kB / 481.1 MB, free: 4.254 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002684/0.1139, allocations: 1.937 MB / 483.1 MB, free: 2.238 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002123/0.1141, allocations: 0.6965 MB / 483.8 MB, free: 1.516 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.7e-05/0.1142, allocations: 20.52 kB / 483.8 MB, free: 1.496 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.547e-05/0.1143, allocations: 39.42 kB / 483.8 MB, free: 1.457 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1143, allocations: 3.938 kB / 483.8 MB, free: 1.453 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8737/0.988, allocations: 3.195 MB / 487 MB, free: 14.4 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.3464/1.334, allocations: 250.2 kB / 487.3 MB, free: 14.14 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.996/3.331, allocations: 3.234 kB / 487.3 MB, free: 14.14 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches