Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.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.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008876/0.0008874, allocations: 91.53 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.0009835/0.0009835, allocations: 196.4 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.395/1.395, allocations: 227.7 MB / 246.8 MB, free: 11.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1915/0.1915, allocations: 46.19 MB / 345.2 MB, free: 11.4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002498/0.0002499, allocations: 8 kB / 419.6 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1264, allocations: 63.56 MB / 483.2 MB, free: 4.066 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.002431/0.1288, allocations: 1.376 MB / 484.6 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001323/0.1302, allocations: 0.5379 MB / 485.1 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.21e-05/0.1303, allocations: 0 / 485.1 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000641/0.131, allocations: 451.2 kB / 485.5 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000463/0.1314, allocations: 271.5 kB / 485.8 MB, free: 1.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004084/0.1319, allocations: 123 kB / 485.9 MB, free: 1.312 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002867/0.1322, allocations: 163.6 kB / 486.1 MB, free: 1.152 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.1323, allocations: 15.98 kB / 486.1 MB, free: 1.137 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001648/0.1325, allocations: 103.7 kB / 486.2 MB, free: 1.035 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000253/0.1327, allocations: 199.6 kB / 486.4 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.752e-05/0.1328, allocations: 4 kB / 486.4 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001059/0.1329, allocations: 24 kB / 486.4 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001185/0.133, allocations: 91.61 kB / 486.5 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001009/0.1331, allocations: 128.6 kB / 486.6 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003759/0.1335, allocations: 255.2 kB / 486.9 MB, free: 348 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.1335, allocations: 0 / 486.9 MB, free: 348 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1335, allocations: 0 / 486.9 MB, free: 348 kB / 350.1 MB Notification: Performance of Transformations before backend: time 8.937e-06/0.1335, allocations: 0 / 486.9 MB, free: 348 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0009695/0.1345, allocations: 0.599 MB / 487.5 MB, free: 15.69 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.367e-05/0.1346, allocations: 12.88 kB / 487.5 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.86e-05/0.1346, allocations: 30.75 kB / 487.5 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.863e-05/0.1347, allocations: 40.47 kB / 487.6 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003182/0.135, allocations: 304.1 kB / 487.9 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.73e-05/0.1351, allocations: 8.375 kB / 487.9 MB, free: 15.26 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.219e-05/0.1351, allocations: 384 / 487.9 MB, free: 15.26 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001548/0.1352, allocations: 65.61 kB / 487.9 MB, free: 15.19 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.1353, allocations: 0 / 487.9 MB, free: 15.19 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.1353, allocations: 0 / 487.9 MB, free: 15.19 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.1353, allocations: 0 / 487.9 MB, free: 15.19 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001002/0.1354, allocations: 31.97 kB / 488 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004989/0.1359, allocations: 388.5 kB / 488.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002165/0.1361, allocations: 50.56 kB / 488.4 MB, free: 14.67 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.571e-05/0.1362, allocations: 20.88 kB / 488.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.254e-05/0.1362, allocations: 4 kB / 488.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.318e-05/0.1363, allocations: 34.56 kB / 488.4 MB, free: 14.6 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.1363, allocations: 0 / 488.4 MB, free: 14.6 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007355/0.137, allocations: 243.9 kB / 488.7 MB, free: 14.35 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.637e-05/0.1371, allocations: 63.33 kB / 488.7 MB, free: 14.28 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009885/0.1381, allocations: 0.8776 MB / 489.6 MB, free: 13.39 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.093e-05/0.1381, allocations: 25.7 kB / 489.7 MB, free: 13.36 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001864/0.1383, allocations: 228.1 kB / 489.9 MB, free: 13.13 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.391e-05/0.1383, allocations: 19.72 kB / 489.9 MB, free: 13.11 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.838e-05/0.1384, allocations: 17.72 kB / 489.9 MB, free: 13.09 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001657/0.1386, allocations: 354.8 kB / 490.3 MB, free: 12.73 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.712e-05/0.1386, allocations: 27.98 kB / 490.3 MB, free: 12.71 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.567e-05/0.1387, allocations: 19.98 kB / 490.3 MB, free: 12.69 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001386/0.1389, allocations: 56.83 kB / 490.4 MB, free: 12.63 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1389, allocations: 4 kB / 490.4 MB, free: 12.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002499/0.1391, allocations: 121.1 kB / 490.5 MB, free: 12.5 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.1392, allocations: 4 kB / 490.5 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.1392, allocations: 3.984 kB / 490.5 MB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.1392, allocations: 0 / 490.5 MB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.31e-05/0.1393, allocations: 15.94 kB / 490.5 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.1393, allocations: 4 kB / 490.5 MB, free: 12.47 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.182e-05/0.1394, allocations: 15.92 kB / 490.5 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.822e-06/0.1394, allocations: 256 / 490.5 MB, free: 12.46 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 (5): * Single equations (assignments): 5 * 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.0002063/0.1396, allocations: 209.8 kB / 490.7 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.062e-05/0.1397, allocations: 47.42 kB / 490.8 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003137/0.14, allocations: 145.2 kB / 490.9 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.14, allocations: 0 / 490.9 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.14, allocations: 4 kB / 490.9 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/0.14, allocations: 3.938 kB / 490.9 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005812/0.1406, allocations: 470.4 kB / 491.4 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.1406, allocations: 0 / 491.4 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.355e-05/0.1407, allocations: 15.98 kB / 491.4 MB, free: 11.51 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.1407, allocations: 0 / 491.4 MB, free: 11.51 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.1407, allocations: 7.938 kB / 491.4 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.1407, allocations: 3.938 kB / 491.4 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1407, allocations: 0 / 491.4 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002775/0.141, allocations: 226.9 kB / 491.6 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.546e-05/0.1411, allocations: 112.5 kB / 491.7 MB, free: 11.13 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.67e-05/0.1411, allocations: 3.938 kB / 491.7 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.472e-05/0.1412, allocations: 11.98 kB / 491.8 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.997e-05/0.1413, allocations: 4 kB / 491.8 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.937e-06/0.1413, allocations: 4 kB / 491.8 MB, free: 11.11 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006028/0.1419, allocations: 0.6589 MB / 492.4 MB, free: 10.45 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1419, allocations: 4 kB / 492.4 MB, free: 10.45 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002533/0.1422, allocations: 16 kB / 492.4 MB, free: 10.43 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 (5): * Single equations (assignments): 5 * 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.00136/0.1435, allocations: 1.061 MB / 493.5 MB, free: 9.48 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002497/0.1438, allocations: 51.97 kB / 493.6 MB, free: 9.43 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.1438, allocations: 4 kB / 493.6 MB, free: 9.426 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.087e-05/0.1439, allocations: 27.98 kB / 493.6 MB, free: 9.398 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004285/0.1444, allocations: 26.3 kB / 493.6 MB, free: 9.375 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004507/0.1489, allocations: 3.353 MB / 497 MB, free: 5.918 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004752/0.1494, allocations: 0.8302 MB / 497.8 MB, free: 5.059 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.903e-05/0.1494, allocations: 11.97 kB / 497.8 MB, free: 5.047 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001213/0.1496, allocations: 107.4 kB / 497.9 MB, free: 4.941 MB / 366.1 MB Notification: Performance of SimCode: time 6.21e-07/0.1496, allocations: 0 / 497.9 MB, free: 4.941 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01545/0.165, allocations: 5.481 MB / 0.4916 GB, free: 15.56 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002211/0.1653, allocations: 232.5 kB / 0.4918 GB, free: 15.3 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.806/1.971, allocations: 0 / 0.4918 GB, free: 15.3 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test4_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test4.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches