Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 107.6 kB / 17.21 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 194 kB / 18.12 MB, free: 5.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.496/1.496, allocations: 222.9 MB / 241.8 MB, free: 13.65 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.242/0.242, allocations: 44.17 MB / 336.1 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 60.59 kB / 407.8 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.1271, allocations: 60.84 MB / 468.6 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.003523/0.1307, allocations: 1.668 MB / 470.3 MB, free: 13.03 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00093/0.1316, allocations: 467.1 kB / 470.8 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.524e-05/0.1317, allocations: 0 / 470.8 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005451/0.1323, allocations: 447.2 kB / 471.2 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003958/0.1327, allocations: 243.5 kB / 471.4 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005695/0.1333, allocations: 163.4 kB / 471.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003363/0.1336, allocations: 167.6 kB / 471.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001523/0.1338, allocations: 19.97 kB / 471.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002272/0.134, allocations: 99.8 kB / 471.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003318/0.1344, allocations: 207.6 kB / 472.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.702e-05/0.1344, allocations: 4 kB / 472.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001444/0.1346, allocations: 39.97 kB / 472.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001573/0.1347, allocations: 83.62 kB / 472.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001674/0.1349, allocations: 107 kB / 472.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004669/0.1354, allocations: 255.2 kB / 472.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.877e-06/0.1354, allocations: 0 / 472.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1354, allocations: 0 / 472.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.27e-05/0.1354, allocations: 0 / 472.6 MB, free: 10.77 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.001366/0.1368, allocations: 0.6454 MB / 473.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.104e-05/0.1369, allocations: 8.031 kB / 473.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.778e-05/0.137, allocations: 30.75 kB / 473.2 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001324/0.1371, allocations: 44.38 kB / 473.3 MB, free: 9.984 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004905/0.1376, allocations: 304.1 kB / 473.6 MB, free: 9.648 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.799e-05/0.1377, allocations: 8.359 kB / 473.6 MB, free: 9.641 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.088e-05/0.1377, allocations: 4.375 kB / 473.6 MB, free: 9.637 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002741/0.138, allocations: 61.61 kB / 473.6 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.041e-05/0.138, allocations: 0 / 473.6 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.138, allocations: 4 kB / 473.7 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.697e-06/0.1381, allocations: 0 / 473.7 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001744/0.1382, allocations: 39.97 kB / 473.7 MB, free: 9.527 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009059/0.1392, allocations: 404.6 kB / 474.1 MB, free: 9.082 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001766/0.1393, allocations: 50.56 kB / 474.1 MB, free: 9.023 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.278e-05/0.1394, allocations: 28.92 kB / 474.2 MB, free: 8.992 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.182e-05/0.1395, allocations: 0 / 474.2 MB, free: 8.992 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.973e-05/0.1395, allocations: 30.56 kB / 474.2 MB, free: 8.953 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.864e-06/0.1395, allocations: 4 kB / 474.2 MB, free: 8.949 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.001015/0.1406, allocations: 311.9 kB / 474.5 MB, free: 8.637 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.554e-05/0.1406, allocations: 59.34 kB / 474.6 MB, free: 8.566 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007983/0.1414, allocations: 0.8652 MB / 475.4 MB, free: 7.691 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.535e-05/0.1414, allocations: 29.64 kB / 475.5 MB, free: 7.656 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001471/0.1416, allocations: 212.1 kB / 475.7 MB, free: 7.445 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.251e-05/0.1416, allocations: 27.66 kB / 475.7 MB, free: 7.418 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.245e-05/0.1417, allocations: 17.7 kB / 475.7 MB, free: 7.395 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000175/0.1419, allocations: 358.8 kB / 476.1 MB, free: 7.035 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001401/0.142, allocations: 47.89 kB / 476.1 MB, free: 6.988 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001095/0.1421, allocations: 40.03 kB / 476.1 MB, free: 6.949 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002318/0.1424, allocations: 88.8 kB / 476.2 MB, free: 6.859 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.1424, allocations: 0 / 476.2 MB, free: 6.859 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003585/0.1428, allocations: 153.1 kB / 476.4 MB, free: 6.703 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.55e-05/0.1428, allocations: 7.984 kB / 476.4 MB, free: 6.695 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.1428, allocations: 0 / 476.4 MB, free: 6.695 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.1428, allocations: 0 / 476.4 MB, free: 6.695 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00014/0.143, allocations: 27.92 kB / 476.4 MB, free: 6.668 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.143, allocations: 0 / 476.4 MB, free: 6.668 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.457e-05/0.1431, allocations: 15.92 kB / 476.4 MB, free: 6.652 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.746e-06/0.1431, allocations: 0 / 476.4 MB, free: 6.652 MB / 350.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.0002214/0.1433, allocations: 213.8 kB / 476.6 MB, free: 6.434 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.451e-05/0.1434, allocations: 39.44 kB / 476.7 MB, free: 6.395 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004315/0.1439, allocations: 189.4 kB / 476.9 MB, free: 6.199 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.1439, allocations: 0 / 476.9 MB, free: 6.199 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.1439, allocations: 0 / 476.9 MB, free: 6.199 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.1439, allocations: 4.219 kB / 476.9 MB, free: 6.195 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006722/0.1446, allocations: 0.5062 MB / 477.4 MB, free: 5.633 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.1446, allocations: 4 kB / 477.4 MB, free: 5.629 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.185e-05/0.1447, allocations: 15.98 kB / 477.4 MB, free: 5.613 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.362e-06/0.1447, allocations: 7.984 kB / 477.4 MB, free: 5.605 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.1447, allocations: 11.94 kB / 477.4 MB, free: 5.594 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.1447, allocations: 0 / 477.4 MB, free: 5.594 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1447, allocations: 0 / 477.4 MB, free: 5.594 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003592/0.1451, allocations: 259.2 kB / 477.7 MB, free: 5.324 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.105e-05/0.1452, allocations: 108.5 kB / 477.8 MB, free: 5.199 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.209e-05/0.1452, allocations: 3.938 kB / 477.8 MB, free: 5.195 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.1453, allocations: 15.98 kB / 477.8 MB, free: 5.18 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.448e-05/0.1454, allocations: 7.984 kB / 477.8 MB, free: 5.172 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.942e-06/0.1454, allocations: 3.938 kB / 477.8 MB, free: 5.168 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006039/0.146, allocations: 0.6511 MB / 478.5 MB, free: 4.52 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.146, allocations: 0 / 478.5 MB, free: 4.52 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002713/0.1463, allocations: 32 kB / 478.5 MB, free: 4.488 MB / 350.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.00151/0.1478, allocations: 1.08 MB / 479.6 MB, free: 3.543 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002792/0.1481, allocations: 87.94 kB / 479.6 MB, free: 3.457 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.1481, allocations: 0 / 479.6 MB, free: 3.457 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001266/0.1483, allocations: 51.89 kB / 479.7 MB, free: 3.406 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004014/0.1487, allocations: 29.34 kB / 479.7 MB, free: 3.383 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003904/0.1526, allocations: 3.451 MB / 483.2 MB, free: 15.83 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003753/0.153, allocations: 0.8262 MB / 484 MB, free: 14.98 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.999e-05/0.1531, allocations: 32.83 kB / 484 MB, free: 14.95 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001406/0.1532, allocations: 115.4 kB / 484.1 MB, free: 14.83 MB / 366.1 MB Notification: Performance of SimCode: time 3.9e-07/0.1532, allocations: 0 / 484.1 MB, free: 14.83 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01554/0.1688, allocations: 5.851 MB / 490 MB, free: 9.086 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000184/0.169, allocations: 236.3 kB / 490.2 MB, free: 8.824 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.934/2.103, allocations: 0 / 490.2 MB, free: 8.824 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test6_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test6.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches