Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.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.001513/0.001513, allocations: 116.9 kB / 18.49 MB, free: 4.559 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.001824/0.001824, allocations: 212.7 kB / 21.46 MB, free: 1.605 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.425/1.425, allocations: 230.4 MB / 254.7 MB, free: 14.82 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.2377/0.2377, allocations: 46.92 MB / 357.7 MB, free: 10.14 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.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00215/0.00215, allocations: 79.89 kB / 0.4917 GB, free: 7.645 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1307, allocations: 66.05 MB / 0.5562 GB, free: 5.465 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.003278/0.134, allocations: 1.676 MB / 0.5578 GB, free: 3.773 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001075/0.1351, allocations: 0.5644 MB / 0.5584 GB, free: 3.207 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.422e-05/0.1351, allocations: 4 kB / 0.5584 GB, free: 3.203 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006096/0.1357, allocations: 451.1 kB / 0.5588 GB, free: 2.762 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004668/0.1362, allocations: 295.3 kB / 0.5591 GB, free: 2.473 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003386/0.1365, allocations: 133.2 kB / 0.5592 GB, free: 2.344 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002434/0.1368, allocations: 171.7 kB / 0.5594 GB, free: 2.176 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.1369, allocations: 12 kB / 0.5594 GB, free: 2.164 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001391/0.137, allocations: 115.7 kB / 0.5595 GB, free: 2.051 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002804/0.1373, allocations: 251.5 kB / 0.5597 GB, free: 1.805 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.738e-05/0.1373, allocations: 4 kB / 0.5598 GB, free: 1.801 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001094/0.1374, allocations: 51.97 kB / 0.5598 GB, free: 1.75 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001319/0.1376, allocations: 87.62 kB / 0.5599 GB, free: 1.664 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.237e-05/0.1377, allocations: 107 kB / 0.56 GB, free: 1.559 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003544/0.138, allocations: 282.5 kB / 0.5603 GB, free: 1.281 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.138, allocations: 0 / 0.5603 GB, free: 1.281 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.138, allocations: 0 / 0.5603 GB, free: 1.281 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.688e-06/0.138, allocations: 3.984 kB / 0.5603 GB, free: 1.277 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008366/0.1389, allocations: 0.6684 MB / 0.5609 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.1389, allocations: 12.03 kB / 0.5609 GB, free: 0.543 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.963e-05/0.1389, allocations: 192 / 0.5609 GB, free: 0.543 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.032e-05/0.139, allocations: 34.75 kB / 0.561 GB, free: 0.5 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.606e-05/0.139, allocations: 44.66 kB / 0.561 GB, free: 468 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000313/0.1394, allocations: 308.6 kB / 0.5613 GB, free: 120 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.1394, allocations: 384 / 0.5613 GB, free: 120 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.818e-05/0.1394, allocations: 12.36 kB / 0.5613 GB, free: 108 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001748/0.1396, allocations: 69.88 kB / 0.5614 GB, free: 32 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.1396, allocations: 0 / 0.5614 GB, free: 32 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.1396, allocations: 0 / 0.5614 GB, free: 32 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.1396, allocations: 0 / 0.5614 GB, free: 32 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001002/0.1397, allocations: 31.97 kB / 0.5614 GB, free: 0 / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005548/0.1402, allocations: 400.6 kB / 0.5618 GB, free: 15.56 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001141/0.1404, allocations: 42.56 kB / 0.5618 GB, free: 15.51 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.648e-05/0.1404, allocations: 24.88 kB / 0.5618 GB, free: 15.48 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.211e-05/0.1404, allocations: 0 / 0.5618 GB, free: 15.48 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.751e-05/0.1405, allocations: 30.56 kB / 0.5619 GB, free: 15.44 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 8.02e-07/0.1405, allocations: 4 kB / 0.5619 GB, free: 15.44 MB / 430.1 MB Notification: Performance of matching and sorting (n=8): time 0.001003/0.1415, allocations: 324.9 kB / 0.5622 GB, free: 15.11 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.519e-05/0.1415, allocations: 51.41 kB / 0.5622 GB, free: 15.05 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009657/0.1425, allocations: 0.8815 MB / 0.5631 GB, free: 14.16 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.86e-05/0.1425, allocations: 29.7 kB / 0.5631 GB, free: 14.12 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002043/0.1427, allocations: 224.1 kB / 0.5633 GB, free: 13.9 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.104e-05/0.1427, allocations: 31.73 kB / 0.5634 GB, free: 13.87 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.506e-05/0.1428, allocations: 25.72 kB / 0.5634 GB, free: 13.84 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002018/0.143, allocations: 362.8 kB / 0.5637 GB, free: 13.47 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.366e-05/0.1431, allocations: 23.98 kB / 0.5638 GB, free: 13.45 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.098e-05/0.1432, allocations: 19.98 kB / 0.5638 GB, free: 13.43 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001629/0.1433, allocations: 68.83 kB / 0.5639 GB, free: 13.36 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.1433, allocations: 0 / 0.5639 GB, free: 13.36 MB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002623/0.1436, allocations: 141.3 kB / 0.564 GB, free: 13.21 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.1436, allocations: 4 kB / 0.564 GB, free: 13.21 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.1436, allocations: 3.984 kB / 0.564 GB, free: 13.21 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.1436, allocations: 0 / 0.564 GB, free: 13.21 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/0.1437, allocations: 19.98 kB / 0.564 GB, free: 13.19 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.854e-06/0.1437, allocations: 3.938 kB / 0.564 GB, free: 13.18 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.134e-05/0.1438, allocations: 12 kB / 0.564 GB, free: 13.17 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.284e-06/0.1438, allocations: 0 / 0.564 GB, free: 13.17 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 (8): * Single equations (assignments): 8 * 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.0002175/0.144, allocations: 217.8 kB / 0.5642 GB, free: 12.95 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.3e-05/0.1441, allocations: 43.67 kB / 0.5643 GB, free: 12.91 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003423/0.1444, allocations: 161.8 kB / 0.5644 GB, free: 12.73 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.1444, allocations: 0 / 0.5644 GB, free: 12.73 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.828e-06/0.1444, allocations: 11.94 kB / 0.5644 GB, free: 12.72 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.1444, allocations: 3.938 kB / 0.5644 GB, free: 12.72 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006719/0.1451, allocations: 0.4992 MB / 0.5649 GB, free: 12.16 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.1451, allocations: 0 / 0.5649 GB, free: 12.16 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.229e-05/0.1452, allocations: 19.92 kB / 0.565 GB, free: 12.14 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.723e-06/0.1452, allocations: 8 kB / 0.565 GB, free: 12.13 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.1452, allocations: 0 / 0.565 GB, free: 12.13 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.1452, allocations: 7.969 kB / 0.565 GB, free: 12.12 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.1452, allocations: 4 kB / 0.565 GB, free: 12.12 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003058/0.1455, allocations: 240 kB / 0.5652 GB, free: 11.87 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.168e-05/0.1456, allocations: 120.8 kB / 0.5653 GB, free: 11.73 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.348e-05/0.1456, allocations: 0 / 0.5653 GB, free: 11.73 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.881e-05/0.1457, allocations: 12 kB / 0.5653 GB, free: 11.72 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.086e-05/0.1458, allocations: 7.984 kB / 0.5653 GB, free: 11.71 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.234e-06/0.1458, allocations: 4 kB / 0.5653 GB, free: 11.71 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006648/0.1464, allocations: 0.6589 MB / 0.566 GB, free: 11.05 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1464, allocations: 0 / 0.566 GB, free: 11.05 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002743/0.1467, allocations: 27.94 kB / 0.566 GB, free: 11.02 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.002287/0.149, allocations: 1.136 MB / 0.5671 GB, free: 10.03 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002342/0.1492, allocations: 63.89 kB / 0.5672 GB, free: 9.965 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1492, allocations: 4 kB / 0.5672 GB, free: 9.961 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.067e-05/0.1493, allocations: 27.98 kB / 0.5672 GB, free: 9.934 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004224/0.1497, allocations: 33.64 kB / 0.5672 GB, free: 9.906 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004059/0.1538, allocations: 3.333 MB / 0.5705 GB, free: 6.477 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005331/0.1543, allocations: 0.8299 MB / 0.5713 GB, free: 5.621 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.842e-05/0.1544, allocations: 16.42 kB / 0.5713 GB, free: 5.605 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001723/0.1546, allocations: 107.4 kB / 0.5714 GB, free: 5.5 MB / 430.1 MB Notification: Performance of SimCode: time 6.81e-07/0.1546, allocations: 4 kB / 0.5714 GB, free: 5.496 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02272/0.1773, allocations: 6.434 MB / 0.5777 GB, free: 15.11 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.384/8.561, allocations: 11.06 kB / 0.5777 GB, free: 15.1 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test2_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test2.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.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.660294984991197]