Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001324/0.001324, allocations: 116.5 kB / 18.5 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00146/0.00146, allocations: 216.9 kB / 21.47 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.505/1.505, allocations: 230.2 MB / 254.5 MB, free: 15.41 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2365/0.2365, allocations: 46.9 MB / 357.4 MB, free: 10.48 MB / 286.1 MB " [Timeout remaining time 180] 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.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test21",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00224/0.00224, allocations: 81.75 kB / 0.4913 GB, free: 26.84 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.1212, allocations: 65.97 MB / 0.5557 GB, free: 9.066 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test21): time 0.003559/0.1247, allocations: 2.054 MB / 0.5577 GB, free: 6.996 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00194/0.1267, allocations: 1.028 MB / 0.5587 GB, free: 5.965 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001047/0.1268, allocations: 0 / 0.5587 GB, free: 5.965 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005005/0.1273, allocations: 263.1 kB / 0.559 GB, free: 5.707 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005459/0.1278, allocations: 255.1 kB / 0.5592 GB, free: 5.457 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001173/0.129, allocations: 0.4913 MB / 0.5597 GB, free: 4.98 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004759/0.1294, allocations: 327 kB / 0.56 GB, free: 4.66 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001637/0.1296, allocations: 56.64 kB / 0.56 GB, free: 4.605 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001724/0.1298, allocations: 143.4 kB / 0.5602 GB, free: 4.465 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002963/0.1301, allocations: 231.2 kB / 0.5604 GB, free: 4.238 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.11e-05/0.1301, allocations: 12 kB / 0.5604 GB, free: 4.227 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001999/0.1303, allocations: 107.9 kB / 0.5605 GB, free: 4.121 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001278/0.1304, allocations: 87.69 kB / 0.5606 GB, free: 4.035 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000117/0.1306, allocations: 126.9 kB / 0.5607 GB, free: 3.91 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004711/0.131, allocations: 358.2 kB / 0.5611 GB, free: 3.559 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.131, allocations: 0 / 0.5611 GB, free: 3.559 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.131, allocations: 3.938 kB / 0.5611 GB, free: 3.555 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.131, allocations: 0 / 0.5611 GB, free: 3.555 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008909/0.1319, allocations: 0.7063 MB / 0.5618 GB, free: 2.797 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.132, allocations: 8.031 kB / 0.5618 GB, free: 2.789 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.919e-05/0.132, allocations: 46.73 kB / 0.5618 GB, free: 2.734 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.25e-05/0.1321, allocations: 48.61 kB / 0.5619 GB, free: 2.688 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004282/0.1325, allocations: 334.5 kB / 0.5622 GB, free: 2.32 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.1325, allocations: 8.375 kB / 0.5622 GB, free: 2.312 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.131e-05/0.1326, allocations: 12.38 kB / 0.5622 GB, free: 2.301 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002461/0.1328, allocations: 110.1 kB / 0.5623 GB, free: 2.188 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.764e-05/0.1328, allocations: 7.938 kB / 0.5623 GB, free: 2.18 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.1329, allocations: 4 kB / 0.5623 GB, free: 2.176 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.1329, allocations: 4 kB / 0.5623 GB, free: 2.172 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001691/0.133, allocations: 67.95 kB / 0.5624 GB, free: 2.105 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000719/0.1337, allocations: 0.5041 MB / 0.5629 GB, free: 1.551 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001975/0.1339, allocations: 90.48 kB / 0.563 GB, free: 1.453 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.704e-05/0.134, allocations: 36.83 kB / 0.563 GB, free: 1.414 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.698e-05/0.1341, allocations: 4 kB / 0.563 GB, free: 1.41 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.562e-05/0.1341, allocations: 34.56 kB / 0.563 GB, free: 1.367 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.223e-06/0.1341, allocations: 0 / 0.563 GB, free: 1.367 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009561/0.135, allocations: 396.7 kB / 0.5634 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.496e-05/0.1351, allocations: 63.31 kB / 0.5635 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006737/0.1358, allocations: 0.5877 MB / 0.564 GB, free: 312 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.023e-05/0.1358, allocations: 25.7 kB / 0.5641 GB, free: 280 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001738/0.1359, allocations: 216.4 kB / 0.5643 GB, free: 56 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.789e-05/0.136, allocations: 59.53 kB / 0.5643 GB, free: 15.99 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.012e-05/0.1361, allocations: 33.66 kB / 0.5644 GB, free: 15.96 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001737/0.1362, allocations: 354.8 kB / 0.5647 GB, free: 15.6 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001217/0.1364, allocations: 55.91 kB / 0.5647 GB, free: 15.55 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000109/0.1365, allocations: 50 kB / 0.5648 GB, free: 15.5 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002394/0.1367, allocations: 120.8 kB / 0.5649 GB, free: 15.38 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1367, allocations: 0 / 0.5649 GB, free: 15.38 MB / 430.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003657/0.1371, allocations: 206.9 kB / 0.5651 GB, free: 15.17 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.1371, allocations: 4 kB / 0.5651 GB, free: 15.17 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.1371, allocations: 0 / 0.5651 GB, free: 15.17 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.1371, allocations: 7.938 kB / 0.5651 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001546/0.1373, allocations: 39.91 kB / 0.5652 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.1373, allocations: 4 kB / 0.5652 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.668e-05/0.1374, allocations: 4 kB / 0.5652 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.461e-05/0.1374, allocations: 8 kB / 0.5652 GB, free: 15.11 MB / 430.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 (17): * Single equations (assignments): 17 * 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.0001747/0.1376, allocations: 169.8 kB / 0.5653 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.961e-05/0.1376, allocations: 47.66 kB / 0.5654 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005091/0.1381, allocations: 255.3 kB / 0.5656 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.1381, allocations: 0 / 0.5656 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1381, allocations: 0 / 0.5656 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.072e-06/0.1382, allocations: 3.984 kB / 0.5656 GB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008862/0.139, allocations: 0.6349 MB / 0.5662 GB, free: 13.92 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.139, allocations: 3.984 kB / 0.5663 GB, free: 13.92 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000112/0.1392, allocations: 35.98 kB / 0.5663 GB, free: 13.88 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.1392, allocations: 4 kB / 0.5663 GB, free: 13.88 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.92e-05/0.1392, allocations: 8 kB / 0.5663 GB, free: 13.87 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.1392, allocations: 3.938 kB / 0.5663 GB, free: 13.87 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1392, allocations: 3.938 kB / 0.5663 GB, free: 13.86 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004061/0.1396, allocations: 305.2 kB / 0.5666 GB, free: 13.55 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001081/0.1397, allocations: 120.8 kB / 0.5667 GB, free: 13.41 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.501e-05/0.1397, allocations: 4 kB / 0.5667 GB, free: 13.41 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.1398, allocations: 12 kB / 0.5667 GB, free: 13.4 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.086e-05/0.1399, allocations: 11.92 kB / 0.5667 GB, free: 13.39 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.689e-05/0.1399, allocations: 15.98 kB / 0.5668 GB, free: 13.37 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004887/0.1404, allocations: 435.1 kB / 0.5672 GB, free: 12.95 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1404, allocations: 0 / 0.5672 GB, free: 12.95 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003177/0.1407, allocations: 51.92 kB / 0.5672 GB, free: 12.9 MB / 430.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 (17): * Single equations (assignments): 17 * 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.003336/0.144, allocations: 1.42 MB / 0.5686 GB, free: 11.75 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003322/0.1444, allocations: 131.1 kB / 0.5687 GB, free: 11.63 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1444, allocations: 4 kB / 0.5687 GB, free: 11.62 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001381/0.1445, allocations: 71.91 kB / 0.5688 GB, free: 11.55 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005659/0.1451, allocations: 84.72 kB / 0.5689 GB, free: 11.48 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004153/0.1492, allocations: 3.177 MB / 0.572 GB, free: 8.215 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004708/0.1497, allocations: 0.8143 MB / 0.5728 GB, free: 7.375 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001408/0.1498, allocations: 54.23 kB / 0.5728 GB, free: 7.324 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000173/0.15, allocations: 131.4 kB / 0.573 GB, free: 7.195 MB / 430.1 MB Notification: Performance of SimCode: time 4.51e-07/0.15, allocations: 0 / 0.573 GB, free: 7.195 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03215/0.1822, allocations: 7.671 MB / 0.5804 GB, free: 15.55 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.507/8.689, allocations: 5.875 kB / 0.5805 GB, free: 15.55 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test21_fmu --startTime=0 --stopTime=6 --stepSize=0.00119952 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test21.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.890066483058035]