Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.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.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test8",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.0009787/0.0009786, allocations: 95.7 kB / 17.35 MB, free: 6.367 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.001375/0.001375, allocations: 176.8 kB / 18.25 MB, free: 5.527 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.4/1.4, allocations: 223.2 MB / 242.3 MB, free: 236 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.2054/0.2054, allocations: 44.25 MB / 337.7 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002969/0.0002972, allocations: 15.98 kB / 410.4 MB, free: 27.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1092, allocations: 61.92 MB / 472.3 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test8): time 0.002013/0.1113, allocations: 1.294 MB / 473.6 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007458/0.112, allocations: 395.3 kB / 474 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.181e-05/0.1121, allocations: 4 kB / 474 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006162/0.1128, allocations: 447.2 kB / 474.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003704/0.1131, allocations: 239.6 kB / 474.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004297/0.1136, allocations: 115.5 kB / 474.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003024/0.1139, allocations: 147.8 kB / 475 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.114, allocations: 11.98 kB / 475 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001878/0.1142, allocations: 107.7 kB / 475.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002637/0.1145, allocations: 195.7 kB / 475.3 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.967e-05/0.1145, allocations: 4 kB / 475.3 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.01e-05/0.1146, allocations: 19.94 kB / 475.3 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001302/0.1148, allocations: 75.69 kB / 475.4 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001111/0.1149, allocations: 128.7 kB / 475.5 MB, free: 10.08 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003095/0.1152, allocations: 231 kB / 475.7 MB, free: 9.855 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.1152, allocations: 0 / 475.7 MB, free: 9.855 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.1152, allocations: 0 / 475.7 MB, free: 9.855 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.1152, allocations: 0 / 475.7 MB, free: 9.855 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0008014/0.116, allocations: 0.5914 MB / 476.3 MB, free: 9.215 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.869e-05/0.1161, allocations: 8.031 kB / 476.3 MB, free: 9.207 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.846e-05/0.1162, allocations: 38.62 kB / 476.4 MB, free: 9.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.752e-05/0.1163, allocations: 44.38 kB / 476.4 MB, free: 9.117 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003356/0.1166, allocations: 292.2 kB / 476.7 MB, free: 8.793 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.503e-05/0.1166, allocations: 8.359 kB / 476.7 MB, free: 8.785 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.757e-06/0.1166, allocations: 4.375 kB / 476.7 MB, free: 8.781 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001367/0.1168, allocations: 49.62 kB / 476.7 MB, free: 8.727 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.1168, allocations: 4 kB / 476.7 MB, free: 8.723 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.415e-06/0.1168, allocations: 0 / 476.7 MB, free: 8.723 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.1168, allocations: 0 / 476.7 MB, free: 8.723 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.723e-05/0.1169, allocations: 23.98 kB / 476.8 MB, free: 8.699 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004423/0.1174, allocations: 384.7 kB / 477.1 MB, free: 8.273 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.091e-05/0.1175, allocations: 34.56 kB / 477.2 MB, free: 8.23 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.023e-05/0.1175, allocations: 12.92 kB / 477.2 MB, free: 8.215 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.749e-05/0.1175, allocations: 0 / 477.2 MB, free: 8.215 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.144e-05/0.1176, allocations: 34.56 kB / 477.2 MB, free: 8.172 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.1176, allocations: 0 / 477.2 MB, free: 8.172 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002498/0.1178, allocations: 113 kB / 477.3 MB, free: 8.055 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.375e-05/0.1179, allocations: 51.41 kB / 477.4 MB, free: 7.992 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000766/0.1186, allocations: 0.8613 MB / 478.2 MB, free: 7.121 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.36e-05/0.1187, allocations: 25.7 kB / 478.3 MB, free: 7.09 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001652/0.1188, allocations: 220.1 kB / 478.5 MB, free: 6.871 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.908e-05/0.1189, allocations: 11.78 kB / 478.5 MB, free: 6.859 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.499e-05/0.1189, allocations: 13.72 kB / 478.5 MB, free: 6.84 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000176/0.1191, allocations: 370.8 kB / 478.9 MB, free: 6.469 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.344e-05/0.1191, allocations: 8 kB / 478.9 MB, free: 6.461 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.354e-05/0.1192, allocations: 7.984 kB / 478.9 MB, free: 6.453 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.207e-05/0.1193, allocations: 32.78 kB / 478.9 MB, free: 6.418 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.1193, allocations: 4.062 kB / 478.9 MB, free: 6.414 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001629/0.1194, allocations: 89.22 kB / 479 MB, free: 6.32 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.1195, allocations: 4 kB / 479 MB, free: 6.316 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.1195, allocations: 0 / 479 MB, free: 6.316 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.1195, allocations: 4 kB / 479 MB, free: 6.312 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.818e-05/0.1196, allocations: 4 kB / 479 MB, free: 6.309 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.1196, allocations: 0 / 479 MB, free: 6.309 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.714e-05/0.1196, allocations: 12.02 kB / 479 MB, free: 6.297 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.1197, allocations: 0 / 479 MB, free: 6.297 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 (2): * Single equations (assignments): 2 * 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.00019/0.1199, allocations: 213.7 kB / 479.2 MB, free: 6.078 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.247e-05/0.1199, allocations: 39.44 kB / 479.3 MB, free: 6.039 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002188/0.1201, allocations: 112.5 kB / 479.4 MB, free: 5.918 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.1202, allocations: 0 / 479.4 MB, free: 5.918 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.1202, allocations: 3.984 kB / 479.4 MB, free: 5.914 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.1202, allocations: 4.031 kB / 479.4 MB, free: 5.91 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002834/0.1205, allocations: 289.5 kB / 479.7 MB, free: 5.578 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.1205, allocations: 3.984 kB / 479.7 MB, free: 5.574 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.702e-05/0.1205, allocations: 8 kB / 479.7 MB, free: 5.566 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.1205, allocations: 0 / 479.7 MB, free: 5.566 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.151e-06/0.1206, allocations: 0 / 479.7 MB, free: 5.566 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1206, allocations: 0 / 479.7 MB, free: 5.566 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1206, allocations: 0 / 479.7 MB, free: 5.566 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000184/0.1208, allocations: 198.9 kB / 479.9 MB, free: 5.355 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.671e-05/0.1208, allocations: 112.6 kB / 480 MB, free: 5.227 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.108e-05/0.1209, allocations: 0 / 480 MB, free: 5.227 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.303e-05/0.1209, allocations: 4 kB / 480 MB, free: 5.223 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.458e-05/0.121, allocations: 3.984 kB / 480 MB, free: 5.219 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-06/0.121, allocations: 0 / 480 MB, free: 5.219 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005539/0.1215, allocations: 0.6551 MB / 480.7 MB, free: 4.566 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.503e-06/0.1215, allocations: 0 / 480.7 MB, free: 4.566 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002358/0.1218, allocations: 19.88 kB / 480.7 MB, free: 4.547 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 (2): * Single equations (assignments): 2 * 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.001159/0.1229, allocations: 0.9657 MB / 481.6 MB, free: 3.684 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001275/0.1231, allocations: 27.92 kB / 481.7 MB, free: 3.656 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1231, allocations: 4.062 kB / 481.7 MB, free: 3.652 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.402e-05/0.1232, allocations: 12 kB / 481.7 MB, free: 3.641 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003547/0.1235, allocations: 25.83 kB / 481.7 MB, free: 3.621 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003218/0.1267, allocations: 3.214 MB / 484.9 MB, free: 312 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004433/0.1272, allocations: 0.8178 MB / 485.7 MB, free: 15.46 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.435e-05/0.1272, allocations: 15.98 kB / 485.8 MB, free: 15.45 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000127/0.1274, allocations: 107.4 kB / 485.9 MB, free: 15.34 MB / 366.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1274, allocations: 0 / 485.9 MB, free: 15.34 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01479/0.1422, allocations: 5.142 MB / 491 MB, free: 10.32 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001843/0.1424, allocations: 235.8 kB / 491.2 MB, free: 10.06 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.745/1.888, allocations: 7.938 kB / 491.2 MB, free: 10.05 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test8_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test8.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test8/Test8.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches