Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_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.001182/0.001182, allocations: 96.83 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001895/0.001895, allocations: 206 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.354/1.354, allocations: 227.7 MB / 246.8 MB, free: 11.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2206/0.2206, allocations: 46.19 MB / 345.2 MB, free: 11.4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002615/0.0002616, allocations: 11.98 kB / 419.6 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.123, allocations: 63.56 MB / 483.2 MB, free: 4.074 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.002094/0.1251, allocations: 1.392 MB / 484.6 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001043/0.1262, allocations: 0.5418 MB / 485.1 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.868e-05/0.1263, allocations: 0 / 485.1 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005794/0.1269, allocations: 451.2 kB / 485.6 MB, free: 1.684 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004618/0.1274, allocations: 279.5 kB / 485.8 MB, free: 1.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003923/0.1278, allocations: 123.4 kB / 485.9 MB, free: 1.293 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00029/0.1281, allocations: 163.6 kB / 486.1 MB, free: 1.133 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.1282, allocations: 19.97 kB / 486.1 MB, free: 1.113 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001756/0.1284, allocations: 107.7 kB / 486.2 MB, free: 1.008 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002484/0.1286, allocations: 203.6 kB / 486.4 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.8e-05/0.1287, allocations: 4 kB / 486.4 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001316/0.1288, allocations: 47.97 kB / 486.5 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001105/0.1289, allocations: 83.62 kB / 486.6 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.367e-05/0.129, allocations: 124.7 kB / 486.7 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002876/0.1293, allocations: 267.1 kB / 486.9 MB, free: 292 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1293, allocations: 0 / 486.9 MB, free: 292 kB / 350.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.1293, allocations: 7.938 kB / 487 MB, free: 284 kB / 350.1 MB Notification: Performance of Transformations before backend: time 7.824e-06/0.1294, allocations: 0 / 487 MB, free: 284 kB / 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.0007025/0.1301, allocations: 0.6107 MB / 487.6 MB, free: 15.61 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.1301, allocations: 8.875 kB / 487.6 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.765e-05/0.1302, allocations: 30.75 kB / 487.6 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.252e-05/0.1302, allocations: 44.38 kB / 487.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002743/0.1305, allocations: 304 kB / 487.9 MB, free: 15.19 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/0.1305, allocations: 4.375 kB / 487.9 MB, free: 15.19 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.967e-05/0.1305, allocations: 4.375 kB / 488 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001575/0.1307, allocations: 61.62 kB / 488 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.1307, allocations: 3.984 kB / 488 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.305e-06/0.1307, allocations: 0 / 488 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.1308, allocations: 4 kB / 488 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001008/0.1309, allocations: 35.92 kB / 488.1 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004976/0.1314, allocations: 404.6 kB / 488.5 MB, free: 14.63 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001129/0.1315, allocations: 54.56 kB / 488.5 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.292e-05/0.1316, allocations: 20.8 kB / 488.5 MB, free: 14.54 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.114e-05/0.1316, allocations: 0 / 488.5 MB, free: 14.54 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.553e-05/0.1316, allocations: 38.56 kB / 488.6 MB, free: 14.5 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.1316, allocations: 0 / 488.6 MB, free: 14.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.001031/0.1327, allocations: 335.8 kB / 488.9 MB, free: 14.16 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.634e-05/0.1327, allocations: 59.34 kB / 488.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008116/0.1335, allocations: 0.8699 MB / 489.8 MB, free: 13.21 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.858e-05/0.1336, allocations: 29.7 kB / 489.8 MB, free: 13.18 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001527/0.1337, allocations: 224.1 kB / 490.1 MB, free: 12.95 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.199e-05/0.1338, allocations: 31.55 kB / 490.1 MB, free: 12.92 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.45e-05/0.1338, allocations: 9.719 kB / 490.1 MB, free: 12.91 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001295/0.1339, allocations: 366.8 kB / 490.5 MB, free: 12.54 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.975e-05/0.134, allocations: 23.98 kB / 490.5 MB, free: 12.52 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.339e-05/0.1341, allocations: 35.98 kB / 490.5 MB, free: 12.48 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001594/0.1343, allocations: 80.97 kB / 490.6 MB, free: 12.4 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.1343, allocations: 0 / 490.6 MB, free: 12.4 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002388/0.1345, allocations: 137.2 kB / 490.7 MB, free: 12.26 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.1345, allocations: 4 kB / 490.7 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.1345, allocations: 0 / 490.7 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.1346, allocations: 0 / 490.7 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001119/0.1347, allocations: 31.86 kB / 490.8 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.1347, allocations: 8 kB / 490.8 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.105e-05/0.1348, allocations: 8 kB / 490.8 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.218e-06/0.1348, allocations: 7.938 kB / 490.8 MB, free: 12.2 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.0001818/0.135, allocations: 213.8 kB / 491 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.357e-05/0.135, allocations: 39.44 kB / 491 MB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003254/0.1354, allocations: 169.5 kB / 491.2 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.1354, allocations: 3.938 kB / 491.2 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.1354, allocations: 4 kB / 491.2 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.1354, allocations: 0 / 491.2 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006226/0.136, allocations: 0.5148 MB / 491.7 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.136, allocations: 0 / 491.7 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.412e-05/0.1361, allocations: 23.92 kB / 491.8 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.1361, allocations: 0 / 491.8 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.47e-05/0.1362, allocations: 8 kB / 491.8 MB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.1362, allocations: 3.938 kB / 491.8 MB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.1362, allocations: 0 / 491.8 MB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002831/0.1365, allocations: 251.8 kB / 492 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.913e-05/0.1365, allocations: 112.5 kB / 492.1 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.831e-05/0.1366, allocations: 8 kB / 492.1 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.317e-05/0.1367, allocations: 8 kB / 492.1 MB, free: 10.74 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.638e-05/0.1367, allocations: 11.92 kB / 492.1 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/0.1367, allocations: 0 / 492.1 MB, free: 10.73 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005876/0.1373, allocations: 0.6628 MB / 492.8 MB, free: 10.07 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1373, allocations: 0 / 492.8 MB, free: 10.07 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002736/0.1376, allocations: 28 kB / 492.8 MB, free: 10.04 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.00148/0.1391, allocations: 1.121 MB / 494 MB, free: 9.051 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002148/0.1393, allocations: 71.89 kB / 494 MB, free: 8.98 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.1393, allocations: 0 / 494 MB, free: 8.98 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.515e-05/0.1394, allocations: 47.98 kB / 494.1 MB, free: 8.934 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003718/0.1398, allocations: 30.23 kB / 494.1 MB, free: 8.906 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003696/0.1435, allocations: 3.44 MB / 497.5 MB, free: 5.363 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003935/0.1439, allocations: 0.8346 MB / 498.4 MB, free: 4.5 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.212e-05/0.144, allocations: 20.72 kB / 498.4 MB, free: 4.48 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001248/0.1441, allocations: 111.4 kB / 498.5 MB, free: 4.371 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1441, allocations: 0 / 498.5 MB, free: 4.371 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01655/0.1607, allocations: 5.789 MB / 0.4925 GB, free: 14.68 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002204/0.1609, allocations: 230 kB / 0.4927 GB, free: 14.43 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.823/1.984, allocations: 7.938 kB / 0.4927 GB, free: 14.42 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test1_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test1.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches