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.001257/0.001257, allocations: 102.8 kB / 17.63 MB, free: 5.336 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.001486/0.001486, allocations: 192 kB / 18.55 MB, free: 4.43 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.379/1.379, allocations: 222.9 MB / 242.3 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.2095/0.2095, allocations: 44.17 MB / 336.6 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001153/0.001153, allocations: 65.3 kB / 408.5 MB, free: 27.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09668/0.09785, allocations: 60.82 MB / 469.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab): time 0.00338/0.1013, allocations: 1.651 MB / 471 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009066/0.1022, allocations: 451 kB / 471.5 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.826e-05/0.1023, allocations: 4 kB / 471.5 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001711/0.1025, allocations: 27.8 kB / 471.5 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001938/0.1027, allocations: 35.78 kB / 471.5 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003823/0.1031, allocations: 142.4 kB / 471.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001539/0.1032, allocations: 71.78 kB / 471.7 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001428/0.1034, allocations: 20.22 kB / 471.7 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.429e-05/0.1035, allocations: 39.78 kB / 471.8 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.775e-05/0.1036, allocations: 39.84 kB / 471.8 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.144e-05/0.1036, allocations: 4 kB / 471.8 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001387/0.1037, allocations: 55.95 kB / 471.9 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.179e-05/0.1038, allocations: 23.92 kB / 471.9 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.151e-05/0.1039, allocations: 23.81 kB / 471.9 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002545/0.1041, allocations: 131.9 kB / 472.1 MB, free: 11.54 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1041, allocations: 0 / 472.1 MB, free: 11.54 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.1042, allocations: 4 kB / 472.1 MB, free: 11.54 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.843e-06/0.1042, allocations: 0 / 472.1 MB, free: 11.54 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.0006865/0.1049, allocations: 415.1 kB / 472.5 MB, free: 11.08 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.1049, allocations: 8.031 kB / 472.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.891e-05/0.105, allocations: 30.75 kB / 472.5 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.132e-05/0.105, allocations: 8.844 kB / 472.5 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002412/0.1053, allocations: 208.1 kB / 472.7 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.1053, allocations: 384 / 472.7 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.783e-05/0.1053, allocations: 12.38 kB / 472.7 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003161/0.1056, allocations: 91.28 kB / 472.8 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.1057, allocations: 0 / 472.8 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.1057, allocations: 0 / 472.8 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.281e-06/0.1057, allocations: 4 kB / 472.8 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000317/0.106, allocations: 71.86 kB / 472.9 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004943/0.1065, allocations: 304.8 kB / 473.2 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002443/0.1068, allocations: 74.47 kB / 473.3 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001582/0.1069, allocations: 44.95 kB / 473.3 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.567e-05/0.107, allocations: 3.984 kB / 473.3 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.658e-05/0.107, allocations: 34.56 kB / 473.3 MB, free: 10.07 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.232e-06/0.107, allocations: 3.938 kB / 473.3 MB, free: 10.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.001556/0.1086, allocations: 385.2 kB / 473.7 MB, free: 9.688 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.031e-05/0.1087, allocations: 77.11 kB / 473.8 MB, free: 9.594 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001385/0.1088, allocations: 157.7 kB / 474 MB, free: 9.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.255e-05/0.1088, allocations: 25.7 kB / 474 MB, free: 9.398 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.989e-05/0.1089, allocations: 104 kB / 474.1 MB, free: 9.293 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.635e-05/0.1089, allocations: 31.56 kB / 474.1 MB, free: 9.262 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.598e-05/0.109, allocations: 25.7 kB / 474.1 MB, free: 9.23 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.1091, allocations: 318.8 kB / 474.4 MB, free: 8.91 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002874/0.1094, allocations: 79.92 kB / 474.5 MB, free: 8.832 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003074/0.1097, allocations: 85.64 kB / 474.6 MB, free: 8.742 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005486/0.1103, allocations: 148.8 kB / 474.8 MB, free: 8.594 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.1103, allocations: 0 / 474.8 MB, free: 8.594 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006404/0.1109, allocations: 193.4 kB / 474.9 MB, free: 8.398 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.111, allocations: 4 kB / 474.9 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.111, allocations: 4 kB / 475 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.111, allocations: 3.938 kB / 475 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002225/0.1112, allocations: 39.91 kB / 475 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.1112, allocations: 3.984 kB / 475 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001539/0.1114, allocations: 23.97 kB / 475 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.162e-05/0.1114, allocations: 4 kB / 475 MB, free: 8.316 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 0.0001067/0.1115, allocations: 118.2 kB / 475.1 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.103e-05/0.1116, allocations: 7.906 kB / 475.1 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006708/0.1122, allocations: 214 kB / 475.4 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.197e-06/0.1123, allocations: 11.94 kB / 475.4 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.1123, allocations: 0 / 475.4 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.1123, allocations: 0 / 475.4 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001001/0.1133, allocations: 0.4904 MB / 475.9 MB, free: 7.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.1133, allocations: 0 / 475.9 MB, free: 7.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001823/0.1135, allocations: 39.89 kB / 475.9 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.1135, allocations: 0 / 475.9 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.1135, allocations: 4 kB / 475.9 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.085e-06/0.1135, allocations: 4 kB / 475.9 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1135, allocations: 3.938 kB / 475.9 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006683/0.1142, allocations: 283.2 kB / 476.2 MB, free: 7.066 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.64e-05/0.1143, allocations: 89 kB / 476.3 MB, free: 6.961 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.454e-05/0.1143, allocations: 8 kB / 476.3 MB, free: 6.953 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000177/0.1145, allocations: 23.97 kB / 476.3 MB, free: 6.93 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.501e-05/0.1145, allocations: 11.98 kB / 476.3 MB, free: 6.918 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.181e-06/0.1146, allocations: 0 / 476.3 MB, free: 6.918 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.517e-05/0.1147, allocations: 116.6 kB / 476.4 MB, free: 6.805 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1147, allocations: 4 kB / 476.4 MB, free: 6.801 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002614/0.1149, allocations: 31.98 kB / 476.5 MB, free: 6.77 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.001823/0.1168, allocations: 1.16 MB / 477.6 MB, free: 5.762 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000649/0.1174, allocations: 167.8 kB / 477.8 MB, free: 5.598 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1174, allocations: 7.938 kB / 477.8 MB, free: 5.59 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003015/0.1177, allocations: 79.86 kB / 477.9 MB, free: 5.512 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003446/0.1181, allocations: 26.42 kB / 477.9 MB, free: 5.488 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002776/0.1209, allocations: 1.793 MB / 479.7 MB, free: 3.613 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002958/0.1212, allocations: 0.6963 MB / 480.4 MB, free: 2.891 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.823e-05/0.1213, allocations: 24.53 kB / 480.4 MB, free: 2.867 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.938e-05/0.1214, allocations: 35.36 kB / 480.4 MB, free: 2.832 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1214, allocations: 0 / 480.4 MB, free: 2.832 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01927/0.1407, allocations: 3.704 MB / 484.2 MB, free: 15.21 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.728/7.869, allocations: 12.41 kB / 484.2 MB, free: 15.21 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