Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.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.Test25,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test25",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test25,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test25",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008128/0.0008131, allocations: 96.48 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001078/0.001078, allocations: 205.8 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.379/1.379, allocations: 227.7 MB / 246.8 MB, free: 9.551 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1919/0.1919, allocations: 46.18 MB / 345.2 MB, free: 11.27 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000243/0.000243, allocations: 8 kB / 419.6 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1137, allocations: 63.56 MB / 483.2 MB, free: 4.059 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test25): time 0.002277/0.1161, allocations: 1.401 MB / 484.6 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001401/0.1175, allocations: 0.5574 MB / 485.1 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001123/0.1176, allocations: 4 kB / 485.1 MB, free: 2.078 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003893/0.118, allocations: 51.86 kB / 485.2 MB, free: 2.027 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004411/0.1185, allocations: 75.73 kB / 485.3 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006834/0.1192, allocations: 163.1 kB / 485.4 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002519/0.1195, allocations: 79.77 kB / 485.5 MB, free: 1.719 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001797/0.1196, allocations: 24.2 kB / 485.5 MB, free: 1.691 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.445e-05/0.1197, allocations: 35.8 kB / 485.6 MB, free: 1.656 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001425/0.1199, allocations: 39.83 kB / 485.6 MB, free: 1.617 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.281e-05/0.1199, allocations: 4 kB / 485.6 MB, free: 1.613 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001708/0.1201, allocations: 47.92 kB / 485.6 MB, free: 1.566 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001021/0.1202, allocations: 19.92 kB / 485.7 MB, free: 1.547 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.93e-05/0.1203, allocations: 65.42 kB / 485.7 MB, free: 1.477 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002875/0.1206, allocations: 107.9 kB / 485.8 MB, free: 1.371 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.596e-06/0.1206, allocations: 0 / 485.8 MB, free: 1.371 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.438e-06/0.1206, allocations: 4 kB / 485.8 MB, free: 1.367 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.087e-06/0.1207, allocations: 0 / 485.8 MB, free: 1.367 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.0007948/0.1215, allocations: 407.2 kB / 486.2 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.381e-05/0.1215, allocations: 8.875 kB / 486.2 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.576e-05/0.1216, allocations: 34.75 kB / 486.3 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.085e-05/0.1216, allocations: 12.75 kB / 486.3 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002525/0.1219, allocations: 208 kB / 486.5 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.937e-06/0.1219, allocations: 8.375 kB / 486.5 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.612e-05/0.1219, allocations: 4.359 kB / 486.5 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001891/0.1221, allocations: 73.61 kB / 486.6 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.1221, allocations: 0 / 486.6 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.1222, allocations: 0 / 486.6 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.1222, allocations: 4 kB / 486.6 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001677/0.1223, allocations: 59.89 kB / 486.6 MB, free: 476 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005038/0.1229, allocations: 328.6 kB / 487 MB, free: 96 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002585/0.1231, allocations: 70.58 kB / 487 MB, free: 16 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001037/0.1232, allocations: 32.95 kB / 487.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.209e-05/0.1233, allocations: 4 kB / 487.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.169e-05/0.1233, allocations: 30.56 kB / 487.1 MB, free: 15.94 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.303e-06/0.1233, allocations: 4 kB / 487.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.001753/0.1251, allocations: 0.5088 MB / 487.6 MB, free: 15.42 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.507e-05/0.1251, allocations: 51.41 kB / 487.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000226/0.1254, allocations: 182.2 kB / 487.8 MB, free: 15.17 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.142e-05/0.1254, allocations: 25.7 kB / 487.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.069e-05/0.1255, allocations: 108 kB / 488 MB, free: 15.03 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.965e-05/0.1256, allocations: 39.45 kB / 488 MB, free: 14.99 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.739e-05/0.1256, allocations: 13.72 kB / 488 MB, free: 14.97 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001845/0.1258, allocations: 326.8 kB / 488.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001635/0.126, allocations: 71.83 kB / 488.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001502/0.1261, allocations: 59.95 kB / 488.5 MB, free: 14.51 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003294/0.1265, allocations: 140.8 kB / 488.6 MB, free: 14.37 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-06/0.1265, allocations: 0 / 488.6 MB, free: 14.37 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003681/0.1269, allocations: 185.5 kB / 488.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.1269, allocations: 4 kB / 488.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.79e-06/0.1269, allocations: 0 / 488.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.477e-05/0.1269, allocations: 7.938 kB / 488.8 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001256/0.1271, allocations: 35.92 kB / 488.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.1271, allocations: 0 / 488.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.539e-05/0.1272, allocations: 15.98 kB / 488.8 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.174e-05/0.1272, allocations: 4 kB / 488.9 MB, free: 14.12 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.0001075/0.1273, allocations: 125.8 kB / 489 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.847e-05/0.1273, allocations: 19.81 kB / 489 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004643/0.1278, allocations: 206.2 kB / 489.2 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.1278, allocations: 7.922 kB / 489.2 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.1278, allocations: 0 / 489.2 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.1278, allocations: 0 / 489.2 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007656/0.1286, allocations: 0.5078 MB / 489.7 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.1286, allocations: 3.938 kB / 489.7 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001058/0.1287, allocations: 35.97 kB / 489.8 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.1287, allocations: 64 / 489.8 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.1288, allocations: 8 kB / 489.8 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.528e-06/0.1288, allocations: 4 kB / 489.8 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1288, allocations: 0 / 489.8 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000438/0.1292, allocations: 292.9 kB / 490 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001433/0.1294, allocations: 93.12 kB / 490.1 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.231e-05/0.1294, allocations: 8 kB / 490.1 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.1295, allocations: 19.98 kB / 490.2 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.397e-05/0.1296, allocations: 4 kB / 490.2 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.17e-05/0.1296, allocations: 11.98 kB / 490.2 MB, free: 12.67 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001124/0.1297, allocations: 135.2 kB / 490.3 MB, free: 12.54 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1297, allocations: 0 / 490.3 MB, free: 12.54 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002675/0.13, allocations: 31.98 kB / 490.3 MB, free: 12.5 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.001733/0.1317, allocations: 1.165 MB / 491.5 MB, free: 11.47 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000374/0.1321, allocations: 147.9 kB / 491.7 MB, free: 11.33 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1321, allocations: 0 / 491.7 MB, free: 11.33 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001716/0.1323, allocations: 83.95 kB / 491.7 MB, free: 11.25 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003511/0.1327, allocations: 19.98 kB / 491.8 MB, free: 11.23 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002509/0.1352, allocations: 1.969 MB / 493.7 MB, free: 9.164 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003047/0.1355, allocations: 0.716 MB / 494.4 MB, free: 8.422 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.784e-05/0.1356, allocations: 32.52 kB / 494.5 MB, free: 8.391 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.776e-05/0.1357, allocations: 39.42 kB / 494.5 MB, free: 8.355 MB / 366.1 MB Notification: Performance of SimCode: time 7.92e-07/0.1357, allocations: 0 / 494.5 MB, free: 8.355 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01266/0.1484, allocations: 2.995 MB / 497.5 MB, free: 5.477 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001743/0.1486, allocations: 234.2 kB / 497.7 MB, free: 5.223 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.873/2.021, allocations: 0 / 497.7 MB, free: 5.223 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test25_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test25.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test25/Test25.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches