Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19.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.Test19,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test19,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test19",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001394/0.001394, allocations: 116.9 kB / 17.33 MB, free: 6.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001709/0.001709, allocations: 209.8 kB / 18.27 MB, free: 5.109 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.441/1.441, 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.2449/0.2449, allocations: 46.1 MB / 343.8 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001497/0.001497, allocations: 82.11 kB / 417.2 MB, free: 20 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1123, allocations: 62.44 MB / 479.6 MB, free: 5.531 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test19): time 0.004823/0.1171, allocations: 1.988 MB / 481.6 MB, free: 3.523 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002691/0.1199, allocations: 1.076 MB / 482.7 MB, free: 2.441 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002137/0.1201, allocations: 0 / 482.7 MB, free: 2.441 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006975/0.1209, allocations: 251.4 kB / 482.9 MB, free: 2.195 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007444/0.1217, allocations: 243.3 kB / 483.1 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002085/0.1238, allocations: 0.6019 MB / 483.7 MB, free: 1.371 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006411/0.1244, allocations: 319.1 kB / 484.1 MB, free: 1.059 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002436/0.1247, allocations: 48.72 kB / 484.1 MB, free: 1.012 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003339/0.125, allocations: 143.4 kB / 484.2 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003792/0.1254, allocations: 203.3 kB / 484.4 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.19e-05/0.1255, allocations: 8 kB / 484.5 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001966/0.1257, allocations: 59.91 kB / 484.5 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001819/0.1259, allocations: 87.69 kB / 484.6 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000179/0.1261, allocations: 127 kB / 484.7 MB, free: 404 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005589/0.1267, allocations: 303.1 kB / 485 MB, free: 100 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.1267, allocations: 0 / 485 MB, free: 100 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1267, allocations: 4 kB / 485 MB, free: 96 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.385e-05/0.1267, allocations: 0 / 485 MB, free: 96 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0012/0.1279, allocations: 0.667 MB / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.971e-05/0.128, allocations: 8.031 kB / 485.7 MB, free: 15.37 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.387e-05/0.1281, allocations: 46.67 kB / 485.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001297/0.1282, allocations: 36.47 kB / 485.8 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000526/0.1288, allocations: 342 kB / 486.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.1288, allocations: 384 / 486.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.304e-05/0.1288, allocations: 8.375 kB / 486.1 MB, free: 14.9 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002933/0.1291, allocations: 101.6 kB / 486.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.1292, allocations: 4 kB / 486.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.635e-05/0.1292, allocations: 4 kB / 486.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.1292, allocations: 0 / 486.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000248/0.1295, allocations: 71.89 kB / 486.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000906/0.1304, allocations: 480.4 kB / 486.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001937/0.1306, allocations: 70.55 kB / 486.8 MB, free: 14.12 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.829e-05/0.1307, allocations: 36.95 kB / 486.9 MB, free: 14.08 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.426e-05/0.1307, allocations: 3.984 kB / 486.9 MB, free: 14.07 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.838e-05/0.1308, allocations: 34.56 kB / 486.9 MB, free: 14.03 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.814e-06/0.1308, allocations: 0 / 486.9 MB, free: 14.03 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004934/0.1313, allocations: 161 kB / 487.1 MB, free: 13.87 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.167e-05/0.1313, allocations: 59.34 kB / 487.1 MB, free: 13.8 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009764/0.1323, allocations: 0.5957 MB / 487.7 MB, free: 13.19 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.927e-05/0.1324, allocations: 25.7 kB / 487.7 MB, free: 13.16 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002143/0.1326, allocations: 216.1 kB / 488 MB, free: 12.95 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.499e-05/0.1326, allocations: 19.66 kB / 488 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.861e-05/0.1327, allocations: 21.7 kB / 488 MB, free: 12.9 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001909/0.1329, allocations: 350.8 kB / 488.3 MB, free: 12.55 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001128/0.133, allocations: 31.98 kB / 488.4 MB, free: 12.52 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001009/0.1332, allocations: 31.97 kB / 488.4 MB, free: 12.48 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002043/0.1334, allocations: 64.77 kB / 488.5 MB, free: 12.42 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.1334, allocations: 0 / 488.5 MB, free: 12.42 MB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003546/0.1337, allocations: 129.1 kB / 488.6 MB, free: 12.29 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.1338, allocations: 8 kB / 488.6 MB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.1338, allocations: 0 / 488.6 MB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.1338, allocations: 3.938 kB / 488.6 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001231/0.134, allocations: 19.98 kB / 488.6 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.134, allocations: 448 / 488.6 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001188/0.1341, allocations: 15.84 kB / 488.6 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/0.1341, allocations: 0 / 488.6 MB, free: 12.24 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 (6): * Single equations (assignments): 6 * 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.0002283/0.1344, allocations: 173.8 kB / 488.8 MB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001091/0.1345, allocations: 35.53 kB / 488.8 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004248/0.1349, allocations: 157.2 kB / 489 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.1349, allocations: 7.938 kB / 489 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.135, allocations: 0 / 489 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.135, allocations: 0 / 489 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004613/0.1354, allocations: 305.4 kB / 489.3 MB, free: 11.51 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.1355, allocations: 0 / 489.3 MB, free: 11.51 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.831e-05/0.1356, allocations: 15.98 kB / 489.3 MB, free: 11.49 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.1356, allocations: 0 / 489.3 MB, free: 11.49 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.1356, allocations: 0 / 489.3 MB, free: 11.49 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.961e-06/0.1356, allocations: 7.938 kB / 489.3 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.1356, allocations: 0 / 489.3 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003939/0.136, allocations: 231 kB / 489.6 MB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000121/0.1362, allocations: 116.6 kB / 489.7 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.982e-05/0.1362, allocations: 4 kB / 489.7 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001315/0.1364, allocations: 7.938 kB / 489.7 MB, free: 11.1 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.385e-05/0.1364, allocations: 7.984 kB / 489.7 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.524e-06/0.1364, allocations: 0 / 489.7 MB, free: 11.09 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006478/0.1371, allocations: 450.8 kB / 490.1 MB, free: 10.65 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.1371, allocations: 4 kB / 490.1 MB, free: 10.65 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000467/0.1375, allocations: 43.83 kB / 490.2 MB, free: 10.61 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 (6): * Single equations (assignments): 6 * 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.002645/0.1402, allocations: 1.242 MB / 491.4 MB, free: 9.574 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002754/0.1405, allocations: 71.89 kB / 491.5 MB, free: 9.504 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1405, allocations: 4 kB / 491.5 MB, free: 9.5 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001095/0.1406, allocations: 35.97 kB / 491.5 MB, free: 9.465 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007805/0.1414, allocations: 71.66 kB / 491.6 MB, free: 9.402 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005071/0.1465, allocations: 3.076 MB / 494.7 MB, free: 6.246 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004862/0.147, allocations: 0.8139 MB / 495.5 MB, free: 5.406 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001931/0.1472, allocations: 53.88 kB / 495.5 MB, free: 5.352 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000207/0.1475, allocations: 115.4 kB / 495.6 MB, free: 5.238 MB / 366.1 MB Notification: Performance of SimCode: time 7.22e-07/0.1475, allocations: 4 kB / 495.7 MB, free: 5.234 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03301/0.1805, allocations: 6.748 MB / 0.4906 GB, free: 14.57 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003564/0.1809, allocations: 236.8 kB / 0.4909 GB, free: 14.31 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.18/2.361, allocations: 3.938 kB / 0.4909 GB, free: 14.31 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test19_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test19.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches