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.001179/0.001178, allocations: 106.7 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.001204/0.001204, 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.387/1.387, allocations: 227.4 MB / 246.3 MB, free: 10.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2793/0.2793, allocations: 46.11 MB / 343.6 MB, free: 11.79 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00149/0.00149, allocations: 78.38 kB / 416.9 MB, free: 20.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1149, allocations: 62.45 MB / 479.4 MB, free: 5.625 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test31): time 0.003606/0.1185, allocations: 1.714 MB / 481.1 MB, free: 3.898 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001849/0.1204, allocations: 1.155 MB / 482.3 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.817e-05/0.1205, allocations: 4 kB / 482.3 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002293/0.1207, allocations: 19.91 kB / 482.3 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002867/0.121, allocations: 67.77 kB / 482.4 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003857/0.1214, allocations: 115.7 kB / 482.5 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001506/0.1216, allocations: 67.77 kB / 482.5 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.1217, allocations: 23.97 kB / 482.6 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.002e-05/0.1218, allocations: 27.86 kB / 482.6 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001694/0.122, allocations: 43.77 kB / 482.6 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.625e-05/0.122, allocations: 0 / 482.6 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002055/0.1222, allocations: 95.94 kB / 482.7 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.563e-05/0.1223, allocations: 19.92 kB / 482.7 MB, free: 2.262 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.938e-05/0.1223, allocations: 27.73 kB / 482.8 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002699/0.1226, allocations: 151.9 kB / 482.9 MB, free: 2.086 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1226, allocations: 0 / 482.9 MB, free: 2.086 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.72e-07/0.1226, allocations: 4 kB / 482.9 MB, free: 2.082 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.908e-06/0.1226, allocations: 0 / 482.9 MB, free: 2.082 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.0005655/0.1232, allocations: 415.1 kB / 483.3 MB, free: 1.629 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.1232, allocations: 12.88 kB / 483.3 MB, free: 1.617 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.435e-05/0.1233, allocations: 30.75 kB / 483.4 MB, free: 1.578 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.332e-05/0.1233, allocations: 12.84 kB / 483.4 MB, free: 1.566 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002138/0.1236, allocations: 204.1 kB / 483.6 MB, free: 1.328 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.506e-06/0.1236, allocations: 4.312 kB / 483.6 MB, free: 1.324 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.228e-05/0.1236, allocations: 4.375 kB / 483.6 MB, free: 1.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001788/0.1238, allocations: 79.31 kB / 483.7 MB, free: 1.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.1238, allocations: 0 / 483.7 MB, free: 1.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.1238, allocations: 4 kB / 483.7 MB, free: 1.227 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.483e-06/0.1238, allocations: 0 / 483.7 MB, free: 1.227 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001291/0.124, allocations: 35.97 kB / 483.7 MB, free: 1.191 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003901/0.1244, allocations: 300.8 kB / 484 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001252/0.1245, allocations: 38.56 kB / 484 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.923e-05/0.1246, allocations: 24.94 kB / 484.1 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.299e-05/0.1246, allocations: 0 / 484.1 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.567e-05/0.1247, allocations: 34.56 kB / 484.1 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.823e-06/0.1247, allocations: 0 / 484.1 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008094/0.1255, allocations: 217.2 kB / 484.3 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.821e-05/0.1255, allocations: 77.11 kB / 484.4 MB, free: 428 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001589/0.1257, allocations: 162 kB / 484.5 MB, free: 256 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.849e-05/0.1258, allocations: 29.7 kB / 484.6 MB, free: 220 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.345e-05/0.1258, allocations: 92.14 kB / 484.7 MB, free: 124 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.923e-05/0.1258, allocations: 23.7 kB / 484.7 MB, free: 100 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.542e-05/0.1259, allocations: 17.72 kB / 484.7 MB, free: 76 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.126, allocations: 322.8 kB / 485 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001133/0.1262, allocations: 31.91 kB / 485 MB, free: 15.72 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001206/0.1263, allocations: 53.69 kB / 485.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002053/0.1265, allocations: 72.75 kB / 485.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1265, allocations: 0 / 485.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002846/0.1268, allocations: 117.6 kB / 485.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.1268, allocations: 4 kB / 485.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.1268, allocations: 0 / 485.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.1269, allocations: 4 kB / 485.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001248/0.127, allocations: 23.91 kB / 485.3 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.127, allocations: 320 / 485.3 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.205e-05/0.1271, allocations: 19.86 kB / 485.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.879e-06/0.1271, allocations: 7.938 kB / 485.3 MB, free: 15.41 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 9.455e-05/0.1272, allocations: 117.8 kB / 485.5 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.938e-05/0.1272, allocations: 7.906 kB / 485.5 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003225/0.1276, allocations: 122.3 kB / 485.6 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.1276, allocations: 0 / 485.6 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.1276, allocations: 4 kB / 485.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.1276, allocations: 7.922 kB / 485.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005219/0.1281, allocations: 402.3 kB / 486 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.1281, allocations: 288 / 486 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.376e-05/0.1282, allocations: 19.98 kB / 486 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.1282, allocations: 0 / 486 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/0.1283, allocations: 7.938 kB / 486 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1283, allocations: 0 / 486 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.1283, allocations: 4 kB / 486 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003187/0.1286, allocations: 219.3 kB / 486.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.163e-05/0.1287, allocations: 85.02 kB / 486.3 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.491e-05/0.1287, allocations: 7.922 kB / 486.3 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.865e-05/0.1288, allocations: 8 kB / 486.3 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.659e-05/0.1289, allocations: 11.98 kB / 486.3 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.294e-06/0.1289, allocations: 4 kB / 486.3 MB, free: 14.29 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.917e-05/0.129, allocations: 117.7 kB / 486.5 MB, free: 14.18 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.129, allocations: 4 kB / 486.5 MB, free: 14.18 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000293/0.1293, allocations: 39.98 kB / 486.5 MB, free: 14.14 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.001578/0.1309, allocations: 1.133 MB / 487.6 MB, free: 13.14 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002788/0.1312, allocations: 79.92 kB / 487.7 MB, free: 13.06 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1312, allocations: 0 / 487.7 MB, free: 13.06 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001236/0.1313, allocations: 51.91 kB / 487.8 MB, free: 13.01 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003456/0.1317, allocations: 16.86 kB / 487.8 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002049/0.1337, allocations: 1.587 MB / 489.4 MB, free: 11.33 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002753/0.134, allocations: 0.7003 MB / 490.1 MB, free: 10.6 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.037e-05/0.1341, allocations: 16.97 kB / 490.1 MB, free: 10.58 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.469e-05/0.1342, allocations: 35.41 kB / 490.1 MB, free: 10.55 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1342, allocations: 0 / 490.1 MB, free: 10.55 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01537/0.1496, allocations: 3.247 MB / 493.4 MB, free: 7.387 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002066/0.1498, allocations: 239.9 kB / 493.6 MB, free: 7.133 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.987/2.137, allocations: 0 / 493.6 MB, free: 7.133 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