Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.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.CombiTable2Dv.Test23,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test23,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test23",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007873/0.0007873, allocations: 94.7 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009986/0.0009987, allocations: 200.6 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.366/1.366, allocations: 227.7 MB / 246.8 MB, free: 11.31 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2011/0.2011, allocations: 46.18 MB / 345.2 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00026/0.00026, allocations: 8 kB / 419.6 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1158, allocations: 63.55 MB / 483.2 MB, free: 4.07 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.002506/0.1184, allocations: 1.802 MB / 485 MB, free: 2.254 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002038/0.1204, allocations: 1.364 MB / 486.3 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001691/0.1206, allocations: 4 kB / 486.3 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000245/0.1209, allocations: 43.7 kB / 486.4 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004612/0.1214, allocations: 195.3 kB / 486.6 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001208/0.1226, allocations: 0.5862 MB / 487.2 MB, free: 76 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004402/0.123, allocations: 335 kB / 487.5 MB, free: 15.75 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001627/0.1232, allocations: 65 kB / 487.6 MB, free: 15.68 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002588/0.1235, allocations: 131.3 kB / 487.7 MB, free: 15.55 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002414/0.1237, allocations: 187.2 kB / 487.9 MB, free: 15.37 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.424e-05/0.1238, allocations: 8 kB / 487.9 MB, free: 15.36 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001405/0.1239, allocations: 59.97 kB / 487.9 MB, free: 15.3 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001396/0.1241, allocations: 143.5 kB / 488.1 MB, free: 15.16 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001466/0.1242, allocations: 196.2 kB / 488.3 MB, free: 14.96 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003863/0.1246, allocations: 414.3 kB / 488.7 MB, free: 14.56 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.1246, allocations: 11.98 kB / 488.7 MB, free: 14.55 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.524e-06/0.1246, allocations: 0 / 488.7 MB, free: 14.55 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.228e-05/0.1246, allocations: 3.938 kB / 488.7 MB, free: 14.54 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0009494/0.1256, allocations: 0.7621 MB / 489.4 MB, free: 13.73 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.1256, allocations: 12.86 kB / 489.5 MB, free: 13.72 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.19e-05/0.1257, allocations: 38.75 kB / 489.5 MB, free: 13.67 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004099/0.1261, allocations: 108.1 kB / 489.6 MB, free: 13.57 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005568/0.1267, allocations: 0.4924 MB / 490.1 MB, free: 13.04 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.1267, allocations: 8.375 kB / 490.1 MB, free: 13.03 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.406e-05/0.1267, allocations: 19.94 kB / 490.1 MB, free: 13.01 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003192/0.1271, allocations: 175.1 kB / 490.3 MB, free: 12.82 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.1271, allocations: 0 / 490.3 MB, free: 12.82 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.1271, allocations: 0 / 490.3 MB, free: 12.82 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.1271, allocations: 4 kB / 490.3 MB, free: 12.82 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003151/0.1274, allocations: 135.9 kB / 490.4 MB, free: 12.69 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009649/0.1284, allocations: 0.7346 MB / 491.2 MB, free: 11.9 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002735/0.1287, allocations: 153.1 kB / 491.3 MB, free: 11.73 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001649/0.1289, allocations: 77.8 kB / 491.4 MB, free: 11.65 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.48e-05/0.1289, allocations: 3.984 kB / 491.4 MB, free: 11.64 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.317e-05/0.1289, allocations: 42.5 kB / 491.4 MB, free: 11.59 MB / 366.1 MB Notification: Performance of pre-optimization done (n=12): time 1.222e-06/0.1289, allocations: 0 / 491.4 MB, free: 11.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=20): time 0.002053/0.131, allocations: 0.8331 MB / 492.3 MB, free: 10.75 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.1311, allocations: 81.11 kB / 492.3 MB, free: 10.65 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009281/0.132, allocations: 0.926 MB / 493.3 MB, free: 9.715 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.535e-05/0.132, allocations: 33.7 kB / 493.3 MB, free: 9.676 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001822/0.1322, allocations: 280.3 kB / 493.6 MB, free: 9.398 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.57e-05/0.1323, allocations: 63.02 kB / 493.6 MB, free: 9.336 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.74e-05/0.1323, allocations: 25.7 kB / 493.7 MB, free: 9.305 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.519e-05/0.1324, allocations: 313.9 kB / 494 MB, free: 8.992 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002936/0.1327, allocations: 127.9 kB / 494.1 MB, free: 8.867 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003027/0.133, allocations: 156 kB / 494.3 MB, free: 8.711 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005809/0.1336, allocations: 281.6 kB / 494.5 MB, free: 8.43 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1336, allocations: 3.938 kB / 494.5 MB, free: 8.426 MB / 366.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007304/0.1344, allocations: 376.8 kB / 494.9 MB, free: 8.051 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/0.1344, allocations: 8 kB / 494.9 MB, free: 8.043 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.1344, allocations: 0 / 494.9 MB, free: 8.043 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.1344, allocations: 0 / 494.9 MB, free: 8.043 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000272/0.1347, allocations: 67.88 kB / 495 MB, free: 7.977 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.1347, allocations: 0 / 495 MB, free: 7.977 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001959/0.1349, allocations: 31.98 kB / 495 MB, free: 7.945 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.147e-05/0.1349, allocations: 12.2 kB / 495 MB, free: 7.934 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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.0002006/0.1351, allocations: 217.7 kB / 495.2 MB, free: 7.711 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.433e-05/0.1352, allocations: 71.09 kB / 495.3 MB, free: 7.641 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008562/0.1361, allocations: 443.2 kB / 495.7 MB, free: 7.199 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.1361, allocations: 0 / 495.7 MB, free: 7.199 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.1361, allocations: 4 kB / 495.7 MB, free: 7.195 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.1361, allocations: 0 / 495.7 MB, free: 7.195 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001329/0.1375, allocations: 1.005 MB / 496.7 MB, free: 6.133 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.1375, allocations: 0 / 496.7 MB, free: 6.133 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002382/0.1377, allocations: 64.05 kB / 496.8 MB, free: 6.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.1378, allocations: 3.938 kB / 496.8 MB, free: 6.066 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.802e-05/0.1378, allocations: 7.984 kB / 496.8 MB, free: 6.059 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.1378, allocations: 3.938 kB / 496.8 MB, free: 6.055 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1378, allocations: 0 / 496.8 MB, free: 6.055 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007604/0.1386, allocations: 0.5408 MB / 497.4 MB, free: 5.496 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001317/0.1387, allocations: 160.3 kB / 497.5 MB, free: 5.32 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.397e-05/0.1388, allocations: 8 kB / 497.5 MB, free: 5.312 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002499/0.139, allocations: 31.92 kB / 497.6 MB, free: 5.281 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.148e-05/0.1391, allocations: 19.97 kB / 497.6 MB, free: 5.262 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.596e-05/0.1391, allocations: 7.984 kB / 497.6 MB, free: 5.254 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007254/0.1399, allocations: 0.6786 MB / 498.3 MB, free: 4.578 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.1399, allocations: 4 kB / 498.3 MB, free: 4.574 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003574/0.1402, allocations: 64 kB / 498.3 MB, free: 4.512 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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.001879/0.1421, allocations: 1.394 MB / 499.7 MB, free: 3.23 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006764/0.1428, allocations: 291.6 kB / 0.4883 GB, free: 2.945 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1428, allocations: 0 / 0.4883 GB, free: 2.945 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003283/0.1432, allocations: 164.4 kB / 0.4884 GB, free: 2.785 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000639/0.1438, allocations: 71.14 kB / 0.4885 GB, free: 2.719 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008101/0.1519, allocations: 5.897 MB / 0.4943 GB, free: 12.71 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005097/0.1525, allocations: 0.8887 MB / 0.4951 GB, free: 11.8 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003042/0.1528, allocations: 107.2 kB / 0.4952 GB, free: 11.7 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002906/0.1531, allocations: 191.3 kB / 0.4954 GB, free: 11.51 MB / 382.1 MB Notification: Performance of SimCode: time 1.553e-06/0.1531, allocations: 0 / 0.4954 GB, free: 11.51 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02137/0.1745, allocations: 9.813 MB / 0.505 GB, free: 1.805 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001782/0.1747, allocations: 238.4 kB / 0.5052 GB, free: 1.551 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.932/2.107, allocations: 4.062 kB / 0.5052 GB, free: 1.547 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test23_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test23.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches