Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.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.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001665/0.001664, allocations: 109.2 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001943/0.001943, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.418/1.418, allocations: 227.4 MB / 246.3 MB, free: 9.031 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2348/0.2348, allocations: 46.11 MB / 343.6 MB, free: 11.56 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 84.53 kB / 416.9 MB, free: 20.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1199, allocations: 62.43 MB / 479.4 MB, free: 5.582 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.00375/0.1237, allocations: 1.736 MB / 481.1 MB, free: 3.828 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00117/0.1249, allocations: 0.5768 MB / 481.7 MB, free: 3.246 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.864e-05/0.125, allocations: 0 / 481.7 MB, free: 3.246 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006043/0.1256, allocations: 467.1 kB / 482.2 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004613/0.1261, allocations: 267.5 kB / 482.4 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005334/0.1267, allocations: 167.3 kB / 482.6 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000354/0.127, allocations: 171.7 kB / 482.7 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001312/0.1272, allocations: 20.22 kB / 482.8 MB, free: 2.176 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002008/0.1274, allocations: 115.7 kB / 482.9 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002945/0.1277, allocations: 199.6 kB / 483.1 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.364e-05/0.1277, allocations: 0 / 483.1 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001715/0.1279, allocations: 55.91 kB / 483.1 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001346/0.128, allocations: 87.67 kB / 483.2 MB, free: 1.727 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001004/0.1281, allocations: 110.9 kB / 483.3 MB, free: 1.617 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003784/0.1285, allocations: 275.1 kB / 483.6 MB, free: 1.348 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.1285, allocations: 0 / 483.6 MB, free: 1.348 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.051e-06/0.1286, allocations: 0 / 483.6 MB, free: 1.348 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.163e-05/0.1286, allocations: 0 / 483.6 MB, free: 1.348 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.0009271/0.1295, allocations: 0.6492 MB / 484.2 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.597e-05/0.1296, allocations: 12.88 kB / 484.2 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.115e-05/0.1296, allocations: 38.62 kB / 484.3 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001029/0.1297, allocations: 44.38 kB / 484.3 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004096/0.1302, allocations: 308.1 kB / 484.6 MB, free: 212 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/0.1302, allocations: 4.375 kB / 484.6 MB, free: 208 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.896e-05/0.1302, allocations: 4.375 kB / 484.6 MB, free: 204 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002207/0.1304, allocations: 61.61 kB / 484.7 MB, free: 136 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.1305, allocations: 0 / 484.7 MB, free: 136 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.775e-05/0.1305, allocations: 4 kB / 484.7 MB, free: 132 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.1305, allocations: 7.938 kB / 484.7 MB, free: 124 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001464/0.1307, allocations: 27.97 kB / 484.7 MB, free: 96 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000709/0.1314, allocations: 416.6 kB / 485.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001241/0.1315, allocations: 46.59 kB / 485.2 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.965e-05/0.1316, allocations: 16.94 kB / 485.2 MB, free: 15.56 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.475e-05/0.1316, allocations: 4 kB / 485.2 MB, free: 15.56 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.832e-05/0.1317, allocations: 34.56 kB / 485.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 1.794e-06/0.1317, allocations: 4 kB / 485.3 MB, free: 15.51 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.001057/0.1327, allocations: 323.7 kB / 485.6 MB, free: 15.19 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.884e-05/0.1328, allocations: 55.34 kB / 485.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008647/0.1337, allocations: 0.8853 MB / 486.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.62e-05/0.1337, allocations: 33.7 kB / 486.5 MB, free: 14.19 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001658/0.1339, allocations: 220.1 kB / 486.8 MB, free: 13.97 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.091e-05/0.1339, allocations: 27.64 kB / 486.8 MB, free: 13.94 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.264e-05/0.134, allocations: 25.66 kB / 486.8 MB, free: 13.91 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000188/0.1342, allocations: 362.8 kB / 487.2 MB, free: 13.55 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.297e-05/0.1343, allocations: 27.98 kB / 487.2 MB, free: 13.52 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.799e-05/0.1344, allocations: 31.97 kB / 487.2 MB, free: 13.49 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001693/0.1346, allocations: 72.83 kB / 487.3 MB, free: 13.41 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.1346, allocations: 0 / 487.3 MB, free: 13.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000298/0.1349, allocations: 157.3 kB / 487.4 MB, free: 13.25 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.1349, allocations: 4 kB / 487.4 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.809e-05/0.1349, allocations: 432 / 487.4 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.135, allocations: 0 / 487.4 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/0.1351, allocations: 27.86 kB / 487.5 MB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.1351, allocations: 4 kB / 487.5 MB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.816e-05/0.1352, allocations: 8 kB / 487.5 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.788e-06/0.1352, allocations: 0 / 487.5 MB, free: 13.21 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 (8): * Single equations (assignments): 8 * 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.0002196/0.1354, allocations: 221.7 kB / 487.7 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.167e-05/0.1355, allocations: 43.44 kB / 487.7 MB, free: 12.94 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003678/0.1359, allocations: 177.4 kB / 487.9 MB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/0.1359, allocations: 3.938 kB / 487.9 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.355e-06/0.1359, allocations: 7.938 kB / 487.9 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.1359, allocations: 0 / 487.9 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006829/0.1366, allocations: 0.5187 MB / 488.4 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.1366, allocations: 0 / 488.4 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.229e-05/0.1367, allocations: 24.02 kB / 488.5 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.1367, allocations: 0 / 488.5 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.1367, allocations: 4 kB / 488.5 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.1367, allocations: 4 kB / 488.5 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1367, allocations: 0 / 488.5 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003012/0.137, allocations: 251.7 kB / 488.7 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.801e-05/0.1372, allocations: 112.5 kB / 488.8 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.943e-05/0.1372, allocations: 4 kB / 488.8 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.59e-05/0.1373, allocations: 11.98 kB / 488.9 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.652e-05/0.1373, allocations: 7.938 kB / 488.9 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.158e-06/0.1373, allocations: 7.984 kB / 488.9 MB, free: 11.71 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006941/0.138, allocations: 0.6589 MB / 489.5 MB, free: 11.05 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1381, allocations: 0 / 489.5 MB, free: 11.05 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002895/0.1383, allocations: 31.98 kB / 489.6 MB, free: 11.02 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 (8): * Single equations (assignments): 8 * 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.001611/0.14, allocations: 1.135 MB / 490.7 MB, free: 10.02 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002436/0.1402, allocations: 75.94 kB / 490.8 MB, free: 9.949 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.1402, allocations: 0 / 490.8 MB, free: 9.949 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001014/0.1403, allocations: 39.92 kB / 490.8 MB, free: 9.91 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004489/0.1408, allocations: 30.3 kB / 490.8 MB, free: 9.883 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00421/0.145, allocations: 3.484 MB / 494.3 MB, free: 6.305 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004235/0.1455, allocations: 0.8385 MB / 495.2 MB, free: 5.438 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.807e-05/0.1456, allocations: 20.72 kB / 495.2 MB, free: 5.418 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001531/0.1457, allocations: 123.4 kB / 495.3 MB, free: 5.297 MB / 366.1 MB Notification: Performance of SimCode: time 7.22e-07/0.1457, allocations: 0 / 495.3 MB, free: 5.297 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02012/0.1659, allocations: 6.142 MB / 0.4897 GB, free: 15.23 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002002/0.1661, allocations: 236 kB / 0.4899 GB, free: 14.98 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.973/2.139, allocations: 4.047 kB / 0.4899 GB, free: 14.98 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test1_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test1.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches