Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.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.Test29,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test29,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test29",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.001193/0.001193, allocations: 106.5 kB / 17.2 MB, free: 6.289 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.001169/0.001169, allocations: 194 kB / 18.12 MB, free: 5.383 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.364/1.364, allocations: 222.9 MB / 241.8 MB, free: 15.5 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.2571/0.2571, allocations: 44.18 MB / 336.1 MB, free: 3.016 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 70.17 kB / 407.8 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1126, allocations: 60.82 MB / 468.6 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test29): time 0.002959/0.1156, allocations: 1.7 MB / 470.3 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007216/0.1164, allocations: 427.1 kB / 470.7 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.998e-05/0.1164, allocations: 0 / 470.7 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002334/0.1167, allocations: 59.84 kB / 470.8 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001442/0.1169, allocations: 55.88 kB / 470.9 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002987/0.1172, allocations: 127.2 kB / 471 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001302/0.1173, allocations: 67.83 kB / 471 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.1174, allocations: 19.98 kB / 471.1 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.526e-05/0.1175, allocations: 31.91 kB / 471.1 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.343e-05/0.1176, allocations: 51.77 kB / 471.2 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.708e-05/0.1176, allocations: 4 kB / 471.2 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.438e-05/0.1177, allocations: 47.97 kB / 471.2 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.386e-05/0.1178, allocations: 31.84 kB / 471.2 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.227e-05/0.1178, allocations: 27.75 kB / 471.3 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001703/0.118, allocations: 107.9 kB / 471.4 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.118, allocations: 0 / 471.4 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.118, allocations: 4 kB / 471.4 MB, free: 11.99 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.928e-06/0.118, allocations: 0 / 471.4 MB, free: 11.99 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005532/0.1186, allocations: 427 kB / 471.8 MB, free: 11.53 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.1186, allocations: 11.97 kB / 471.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.84e-05/0.1187, allocations: 38.69 kB / 471.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.701e-05/0.1187, allocations: 8.844 kB / 471.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002071/0.1189, allocations: 204.8 kB / 472 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.564e-06/0.119, allocations: 384 / 472 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.936e-05/0.119, allocations: 4.375 kB / 472 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001811/0.1192, allocations: 61.61 kB / 472.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.1192, allocations: 7.938 kB / 472.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.1192, allocations: 4 kB / 472.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.1192, allocations: 4 kB / 472.1 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001354/0.1194, allocations: 43.89 kB / 472.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003912/0.1198, allocations: 304.7 kB / 472.5 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002315/0.12, allocations: 62.58 kB / 472.5 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.39e-05/0.1201, allocations: 24.97 kB / 472.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.421e-05/0.1201, allocations: 4 kB / 472.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.454e-05/0.1201, allocations: 30.56 kB / 472.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.1202, allocations: 0 / 472.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001502/0.1217, allocations: 393.2 kB / 473 MB, free: 10.21 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.058e-05/0.1217, allocations: 51.41 kB / 473 MB, free: 10.15 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002281/0.122, allocations: 215.3 kB / 473.2 MB, free: 9.926 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.125e-05/0.122, allocations: 25.7 kB / 473.3 MB, free: 9.895 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.741e-05/0.1221, allocations: 112 kB / 473.4 MB, free: 9.781 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.165e-05/0.1221, allocations: 39.47 kB / 473.4 MB, free: 9.742 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.169e-05/0.1222, allocations: 25.7 kB / 473.4 MB, free: 9.711 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.1223, allocations: 330.8 kB / 473.8 MB, free: 9.379 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001272/0.1225, allocations: 40.03 kB / 473.8 MB, free: 9.34 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001278/0.1226, allocations: 47.91 kB / 473.8 MB, free: 9.293 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002283/0.1229, allocations: 92.81 kB / 473.9 MB, free: 9.199 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.1229, allocations: 4 kB / 473.9 MB, free: 9.195 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003039/0.1232, allocations: 141.5 kB / 474.1 MB, free: 9.051 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.1232, allocations: 11.98 kB / 474.1 MB, free: 9.039 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.1232, allocations: 0 / 474.1 MB, free: 9.039 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.1232, allocations: 7.875 kB / 474.1 MB, free: 9.031 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/0.1233, allocations: 27.92 kB / 474.1 MB, free: 9.004 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/0.1234, allocations: 3.984 kB / 474.1 MB, free: 9 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.239e-05/0.1234, allocations: 15.98 kB / 474.1 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.825e-06/0.1234, allocations: 3.938 kB / 474.1 MB, free: 8.98 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 (11): * Single equations (assignments): 11 * 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.0001141/0.1236, allocations: 129.8 kB / 474.3 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.995e-05/0.1236, allocations: 15.81 kB / 474.3 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003661/0.124, allocations: 159 kB / 474.4 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.124, allocations: 11.94 kB / 474.4 MB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.124, allocations: 0 / 474.4 MB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.124, allocations: 0 / 474.4 MB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006782/0.1247, allocations: 468 kB / 474.9 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.1247, allocations: 8.047 kB / 474.9 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.869e-05/0.1248, allocations: 31.97 kB / 474.9 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.1248, allocations: 0 / 474.9 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.949e-06/0.1249, allocations: 3.938 kB / 474.9 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-06/0.1249, allocations: 4 kB / 475 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1249, allocations: 0 / 475 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003818/0.1253, allocations: 257.4 kB / 475.2 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.928e-05/0.1254, allocations: 85.02 kB / 475.3 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.452e-05/0.1254, allocations: 8 kB / 475.3 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.1255, allocations: 11.98 kB / 475.3 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.281e-05/0.1256, allocations: 7.984 kB / 475.3 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.844e-06/0.1256, allocations: 8 kB / 475.3 MB, free: 7.684 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001457/0.1257, allocations: 155.9 kB / 475.5 MB, free: 7.531 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1257, allocations: 0 / 475.5 MB, free: 7.531 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002729/0.126, allocations: 27.98 kB / 475.5 MB, free: 7.504 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001961/0.128, allocations: 1.14 MB / 476.6 MB, free: 6.516 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003093/0.1283, allocations: 111.8 kB / 476.7 MB, free: 6.406 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.1283, allocations: 4 kB / 476.8 MB, free: 6.402 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001464/0.1285, allocations: 55.91 kB / 476.8 MB, free: 6.348 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004069/0.1289, allocations: 23.98 kB / 476.8 MB, free: 6.324 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002266/0.1312, allocations: 1.869 MB / 478.7 MB, free: 4.371 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003606/0.1315, allocations: 0.7083 MB / 479.4 MB, free: 3.637 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.373e-05/0.1316, allocations: 24.53 kB / 479.4 MB, free: 3.609 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.921e-05/0.1317, allocations: 35.36 kB / 479.5 MB, free: 3.574 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1317, allocations: 0 / 479.5 MB, free: 3.574 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01512/0.1468, allocations: 3.125 MB / 482.6 MB, free: 0.543 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003056/0.1472, allocations: 240.9 kB / 482.8 MB, free: 288 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.988/2.135, allocations: 0 / 482.8 MB, free: 288 kB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test29_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test29.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches