Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.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.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009342/0.0009342, allocations: 91.14 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.00135/0.00135, allocations: 197.8 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.34/1.34, allocations: 227.7 MB / 246.8 MB, free: 11.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.222/0.222, allocations: 46.18 MB / 345.2 MB, free: 11.4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002464/0.0002464, allocations: 8 kB / 419.6 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.122, allocations: 63.56 MB / 483.2 MB, free: 4.086 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.002029/0.1241, allocations: 1.388 MB / 484.6 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001023/0.1251, allocations: 0.5418 MB / 485.1 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.59e-05/0.1252, allocations: 0 / 485.1 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005318/0.1258, allocations: 451.2 kB / 485.5 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000414/0.1262, allocations: 287.4 kB / 485.8 MB, free: 1.418 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003663/0.1266, allocations: 119.2 kB / 485.9 MB, free: 1.305 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002396/0.1268, allocations: 167.6 kB / 486.1 MB, free: 1.141 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.1269, allocations: 19.98 kB / 486.1 MB, free: 1.121 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001455/0.1271, allocations: 103.7 kB / 486.2 MB, free: 1.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002411/0.1273, allocations: 199.6 kB / 486.4 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.645e-05/0.1274, allocations: 4 kB / 486.4 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001226/0.1275, allocations: 59.95 kB / 486.5 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001104/0.1276, allocations: 75.7 kB / 486.6 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.142e-05/0.1277, allocations: 128.7 kB / 486.7 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002933/0.128, allocations: 267.1 kB / 486.9 MB, free: 300 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.128, allocations: 0 / 486.9 MB, free: 300 kB / 350.1 MB Notification: Performance of FrontEnd: time 2.564e-06/0.128, allocations: 0 / 486.9 MB, free: 300 kB / 350.1 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.128, allocations: 0 / 486.9 MB, free: 300 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.0007834/0.1288, allocations: 0.6029 MB / 487.5 MB, free: 15.64 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.397e-05/0.1289, allocations: 12.88 kB / 487.6 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.068e-05/0.1289, allocations: 42.73 kB / 487.6 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.809e-05/0.129, allocations: 48.38 kB / 487.7 MB, free: 15.53 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003185/0.1293, allocations: 296.1 kB / 487.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.1294, allocations: 384 / 487.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.89e-05/0.1294, allocations: 12.31 kB / 488 MB, free: 15.19 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001774/0.1296, allocations: 65.55 kB / 488 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.1296, allocations: 0 / 488 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.1296, allocations: 0 / 488 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.909e-06/0.1296, allocations: 0 / 488 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001108/0.1298, allocations: 39.98 kB / 488.1 MB, free: 15.08 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006005/0.1304, allocations: 404.5 kB / 488.5 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001168/0.1305, allocations: 42.56 kB / 488.5 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.609e-05/0.1306, allocations: 28.88 kB / 488.5 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.641e-05/0.1306, allocations: 4 kB / 488.5 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/0.1306, allocations: 34.59 kB / 488.6 MB, free: 14.51 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 1.312e-06/0.1306, allocations: 0 / 488.6 MB, free: 14.51 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.00106/0.1317, allocations: 343.7 kB / 488.9 MB, free: 14.16 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.863e-05/0.1318, allocations: 55.34 kB / 488.9 MB, free: 14.1 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009018/0.1327, allocations: 0.8738 MB / 489.8 MB, free: 13.21 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.421e-05/0.1327, allocations: 25.7 kB / 489.8 MB, free: 13.18 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001678/0.1329, allocations: 228.1 kB / 490.1 MB, free: 12.96 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.287e-05/0.1329, allocations: 27.56 kB / 490.1 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.353e-05/0.1329, allocations: 17.7 kB / 490.1 MB, free: 12.91 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.1331, allocations: 362.8 kB / 490.5 MB, free: 12.54 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.538e-05/0.1332, allocations: 27.98 kB / 490.5 MB, free: 12.52 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.527e-05/0.1333, allocations: 31.95 kB / 490.5 MB, free: 12.48 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001569/0.1334, allocations: 68.84 kB / 490.6 MB, free: 12.41 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.1334, allocations: 0 / 490.6 MB, free: 12.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002456/0.1337, allocations: 145.1 kB / 490.7 MB, free: 12.27 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.1337, allocations: 4 kB / 490.7 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.1337, allocations: 0 / 490.7 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.1337, allocations: 0 / 490.7 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001096/0.1339, allocations: 27.92 kB / 490.8 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.1339, allocations: 0 / 490.8 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.912e-05/0.1339, allocations: 15.98 kB / 490.8 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.173e-06/0.134, allocations: 0 / 490.8 MB, free: 12.22 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.0001747/0.1341, allocations: 209.8 kB / 491 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.371e-05/0.1342, allocations: 47.38 kB / 491 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003171/0.1345, allocations: 169.5 kB / 491.2 MB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.1345, allocations: 7.922 kB / 491.2 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.1345, allocations: 0 / 491.2 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.1346, allocations: 0 / 491.2 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006119/0.1352, allocations: 0.5148 MB / 491.7 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.1352, allocations: 7.938 kB / 491.7 MB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.158e-05/0.1353, allocations: 16 kB / 491.7 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.1353, allocations: 3.984 kB / 491.7 MB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.1353, allocations: 8.031 kB / 491.8 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.401e-06/0.1353, allocations: 12.34 kB / 491.8 MB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.1353, allocations: 0 / 491.8 MB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003121/0.1356, allocations: 255.7 kB / 492 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.107e-05/0.1357, allocations: 112.5 kB / 492.1 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.592e-05/0.1358, allocations: 0 / 492.1 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.857e-05/0.1359, allocations: 15.98 kB / 492.1 MB, free: 10.74 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.96e-05/0.1359, allocations: 4 kB / 492.1 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.693e-06/0.1359, allocations: 3.984 kB / 492.2 MB, free: 10.73 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006249/0.1366, allocations: 0.655 MB / 492.8 MB, free: 10.08 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1366, allocations: 0 / 492.8 MB, free: 10.08 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002792/0.1369, allocations: 35.98 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.001445/0.1383, allocations: 1.125 MB / 494 MB, free: 9.055 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002209/0.1385, allocations: 75.91 kB / 494 MB, free: 8.98 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.1386, allocations: 0 / 494 MB, free: 8.98 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.641e-05/0.1387, allocations: 39.97 kB / 494.1 MB, free: 8.941 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003996/0.1391, allocations: 30.25 kB / 494.1 MB, free: 8.914 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004081/0.1432, allocations: 3.452 MB / 497.6 MB, free: 5.355 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003701/0.1435, allocations: 0.8268 MB / 498.4 MB, free: 4.5 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.337e-05/0.1436, allocations: 16.73 kB / 498.4 MB, free: 4.484 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001258/0.1437, allocations: 111.4 kB / 498.5 MB, free: 4.375 MB / 366.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1437, allocations: 0 / 498.5 MB, free: 4.375 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01668/0.1604, allocations: 5.79 MB / 0.4925 GB, free: 14.69 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002557/0.1607, allocations: 229 kB / 0.4927 GB, free: 14.44 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.797/1.958, allocations: 4 kB / 0.4927 GB, free: 14.43 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test2_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test2.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches