Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.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.CombiTable2Dv.Test27,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test27,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test27",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001485/0.001485, allocations: 109.8 kB / 17.33 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002744/0.002744, allocations: 205.8 kB / 18.26 MB, free: 5.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.547/1.547, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2525/0.2525, allocations: 46.1 MB / 343.8 MB, free: 11.75 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001617/0.001617, allocations: 70.34 kB / 417.1 MB, free: 20 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1241, allocations: 62.45 MB / 479.6 MB, free: 5.531 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test27): time 0.003238/0.1273, allocations: 1.74 MB / 481.3 MB, free: 3.773 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009956/0.1283, allocations: 0.5689 MB / 481.9 MB, free: 3.199 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.537e-05/0.1284, allocations: 4 kB / 481.9 MB, free: 3.195 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002845/0.1287, allocations: 67.8 kB / 482 MB, free: 3.129 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000313/0.1291, allocations: 79.8 kB / 482.1 MB, free: 3.051 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004652/0.1296, allocations: 171.2 kB / 482.2 MB, free: 2.887 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001667/0.1297, allocations: 91.75 kB / 482.3 MB, free: 2.797 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.1299, allocations: 12.23 kB / 482.3 MB, free: 2.781 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.965e-05/0.1299, allocations: 39.83 kB / 482.4 MB, free: 2.742 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001056/0.1301, allocations: 55.83 kB / 482.4 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.541e-05/0.1301, allocations: 4 kB / 482.4 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001247/0.1302, allocations: 51.98 kB / 482.5 MB, free: 2.633 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.467e-05/0.1303, allocations: 27.91 kB / 482.5 MB, free: 2.605 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.696e-05/0.1304, allocations: 35.73 kB / 482.5 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002473/0.1306, allocations: 123.8 kB / 482.7 MB, free: 2.449 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.283e-06/0.1306, allocations: 4 kB / 482.7 MB, free: 2.445 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1306, allocations: 0 / 482.7 MB, free: 2.445 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.1307, allocations: 0 / 482.7 MB, free: 2.445 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.0006415/0.1313, allocations: 422.9 kB / 483.1 MB, free: 1.984 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.138e-05/0.1314, allocations: 12.03 kB / 483.1 MB, free: 1.973 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.218e-05/0.1314, allocations: 34.73 kB / 483.1 MB, free: 1.93 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.834e-05/0.1315, allocations: 12.84 kB / 483.1 MB, free: 1.918 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002222/0.1317, allocations: 202.7 kB / 483.3 MB, free: 1.684 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.1317, allocations: 384 / 483.3 MB, free: 1.684 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.694e-05/0.1318, allocations: 4.375 kB / 483.3 MB, free: 1.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002048/0.132, allocations: 77.53 kB / 483.4 MB, free: 1.598 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.132, allocations: 0 / 483.4 MB, free: 1.598 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.132, allocations: 0 / 483.4 MB, free: 1.598 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.132, allocations: 7.938 kB / 483.4 MB, free: 1.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001549/0.1322, allocations: 43.97 kB / 483.5 MB, free: 1.547 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005045/0.1327, allocations: 332.5 kB / 483.8 MB, free: 1.172 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002585/0.133, allocations: 62.55 kB / 483.8 MB, free: 1.102 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.91e-05/0.1331, allocations: 28.97 kB / 483.9 MB, free: 1.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.57e-05/0.1331, allocations: 0 / 483.9 MB, free: 1.07 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.404e-05/0.1331, allocations: 30.66 kB / 483.9 MB, free: 1.031 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.002e-06/0.1331, allocations: 3.938 kB / 483.9 MB, free: 1.027 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001505/0.1346, allocations: 433.1 kB / 484.3 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.412e-05/0.1347, allocations: 55.41 kB / 484.4 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001768/0.1349, allocations: 197 kB / 484.6 MB, free: 340 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/0.1349, allocations: 25.7 kB / 484.6 MB, free: 308 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.555e-05/0.135, allocations: 112 kB / 484.7 MB, free: 192 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.536e-05/0.135, allocations: 31.55 kB / 484.7 MB, free: 160 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.518e-05/0.1351, allocations: 25.72 kB / 484.8 MB, free: 128 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.1352, allocations: 326.8 kB / 485.1 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001336/0.1353, allocations: 51.95 kB / 485.1 MB, free: 15.75 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001231/0.1355, allocations: 51.95 kB / 485.2 MB, free: 15.7 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002609/0.1357, allocations: 140.9 kB / 485.3 MB, free: 15.55 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.1357, allocations: 0 / 485.3 MB, free: 15.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003422/0.1361, allocations: 165.4 kB / 485.5 MB, free: 15.39 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.1361, allocations: 4 kB / 485.5 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.1361, allocations: 0 / 485.5 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.1361, allocations: 7.938 kB / 485.5 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/0.1363, allocations: 23.98 kB / 485.5 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.333e-06/0.1363, allocations: 4 kB / 485.5 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.931e-05/0.1364, allocations: 11.98 kB / 485.5 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.131e-05/0.1364, allocations: 7.938 kB / 485.5 MB, free: 15.33 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 (11): * Single equations (assignments): 11 * 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.000105/0.1365, allocations: 133.8 kB / 485.7 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.18e-05/0.1365, allocations: 11.81 kB / 485.7 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004204/0.137, allocations: 190.9 kB / 485.9 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.137, allocations: 7.938 kB / 485.9 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.137, allocations: 0 / 485.9 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.137, allocations: 3.984 kB / 485.9 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000706/0.1377, allocations: 0.5039 MB / 486.4 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.1377, allocations: 96 / 486.4 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001055/0.1378, allocations: 31.92 kB / 486.4 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.1378, allocations: 3.938 kB / 486.4 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.398e-05/0.1379, allocations: 4 kB / 486.4 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.1379, allocations: 0 / 486.4 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.1379, allocations: 0 / 486.4 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003665/0.1383, allocations: 276.9 kB / 486.7 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.669e-05/0.1383, allocations: 89 kB / 486.8 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.456e-05/0.1383, allocations: 8 kB / 486.8 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.683e-05/0.1384, allocations: 8.172 kB / 486.8 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.194e-05/0.1385, allocations: 23.92 kB / 486.8 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.198e-05/0.1385, allocations: 8 kB / 486.8 MB, free: 13.92 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001063/0.1386, allocations: 145.8 kB / 487 MB, free: 13.78 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1386, allocations: 0 / 487 MB, free: 13.78 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002658/0.1389, allocations: 31.91 kB / 487 MB, free: 13.75 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001493/0.1404, allocations: 1.15 MB / 488.2 MB, free: 12.73 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000334/0.1407, allocations: 135.8 kB / 488.3 MB, free: 12.6 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.1408, allocations: 4 kB / 488.3 MB, free: 12.6 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001519/0.1409, allocations: 67.89 kB / 488.4 MB, free: 12.53 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003677/0.1413, allocations: 20.11 kB / 488.4 MB, free: 12.51 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002231/0.1435, allocations: 1.937 MB / 490.3 MB, free: 10.49 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003204/0.1439, allocations: 0.7158 MB / 491 MB, free: 9.75 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.534e-05/0.144, allocations: 32.52 kB / 491.1 MB, free: 9.719 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.843e-05/0.1441, allocations: 39.42 kB / 491.1 MB, free: 9.68 MB / 366.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1441, allocations: 0 / 491.1 MB, free: 9.68 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7622/0.9063, allocations: 3.312 MB / 494.4 MB, free: 6.457 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000332/0.9066, allocations: 235.9 kB / 494.6 MB, free: 6.199 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.996/2.903, allocations: 0 / 494.6 MB, free: 6.199 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test27_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test27.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches