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.001672/0.001672, allocations: 103.1 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002186/0.002186, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.453/1.453, allocations: 227.4 MB / 246.3 MB, free: 9.047 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2565/0.2565, allocations: 46.1 MB / 343.6 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002709/0.002709, allocations: 77.47 kB / 416.9 MB, free: 20.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.1379, allocations: 62.45 MB / 479.4 MB, free: 5.609 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.003875/0.1418, allocations: 1.731 MB / 481.1 MB, free: 3.863 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001117/0.143, allocations: 0.5573 MB / 481.7 MB, free: 3.301 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.43e-05/0.1431, allocations: 0 / 481.7 MB, free: 3.301 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005777/0.1437, allocations: 447.2 kB / 482.1 MB, free: 2.863 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004376/0.1441, allocations: 287.5 kB / 482.4 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004065/0.1446, allocations: 123.4 kB / 482.5 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002864/0.1449, allocations: 167.6 kB / 482.7 MB, free: 2.301 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.145, allocations: 23.98 kB / 482.7 MB, free: 2.277 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000184/0.1452, allocations: 103.7 kB / 482.8 MB, free: 2.176 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002805/0.1455, allocations: 211.5 kB / 483 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.316e-05/0.1455, allocations: 4 kB / 483 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001331/0.1456, allocations: 47.98 kB / 483.1 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000143/0.1458, allocations: 87.56 kB / 483.1 MB, free: 1.832 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.791e-05/0.1459, allocations: 111 kB / 483.3 MB, free: 1.723 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003541/0.1463, allocations: 271.1 kB / 483.5 MB, free: 1.457 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.1463, allocations: 0 / 483.5 MB, free: 1.457 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1463, allocations: 0 / 483.5 MB, free: 1.457 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.247e-06/0.1463, allocations: 0 / 483.5 MB, free: 1.457 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008359/0.1471, allocations: 0.6453 MB / 484.2 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.999e-05/0.1472, allocations: 8.875 kB / 484.2 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.536e-05/0.1473, allocations: 38.75 kB / 484.2 MB, free: 0.707 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.758e-05/0.1473, allocations: 40.38 kB / 484.3 MB, free: 0.668 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003189/0.1477, allocations: 308.1 kB / 484.6 MB, free: 336 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.1477, allocations: 8.312 kB / 484.6 MB, free: 328 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.143e-05/0.1477, allocations: 4.375 kB / 484.6 MB, free: 324 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000169/0.1479, allocations: 61.61 kB / 484.6 MB, free: 256 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.1479, allocations: 0 / 484.6 MB, free: 256 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.1479, allocations: 0 / 484.6 MB, free: 256 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.1479, allocations: 7.938 kB / 484.6 MB, free: 248 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001259/0.1481, allocations: 23.98 kB / 484.7 MB, free: 224 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005405/0.1486, allocations: 408.6 kB / 485.1 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001138/0.1488, allocations: 42.56 kB / 485.1 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.391e-05/0.1488, allocations: 20.89 kB / 485.1 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.09e-05/0.1488, allocations: 0 / 485.1 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.608e-05/0.1489, allocations: 34.64 kB / 485.2 MB, free: 15.65 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 9.81e-07/0.1489, allocations: 4 kB / 485.2 MB, free: 15.65 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.001059/0.15, allocations: 304 kB / 485.5 MB, free: 15.34 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.975e-05/0.15, allocations: 55.34 kB / 485.5 MB, free: 15.28 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009308/0.151, allocations: 0.8777 MB / 486.4 MB, free: 14.39 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.525e-05/0.151, allocations: 25.7 kB / 486.4 MB, free: 14.36 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001743/0.1512, allocations: 224.1 kB / 486.6 MB, free: 14.14 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.701e-05/0.1512, allocations: 35.53 kB / 486.7 MB, free: 14.1 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.878e-05/0.1513, allocations: 17.72 kB / 486.7 MB, free: 14.08 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.1514, allocations: 366.8 kB / 487 MB, free: 13.71 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.321e-05/0.1515, allocations: 19.98 kB / 487.1 MB, free: 13.69 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.444e-05/0.1516, allocations: 27.98 kB / 487.1 MB, free: 13.66 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001556/0.1518, allocations: 68.77 kB / 487.2 MB, free: 13.59 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.1518, allocations: 0 / 487.2 MB, free: 13.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002584/0.152, allocations: 133 kB / 487.3 MB, free: 13.46 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.1521, allocations: 8 kB / 487.3 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.1521, allocations: 0 / 487.3 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.1521, allocations: 0 / 487.3 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001044/0.1522, allocations: 23.92 kB / 487.3 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.1522, allocations: 4 kB / 487.3 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.033e-05/0.1523, allocations: 4 kB / 487.3 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.45e-05/0.1523, allocations: 11.98 kB / 487.3 MB, free: 13.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 (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.0002044/0.1525, allocations: 213.7 kB / 487.5 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.194e-05/0.1526, allocations: 43.44 kB / 487.6 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003407/0.1529, allocations: 165.8 kB / 487.7 MB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.153, allocations: 3.938 kB / 487.8 MB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.153, allocations: 0 / 487.8 MB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/0.153, allocations: 3.984 kB / 487.8 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006585/0.1536, allocations: 0.4992 MB / 488.3 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.1537, allocations: 7.938 kB / 488.3 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.156e-05/0.1537, allocations: 16.03 kB / 488.3 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.1538, allocations: 3.938 kB / 488.3 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.642e-05/0.1538, allocations: 11.98 kB / 488.3 MB, free: 12.37 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.1538, allocations: 0 / 488.3 MB, free: 12.37 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.1538, allocations: 0 / 488.3 MB, free: 12.37 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002822/0.1541, allocations: 239.7 kB / 488.5 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.935e-05/0.1542, allocations: 112.5 kB / 488.6 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.032e-05/0.1542, allocations: 8 kB / 488.6 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.18e-05/0.1543, allocations: 7.984 kB / 488.7 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.025e-05/0.1543, allocations: 4 kB / 488.7 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.711e-06/0.1544, allocations: 0 / 488.7 MB, free: 11.96 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006106/0.155, allocations: 0.6589 MB / 489.3 MB, free: 11.31 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.155, allocations: 0 / 489.3 MB, free: 11.31 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002831/0.1553, allocations: 32 kB / 489.3 MB, free: 11.28 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.001554/0.1568, allocations: 1.125 MB / 490.5 MB, free: 10.29 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002195/0.1571, allocations: 63.89 kB / 490.5 MB, free: 10.23 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.1571, allocations: 0 / 490.5 MB, free: 10.23 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001168/0.1572, allocations: 35.98 kB / 490.6 MB, free: 10.19 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004083/0.1576, allocations: 26.61 kB / 490.6 MB, free: 10.17 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004229/0.1619, allocations: 3.435 MB / 494 MB, free: 6.629 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005649/0.1624, allocations: 0.8307 MB / 494.9 MB, free: 5.77 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.683e-05/0.1625, allocations: 16.44 kB / 494.9 MB, free: 5.754 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001347/0.1627, allocations: 103.4 kB / 495 MB, free: 5.652 MB / 366.1 MB Notification: Performance of SimCode: time 8.21e-07/0.1627, allocations: 0 / 495 MB, free: 5.652 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01853/0.1812, allocations: 6.067 MB / 0.4893 GB, free: 15.66 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002016/0.1814, allocations: 230.5 kB / 0.4895 GB, free: 15.4 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.061/2.242, allocations: 7.625 kB / 0.4895 GB, free: 15.4 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