Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.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.Test12,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test12,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test12",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001001/0.001001, allocations: 93.22 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0011/0.0011, allocations: 203.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.318/1.318, allocations: 227.7 MB / 246.8 MB, free: 9.594 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1965/0.1965, allocations: 46.18 MB / 345.2 MB, free: 11.25 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002346/0.0002346, allocations: 8 kB / 419.6 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1175, allocations: 63.57 MB / 483.2 MB, free: 4.035 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test12): time 0.002137/0.1196, allocations: 1.376 MB / 484.6 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001637/0.1213, allocations: 1.136 MB / 485.7 MB, free: 1.504 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.223e-05/0.1214, allocations: 0 / 485.7 MB, free: 1.504 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001966/0.1216, allocations: 23.91 kB / 485.7 MB, free: 1.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002732/0.1219, allocations: 71.75 kB / 485.8 MB, free: 1.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003539/0.1222, allocations: 119.4 kB / 485.9 MB, free: 1.297 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001488/0.1224, allocations: 63.78 kB / 486 MB, free: 1.234 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.884e-05/0.1225, allocations: 15.98 kB / 486 MB, free: 1.219 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.775e-05/0.1226, allocations: 23.92 kB / 486 MB, free: 1.195 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001504/0.1227, allocations: 43.7 kB / 486 MB, free: 1.152 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.468e-05/0.1228, allocations: 4 kB / 486.1 MB, free: 1.148 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001815/0.1229, allocations: 95.94 kB / 486.1 MB, free: 1.055 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.63e-05/0.123, allocations: 7.984 kB / 486.2 MB, free: 1.047 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.172e-05/0.1231, allocations: 57.5 kB / 486.2 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000244/0.1233, allocations: 151.8 kB / 486.4 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.1233, allocations: 0 / 486.4 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1233, allocations: 0 / 486.4 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.947e-06/0.1233, allocations: 0 / 486.4 MB, free: 0.8359 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005074/0.1239, allocations: 399.3 kB / 486.7 MB, free: 408 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.018e-05/0.1239, allocations: 12.88 kB / 486.8 MB, free: 396 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.338e-05/0.124, allocations: 38.69 kB / 486.8 MB, free: 348 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.721e-05/0.124, allocations: 8.844 kB / 486.8 MB, free: 340 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002451/0.1243, allocations: 206.9 kB / 487 MB, free: 96 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.1243, allocations: 4.375 kB / 487 MB, free: 92 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.532e-05/0.1243, allocations: 4.312 kB / 487 MB, free: 88 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002157/0.1245, allocations: 87.31 kB / 487.1 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.1246, allocations: 3.938 kB / 487.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.1246, allocations: 0 / 487.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.1246, allocations: 0 / 487.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000154/0.1248, allocations: 43.97 kB / 487.1 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003708/0.1251, allocations: 300.7 kB / 487.4 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001251/0.1253, allocations: 50.56 kB / 487.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.621e-05/0.1254, allocations: 28.94 kB / 487.5 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.124e-05/0.1254, allocations: 0 / 487.5 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.426e-05/0.1254, allocations: 34.56 kB / 487.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 8.51e-07/0.1254, allocations: 0 / 487.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.000818/0.1263, allocations: 249.3 kB / 487.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.657e-05/0.1263, allocations: 81.11 kB / 487.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001568/0.1265, allocations: 160.2 kB / 488 MB, free: 14.95 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.448e-05/0.1265, allocations: 25.7 kB / 488.1 MB, free: 14.92 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.725e-05/0.1265, allocations: 92.14 kB / 488.1 MB, free: 14.82 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.421e-05/0.1266, allocations: 27.7 kB / 488.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.513e-05/0.1266, allocations: 13.72 kB / 488.2 MB, free: 14.78 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001023/0.1267, allocations: 322.8 kB / 488.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001199/0.1268, allocations: 31.98 kB / 488.5 MB, free: 14.42 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001294/0.127, allocations: 69.61 kB / 488.6 MB, free: 14.35 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002328/0.1272, allocations: 84.84 kB / 488.7 MB, free: 14.26 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1272, allocations: 0 / 488.7 MB, free: 14.26 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003087/0.1275, allocations: 133.5 kB / 488.8 MB, free: 14.12 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.1276, allocations: 8 kB / 488.8 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.1276, allocations: 0 / 488.8 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/0.1276, allocations: 0 / 488.8 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/0.1277, allocations: 27.92 kB / 488.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/0.1277, allocations: 3.984 kB / 488.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.997e-05/0.1278, allocations: 19.88 kB / 488.9 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.43e-05/0.1278, allocations: 4 kB / 488.9 MB, free: 14.06 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 (7): * Single equations (assignments): 7 * 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 8.963e-05/0.1279, allocations: 121.8 kB / 489 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.72e-05/0.128, allocations: 11.81 kB / 489 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003473/0.1283, allocations: 142.6 kB / 489.1 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.1284, allocations: 0 / 489.1 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/0.1284, allocations: 4 kB / 489.2 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.1284, allocations: 7.938 kB / 489.2 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005465/0.1289, allocations: 418.4 kB / 489.6 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.1289, allocations: 0 / 489.6 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.369e-05/0.129, allocations: 27.98 kB / 489.6 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.129, allocations: 0 / 489.6 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/0.1291, allocations: 3.938 kB / 489.6 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1291, allocations: 0 / 489.6 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1291, allocations: 3.938 kB / 489.6 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003352/0.1294, allocations: 231.3 kB / 489.8 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.932e-05/0.1295, allocations: 93 kB / 489.9 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.117e-05/0.1295, allocations: 3.938 kB / 489.9 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.1296, allocations: 16 kB / 489.9 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.851e-05/0.1297, allocations: 8.266 kB / 489.9 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/0.1297, allocations: 4 kB / 490 MB, free: 12.88 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.939e-05/0.1298, allocations: 117.7 kB / 490.1 MB, free: 12.77 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1298, allocations: 0 / 490.1 MB, free: 12.77 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002837/0.1301, allocations: 43.98 kB / 490.1 MB, free: 12.73 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 (7): * Single equations (assignments): 7 * 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.001619/0.1317, allocations: 1.144 MB / 491.3 MB, free: 11.72 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003047/0.132, allocations: 99.92 kB / 491.4 MB, free: 11.62 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.132, allocations: 0 / 491.4 MB, free: 11.62 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001311/0.1322, allocations: 55.91 kB / 491.4 MB, free: 11.57 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003083/0.1325, allocations: 15.98 kB / 491.4 MB, free: 11.55 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002114/0.1346, allocations: 1.651 MB / 493.1 MB, free: 9.82 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002535/0.1349, allocations: 0.6966 MB / 493.8 MB, free: 9.098 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.245e-05/0.135, allocations: 16.95 kB / 493.8 MB, free: 9.078 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.099e-05/0.135, allocations: 35.42 kB / 493.8 MB, free: 9.043 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.135, allocations: 0 / 493.8 MB, free: 9.043 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01578/0.1508, allocations: 3.035 MB / 496.9 MB, free: 6.121 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001965/0.1511, allocations: 238.8 kB / 497.1 MB, free: 5.867 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.786/1.937, allocations: 3.938 kB / 497.1 MB, free: 5.863 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test12_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test12.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches