Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7.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.Test7,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test7,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test7",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001014/0.001014, allocations: 107.1 kB / 17.32 MB, free: 5.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001082/0.001082, allocations: 205.8 kB / 18.26 MB, free: 4.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.371/1.371, allocations: 227.4 MB / 246.4 MB, free: 10.8 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2365/0.2365, allocations: 46.11 MB / 343.8 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001542/0.001542, allocations: 73.7 kB / 417.2 MB, free: 19.99 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1327, allocations: 62.44 MB / 479.6 MB, free: 5.535 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test7): time 0.00362/0.1364, allocations: 1.671 MB / 481.3 MB, free: 3.852 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001008/0.1374, allocations: 0.5222 MB / 481.8 MB, free: 3.324 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.158e-05/0.1375, allocations: 0 / 481.8 MB, free: 3.324 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006085/0.1381, allocations: 455.1 kB / 482.2 MB, free: 2.879 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004893/0.1387, allocations: 283.5 kB / 482.5 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000376/0.1391, allocations: 107.8 kB / 482.6 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002781/0.1393, allocations: 159.7 kB / 482.8 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.1395, allocations: 16.12 kB / 482.8 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001599/0.1396, allocations: 111.8 kB / 482.9 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002587/0.1399, allocations: 219.6 kB / 483.1 MB, free: 2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.634e-05/0.1399, allocations: 0 / 483.1 MB, free: 2 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.097e-05/0.14, allocations: 24 kB / 483.1 MB, free: 1.977 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001155/0.1401, allocations: 87.67 kB / 483.2 MB, free: 1.891 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.554e-05/0.1402, allocations: 103 kB / 483.3 MB, free: 1.789 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002963/0.1405, allocations: 247 kB / 483.6 MB, free: 1.547 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1405, allocations: 4 kB / 483.6 MB, free: 1.543 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.1405, allocations: 4 kB / 483.6 MB, free: 1.539 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.01e-05/0.1406, allocations: 3.938 kB / 483.6 MB, free: 1.535 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000792/0.1414, allocations: 0.6338 MB / 484.2 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.366e-05/0.1414, allocations: 8.031 kB / 484.2 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.575e-05/0.1415, allocations: 30.75 kB / 484.3 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.272e-05/0.1415, allocations: 44.38 kB / 484.3 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003231/0.1419, allocations: 296.2 kB / 484.6 MB, free: 444 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.1419, allocations: 384 / 484.6 MB, free: 444 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.079e-05/0.1419, allocations: 8.125 kB / 484.6 MB, free: 436 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001513/0.1421, allocations: 57.62 kB / 484.6 MB, free: 372 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.1421, allocations: 3.984 kB / 484.7 MB, free: 368 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.1421, allocations: 0 / 484.7 MB, free: 368 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.1421, allocations: 0 / 484.7 MB, free: 368 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.705e-05/0.1422, allocations: 19.98 kB / 484.7 MB, free: 348 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005015/0.1427, allocations: 384.7 kB / 485 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.312e-05/0.1428, allocations: 34.52 kB / 485.1 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.38e-05/0.1429, allocations: 16.91 kB / 485.1 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.642e-05/0.1429, allocations: 0 / 485.1 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.683e-05/0.1429, allocations: 30.56 kB / 485.1 MB, free: 15.81 MB / 366.1 MB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.143, allocations: 0 / 485.1 MB, free: 15.81 MB / 366.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003101/0.1433, allocations: 101.2 kB / 485.2 MB, free: 15.71 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.706e-05/0.1433, allocations: 55.41 kB / 485.3 MB, free: 15.64 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000866/0.1442, allocations: 0.8699 MB / 486.1 MB, free: 14.76 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/0.1442, allocations: 25.7 kB / 486.2 MB, free: 14.73 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001864/0.1444, allocations: 228 kB / 486.4 MB, free: 14.5 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.243e-05/0.1445, allocations: 7.891 kB / 486.4 MB, free: 14.5 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.6e-05/0.1445, allocations: 25.66 kB / 486.4 MB, free: 14.46 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.1447, allocations: 358.7 kB / 486.8 MB, free: 14.11 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.807e-05/0.1447, allocations: 16.02 kB / 486.8 MB, free: 14.09 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.211e-05/0.1448, allocations: 8 kB / 486.8 MB, free: 14.08 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.963e-05/0.1449, allocations: 20.84 kB / 486.8 MB, free: 14.06 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1449, allocations: 0 / 486.8 MB, free: 14.06 MB / 366.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001614/0.1451, allocations: 97.11 kB / 486.9 MB, free: 13.96 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.1451, allocations: 4 kB / 486.9 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.1451, allocations: 96 / 486.9 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.1451, allocations: 4 kB / 486.9 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.157e-05/0.1452, allocations: 4 kB / 486.9 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.1452, allocations: 3.938 kB / 486.9 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.454e-05/0.1453, allocations: 4 kB / 486.9 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.168e-06/0.1453, allocations: 3.938 kB / 486.9 MB, free: 13.93 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 (2): * Single equations (assignments): 2 * 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.0001966/0.1455, allocations: 209.8 kB / 487.1 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.995e-05/0.1455, allocations: 47.44 kB / 487.2 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000217/0.1458, allocations: 100.8 kB / 487.3 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.1458, allocations: 3.938 kB / 487.3 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.1458, allocations: 7.984 kB / 487.3 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.1458, allocations: 3.984 kB / 487.3 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002632/0.1461, allocations: 285.5 kB / 487.6 MB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.1461, allocations: 0 / 487.6 MB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.796e-05/0.1461, allocations: 4 kB / 487.6 MB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/0.1461, allocations: 4 kB / 487.6 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-06/0.1461, allocations: 3.938 kB / 487.6 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.1462, allocations: 0 / 487.6 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.1462, allocations: 7.969 kB / 487.6 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001928/0.1464, allocations: 190.9 kB / 487.8 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.231e-05/0.1465, allocations: 112.6 kB / 487.9 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.545e-05/0.1465, allocations: 0 / 487.9 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.871e-05/0.1466, allocations: 3.984 kB / 487.9 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.318e-05/0.1466, allocations: 4 kB / 487.9 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.406e-06/0.1466, allocations: 4.031 kB / 487.9 MB, free: 12.86 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006515/0.1473, allocations: 0.6628 MB / 488.6 MB, free: 12.2 MB / 366.1 MB Notification: Performance of sort global known variables: time 5.01e-07/0.1473, allocations: 0 / 488.6 MB, free: 12.2 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002471/0.1475, allocations: 16 kB / 488.6 MB, free: 12.18 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 (2): * Single equations (assignments): 2 * 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.001149/0.1487, allocations: 0.9585 MB / 489.6 MB, free: 11.31 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001292/0.1488, allocations: 19.98 kB / 489.6 MB, free: 11.29 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.1488, allocations: 3.938 kB / 489.6 MB, free: 11.29 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.826e-05/0.1489, allocations: 16.05 kB / 489.6 MB, free: 11.27 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004035/0.1493, allocations: 29.3 kB / 489.6 MB, free: 11.25 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003442/0.1527, allocations: 3.233 MB / 492.9 MB, free: 7.918 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004423/0.1532, allocations: 0.8182 MB / 493.7 MB, free: 7.07 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.089e-05/0.1533, allocations: 16.05 kB / 493.7 MB, free: 7.055 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000124/0.1534, allocations: 107.4 kB / 493.8 MB, free: 6.949 MB / 366.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1534, allocations: 0 / 493.8 MB, free: 6.949 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02021/0.1736, allocations: 5.531 MB / 499.3 MB, free: 1.504 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001944/0.1738, allocations: 230.7 kB / 499.5 MB, free: 1.25 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.994/2.168, allocations: 4.062 kB / 499.6 MB, free: 1.246 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test7_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test7.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches