Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test31,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test31,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test31",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009058/0.0009058, allocations: 93.22 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001077/0.001077, allocations: 203.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.312/1.312, allocations: 227.7 MB / 246.8 MB, free: 9.551 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1944/0.1944, allocations: 46.18 MB / 345.2 MB, free: 11.18 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002283/0.0002284, allocations: 8 kB / 419.6 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1043, allocations: 63.56 MB / 483.2 MB, free: 4.043 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test31): time 0.002436/0.1068, allocations: 1.384 MB / 484.6 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002219/0.109, allocations: 1.136 MB / 485.7 MB, free: 1.504 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.142e-05/0.1091, allocations: 4 kB / 485.7 MB, free: 1.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001865/0.1093, allocations: 19.92 kB / 485.7 MB, free: 1.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002983/0.1096, allocations: 63.77 kB / 485.8 MB, free: 1.418 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004378/0.1101, allocations: 119.7 kB / 485.9 MB, free: 1.305 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001561/0.1102, allocations: 71.77 kB / 486 MB, free: 1.234 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.1103, allocations: 16 kB / 486 MB, free: 1.219 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.1e-05/0.1104, allocations: 23.91 kB / 486 MB, free: 1.195 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001671/0.1106, allocations: 43.7 kB / 486.1 MB, free: 1.152 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.622e-05/0.1106, allocations: 4 kB / 486.1 MB, free: 1.148 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002245/0.1109, allocations: 91.89 kB / 486.2 MB, free: 1.059 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.661e-05/0.1109, allocations: 15.97 kB / 486.2 MB, free: 1.043 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.665e-05/0.111, allocations: 49.52 kB / 486.2 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004003/0.1114, allocations: 155.8 kB / 486.4 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.8e-06/0.1114, allocations: 4 kB / 486.4 MB, free: 0.832 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1114, allocations: 4 kB / 486.4 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.1114, allocations: 0 / 486.4 MB, free: 0.8281 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.0007025/0.1122, allocations: 391.3 kB / 486.8 MB, free: 408 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.668e-05/0.1122, allocations: 12.86 kB / 486.8 MB, free: 396 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.801e-05/0.1123, allocations: 34.75 kB / 486.8 MB, free: 352 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.358e-05/0.1123, allocations: 16.78 kB / 486.8 MB, free: 336 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002568/0.1126, allocations: 192.1 kB / 487 MB, free: 104 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.1126, allocations: 12.31 kB / 487 MB, free: 92 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.989e-05/0.1127, allocations: 4.375 kB / 487 MB, free: 88 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000242/0.1129, allocations: 83.31 kB / 487.1 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.113, allocations: 0 / 487.1 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/0.113, allocations: 3.984 kB / 487.1 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.113, allocations: 0 / 487.1 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003594/0.1134, allocations: 43.97 kB / 487.2 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004629/0.1138, allocations: 300.7 kB / 487.4 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001543/0.114, allocations: 46.56 kB / 487.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001022/0.1141, allocations: 28.94 kB / 487.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.293e-05/0.1141, allocations: 0 / 487.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.061e-05/0.1142, allocations: 34.56 kB / 487.6 MB, free: 15.47 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.1142, allocations: 4 kB / 487.6 MB, free: 15.47 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.001084/0.1153, allocations: 245.3 kB / 487.8 MB, free: 15.22 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.596e-05/0.1154, allocations: 81.09 kB / 487.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003325/0.1157, allocations: 162 kB / 488 MB, free: 14.95 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.93e-05/0.1158, allocations: 25.7 kB / 488.1 MB, free: 14.92 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.393e-05/0.1158, allocations: 96.12 kB / 488.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.283e-05/0.1159, allocations: 19.72 kB / 488.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.4e-05/0.116, allocations: 13.7 kB / 488.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000197/0.1162, allocations: 318.8 kB / 488.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001763/0.1163, allocations: 47.91 kB / 488.5 MB, free: 14.42 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001779/0.1165, allocations: 49.69 kB / 488.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003366/0.1169, allocations: 96.83 kB / 488.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1169, allocations: 0 / 488.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004138/0.1173, allocations: 125.5 kB / 488.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.1174, allocations: 6.5 kB / 488.8 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.1174, allocations: 0 / 488.8 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.1174, allocations: 4.281 kB / 488.8 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001591/0.1176, allocations: 31.92 kB / 488.9 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.1176, allocations: 3.938 kB / 488.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001186/0.1177, allocations: 23.86 kB / 488.9 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-06/0.1177, allocations: 0 / 488.9 MB, free: 14.07 MB / 366.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 (7): * Single equations (assignments): 7 * 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.0001037/0.1178, allocations: 117.8 kB / 489 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.401e-05/0.1179, allocations: 23.72 kB / 489 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004614/0.1184, allocations: 146.6 kB / 489.2 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.1184, allocations: 0 / 489.2 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.1184, allocations: 0 / 489.2 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.1184, allocations: 7.938 kB / 489.2 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000814/0.1192, allocations: 418.4 kB / 489.6 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.1192, allocations: 3.984 kB / 489.6 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000123/0.1194, allocations: 23.98 kB / 489.6 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.1194, allocations: 4 kB / 489.6 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.1194, allocations: 3.938 kB / 489.6 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.115e-06/0.1194, allocations: 0 / 489.6 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1194, allocations: 0 / 489.6 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004997/0.1199, allocations: 227.3 kB / 489.8 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.336e-05/0.12, allocations: 89 kB / 489.9 MB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.492e-05/0.1201, allocations: 11.94 kB / 489.9 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001573/0.1203, allocations: 11.98 kB / 489.9 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.775e-05/0.1204, allocations: 7.984 kB / 490 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/0.1204, allocations: 4 kB / 490 MB, free: 12.89 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001429/0.1205, allocations: 121.5 kB / 490.1 MB, free: 12.77 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1205, allocations: 0 / 490.1 MB, free: 12.77 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004546/0.121, allocations: 36 kB / 490.1 MB, free: 12.73 MB / 366.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 (7): * Single equations (assignments): 7 * 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.002542/0.1235, allocations: 1.148 MB / 491.3 MB, free: 11.72 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004017/0.124, allocations: 99.92 kB / 491.4 MB, free: 11.62 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.124, allocations: 0 / 491.4 MB, free: 11.62 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000173/0.1242, allocations: 47.91 kB / 491.4 MB, free: 11.58 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004346/0.1246, allocations: 16 kB / 491.4 MB, free: 11.56 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003026/0.1276, allocations: 1.655 MB / 493.1 MB, free: 9.824 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004081/0.1281, allocations: 0.6965 MB / 493.8 MB, free: 9.102 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000106/0.1282, allocations: 20.95 kB / 493.8 MB, free: 9.078 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.331e-05/0.1283, allocations: 31.42 kB / 493.8 MB, free: 9.047 MB / 366.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1283, allocations: 0 / 493.8 MB, free: 9.047 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01686/0.1452, allocations: 3.05 MB / 496.9 MB, free: 6.113 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001805/0.1454, allocations: 231.7 kB / 497.1 MB, free: 5.863 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.852/1.997, allocations: 4.062 kB / 497.1 MB, free: 5.859 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test31_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test31.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches