Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.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.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test6",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001083/0.001083, allocations: 92.44 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.001247/0.001247, allocations: 205 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.338/1.338, allocations: 227.7 MB / 246.8 MB, free: 11.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1971/0.1971, allocations: 46.19 MB / 345.2 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002569/0.0002569, allocations: 8 kB / 419.6 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.113, allocations: 63.56 MB / 483.2 MB, free: 4.078 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test6): time 0.001778/0.1148, allocations: 1.38 MB / 484.6 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00082/0.1157, allocations: 0.5379 MB / 485.1 MB, free: 2.145 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.857e-05/0.1157, allocations: 0 / 485.1 MB, free: 2.145 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006337/0.1164, allocations: 447.2 kB / 485.5 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000368/0.1168, allocations: 287.4 kB / 485.8 MB, free: 1.426 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002785/0.117, allocations: 119 kB / 485.9 MB, free: 1.312 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001967/0.1173, allocations: 163.6 kB / 486.1 MB, free: 1.152 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.1174, allocations: 27.97 kB / 486.1 MB, free: 1.125 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001005/0.1175, allocations: 99.8 kB / 486.2 MB, free: 1.027 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001986/0.1177, allocations: 207.5 kB / 486.4 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.588e-05/0.1177, allocations: 7.938 kB / 486.4 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.689e-05/0.1178, allocations: 27.97 kB / 486.5 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.641e-05/0.1179, allocations: 83.69 kB / 486.5 MB, free: 0.707 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.811e-05/0.118, allocations: 124.7 kB / 486.7 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002344/0.1182, allocations: 263.1 kB / 486.9 MB, free: 328 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.1182, allocations: 4 kB / 486.9 MB, free: 324 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1182, allocations: 0 / 486.9 MB, free: 324 kB / 350.1 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.1182, allocations: 0 / 486.9 MB, free: 324 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006197/0.1189, allocations: 0.6105 MB / 487.5 MB, free: 15.66 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.1189, allocations: 8.875 kB / 487.5 MB, free: 15.65 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.942e-05/0.1189, allocations: 30.75 kB / 487.6 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001237/0.1191, allocations: 44.38 kB / 487.6 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003529/0.1194, allocations: 304.1 kB / 487.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.558e-06/0.1194, allocations: 4.375 kB / 487.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.884e-05/0.1195, allocations: 4.375 kB / 487.9 MB, free: 15.22 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001549/0.1196, allocations: 69.53 kB / 488 MB, free: 15.15 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.1197, allocations: 4 kB / 488 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.805e-06/0.1197, allocations: 0 / 488 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.1197, allocations: 0 / 488 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001366/0.1198, allocations: 43.97 kB / 488 MB, free: 15.1 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004062/0.1202, allocations: 392.7 kB / 488.4 MB, free: 14.67 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001177/0.1204, allocations: 50.5 kB / 488.5 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.845e-05/0.1205, allocations: 28.94 kB / 488.5 MB, free: 14.58 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.143e-05/0.1205, allocations: 0 / 488.5 MB, free: 14.58 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.855e-05/0.1205, allocations: 34.56 kB / 488.5 MB, free: 14.54 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.1205, allocations: 0 / 488.5 MB, free: 14.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009052/0.1214, allocations: 335.8 kB / 488.9 MB, free: 14.2 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.906e-05/0.1215, allocations: 51.41 kB / 488.9 MB, free: 14.14 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007677/0.1223, allocations: 0.8698 MB / 489.8 MB, free: 13.26 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.478e-05/0.1223, allocations: 37.7 kB / 489.8 MB, free: 13.21 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001492/0.1225, allocations: 216 kB / 490 MB, free: 13 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.471e-05/0.1225, allocations: 15.7 kB / 490 MB, free: 12.98 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.603e-05/0.1225, allocations: 17.72 kB / 490.1 MB, free: 12.96 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.1226, allocations: 362.8 kB / 490.4 MB, free: 12.6 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001534/0.1228, allocations: 39.98 kB / 490.5 MB, free: 12.56 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001081/0.1229, allocations: 35.97 kB / 490.5 MB, free: 12.52 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000233/0.1232, allocations: 104.8 kB / 490.6 MB, free: 12.42 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1232, allocations: 0 / 490.6 MB, free: 12.42 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003535/0.1235, allocations: 161.1 kB / 490.7 MB, free: 12.25 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.1236, allocations: 4 kB / 490.7 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.1236, allocations: 0 / 490.7 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.1236, allocations: 3.938 kB / 490.8 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000119/0.1237, allocations: 27.92 kB / 490.8 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-06/0.1237, allocations: 0 / 490.8 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.678e-05/0.1238, allocations: 28.2 kB / 490.8 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.632e-06/0.1238, allocations: 0 / 490.8 MB, free: 12.19 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 0.0001776/0.124, allocations: 217.7 kB / 491 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.825e-05/0.1241, allocations: 43.44 kB / 491.1 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003711/0.1245, allocations: 185.5 kB / 491.2 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.1245, allocations: 0 / 491.2 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.1245, allocations: 3.984 kB / 491.2 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.207e-06/0.1245, allocations: 3.938 kB / 491.3 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006143/0.1251, allocations: 0.5101 MB / 491.8 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1251, allocations: 0 / 491.8 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.634e-05/0.1252, allocations: 27.98 kB / 491.8 MB, free: 11.13 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.1252, allocations: 0 / 491.8 MB, free: 11.13 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.1252, allocations: 7.938 kB / 491.8 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.534e-06/0.1252, allocations: 4 kB / 491.8 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.1252, allocations: 480 / 491.8 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003454/0.1256, allocations: 266.9 kB / 492.1 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.433e-05/0.1257, allocations: 112.5 kB / 492.2 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.632e-05/0.1257, allocations: 7.938 kB / 492.2 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.1258, allocations: 15.98 kB / 492.2 MB, free: 10.69 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.77e-05/0.1259, allocations: 15.97 kB / 492.2 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.519e-06/0.1259, allocations: 0 / 492.2 MB, free: 10.68 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005603/0.1264, allocations: 0.6589 MB / 492.9 MB, free: 10.02 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1265, allocations: 0 / 492.9 MB, free: 10.02 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002442/0.1267, allocations: 20 kB / 492.9 MB, free: 10 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.001474/0.1282, allocations: 1.084 MB / 494 MB, free: 9.027 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002784/0.1285, allocations: 99.86 kB / 494.1 MB, free: 8.93 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1285, allocations: 4 kB / 494.1 MB, free: 8.926 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001244/0.1286, allocations: 47.97 kB / 494.1 MB, free: 8.879 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003368/0.129, allocations: 26.3 kB / 494.1 MB, free: 8.855 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003762/0.1327, allocations: 3.467 MB / 497.6 MB, free: 5.289 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003623/0.1331, allocations: 0.8281 MB / 498.4 MB, free: 4.434 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.713e-05/0.1332, allocations: 12.97 kB / 498.5 MB, free: 4.422 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000126/0.1333, allocations: 107.4 kB / 498.6 MB, free: 4.316 MB / 366.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1333, allocations: 4 kB / 498.6 MB, free: 4.312 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0164/0.1497, allocations: 5.567 MB / 0.4923 GB, free: 14.84 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002408/0.15, allocations: 236.3 kB / 0.4925 GB, free: 14.59 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.806/1.956, allocations: 0 / 0.4925 GB, free: 14.59 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test6_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test6.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches