Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.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.Test15,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test15,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test15",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001369/0.001369, allocations: 105.4 kB / 17.32 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001464/0.001464, allocations: 209.8 kB / 18.26 MB, free: 5.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.464/1.464, allocations: 227.4 MB / 246.4 MB, free: 9.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3004/0.3004, allocations: 46.1 MB / 343.8 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001567/0.001567, allocations: 77.09 kB / 417.2 MB, free: 19.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1187, allocations: 62.44 MB / 479.6 MB, free: 5.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test15): time 0.003475/0.1223, allocations: 1.705 MB / 481.3 MB, free: 3.777 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008819/0.1232, allocations: 0.6644 MB / 482 MB, free: 3.109 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.142e-05/0.1232, allocations: 4 kB / 482 MB, free: 3.105 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002712/0.1235, allocations: 35.84 kB / 482 MB, free: 3.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002096/0.1238, allocations: 31.91 kB / 482 MB, free: 3.039 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.899e-06/0.1238, allocations: 0 / 482 MB, free: 3.039 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001405/0.1239, allocations: 39.89 kB / 482.1 MB, free: 3 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.614e-05/0.124, allocations: 0 / 482.1 MB, free: 3 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.144e-05/0.124, allocations: 15.91 kB / 482.1 MB, free: 2.984 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.279e-05/0.1241, allocations: 19.94 kB / 482.1 MB, free: 2.965 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.25e-05/0.1241, allocations: 4 kB / 482.1 MB, free: 2.961 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.326e-05/0.1242, allocations: 15.98 kB / 482.1 MB, free: 2.945 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.219e-05/0.1243, allocations: 23.84 kB / 482.1 MB, free: 2.922 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.267e-05/0.1243, allocations: 19.88 kB / 482.2 MB, free: 2.902 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001307/0.1245, allocations: 75.95 kB / 482.2 MB, free: 2.828 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1245, allocations: 0 / 482.2 MB, free: 2.828 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1245, allocations: 0 / 482.2 MB, free: 2.828 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.1245, allocations: 0 / 482.2 MB, free: 2.828 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004048/0.1249, allocations: 355.4 kB / 482.6 MB, free: 2.43 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.1249, allocations: 12.03 kB / 482.6 MB, free: 2.418 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.671e-05/0.125, allocations: 42.73 kB / 482.6 MB, free: 2.367 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.291e-05/0.125, allocations: 12.75 kB / 482.7 MB, free: 2.355 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002066/0.1252, allocations: 172.3 kB / 482.8 MB, free: 2.148 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.895e-06/0.1253, allocations: 384 / 482.8 MB, free: 2.148 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.308e-05/0.1253, allocations: 8.359 kB / 482.8 MB, free: 2.141 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001812/0.1255, allocations: 121.8 kB / 483 MB, free: 2 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.1255, allocations: 11.88 kB / 483 MB, free: 1.988 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.827e-06/0.1255, allocations: 0 / 483 MB, free: 1.988 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.267e-05/0.1255, allocations: 27.92 kB / 483 MB, free: 1.961 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.321e-05/0.1256, allocations: 39.92 kB / 483 MB, free: 1.922 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006739/0.1263, allocations: 0.8945 MB / 483.9 MB, free: 0.957 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.857e-05/0.1264, allocations: 169.1 kB / 484.1 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.541e-05/0.1264, allocations: 84.08 kB / 484.2 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.206e-05/0.1265, allocations: 79.38 kB / 484.2 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.083e-05/0.1265, allocations: 109.8 kB / 484.4 MB, free: 0.5 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.133e-06/0.1265, allocations: 0 / 484.4 MB, free: 0.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 7.883e-05/0.1266, allocations: 37.61 kB / 484.4 MB, free: 468 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000106/0.1267, allocations: 126.7 kB / 484.5 MB, free: 328 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000181/0.1269, allocations: 190 kB / 484.7 MB, free: 128 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.126e-05/0.1269, allocations: 25.7 kB / 484.7 MB, free: 96 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001149/0.1271, allocations: 155.2 kB / 484.9 MB, free: 15.93 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.857e-06/0.1271, allocations: 0 / 484.9 MB, free: 15.93 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.5e-05/0.1271, allocations: 45.61 kB / 484.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.1273, allocations: 318.8 kB / 485.2 MB, free: 15.56 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.074e-05/0.1273, allocations: 31.97 kB / 485.3 MB, free: 15.53 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001699/0.1275, allocations: 160.9 kB / 485.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002006/0.1277, allocations: 204.9 kB / 485.6 MB, free: 15.05 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.1277, allocations: 4 kB / 485.6 MB, free: 15.05 MB / 366.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003004/0.128, allocations: 201.4 kB / 485.8 MB, free: 14.85 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.128, allocations: 10.66 kB / 485.8 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.1281, allocations: 4 kB / 485.8 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.1281, allocations: 11.98 kB / 485.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/0.1282, allocations: 35.92 kB / 485.9 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.165e-05/0.1282, allocations: 11.92 kB / 485.9 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.53e-05/0.1283, allocations: 27.69 kB / 485.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.376e-05/0.1283, allocations: 12 kB / 485.9 MB, free: 14.74 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001254/0.1285, allocations: 221.2 kB / 486.2 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.853e-05/0.1285, allocations: 112.8 kB / 486.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.997e-05/0.1286, allocations: 116.9 kB / 486.4 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.567e-05/0.1287, allocations: 184.2 kB / 486.6 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.335e-05/0.1288, allocations: 180.3 kB / 486.7 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001235/0.1289, allocations: 184.2 kB / 486.9 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002625/0.1292, allocations: 425.1 kB / 487.3 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.403e-05/0.1292, allocations: 101 kB / 487.4 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.357e-05/0.1293, allocations: 108.9 kB / 487.5 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.42e-05/0.1294, allocations: 176.3 kB / 487.7 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.702e-05/0.1294, allocations: 184.2 kB / 487.9 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.214e-05/0.1295, allocations: 180.3 kB / 488.1 MB, free: 12.47 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.138e-05/0.1296, allocations: 184.3 kB / 488.2 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002338/0.1298, allocations: 311.5 kB / 488.5 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.655e-05/0.1299, allocations: 193.9 kB / 488.7 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.896e-05/0.13, allocations: 184.3 kB / 488.9 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.259e-05/0.1301, allocations: 101 kB / 489 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.472e-05/0.1302, allocations: 188.2 kB / 489.2 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.078e-05/0.1303, allocations: 101 kB / 489.3 MB, free: 11.15 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001089/0.1304, allocations: 127.2 kB / 489.4 MB, free: 11.03 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1304, allocations: 3.938 kB / 489.4 MB, free: 11.02 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000397/0.1308, allocations: 16 kB / 489.4 MB, free: 11.01 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 (0): * Single equations (assignments): 0 * 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.001009/0.1318, allocations: 0.9169 MB / 490.4 MB, free: 10.11 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001677/0.132, allocations: 80.97 kB / 490.4 MB, free: 10.03 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.132, allocations: 0 / 490.4 MB, free: 10.03 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.553e-06/0.132, allocations: 0 / 490.4 MB, free: 10.03 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005335/0.1326, allocations: 462.2 kB / 490.9 MB, free: 9.578 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002015/0.1346, allocations: 1.89 MB / 492.8 MB, free: 7.492 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003235/0.1349, allocations: 0.6967 MB / 493.5 MB, free: 6.77 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002223/0.1352, allocations: 49.03 kB / 493.5 MB, free: 6.723 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.689e-05/0.1352, allocations: 23.42 kB / 493.5 MB, free: 6.699 MB / 366.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1352, allocations: 7.938 kB / 493.5 MB, free: 6.691 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01895/0.1542, allocations: 1.962 MB / 495.5 MB, free: 4.828 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003359/0.1546, allocations: 236.7 kB / 495.7 MB, free: 4.566 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.878/2.033, allocations: 0 / 495.7 MB, free: 4.566 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test15_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test15.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches