Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.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.001243/0.001243, allocations: 120 kB / 18.49 MB, free: 4.59 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.001293/0.001293, allocations: 214.3 kB / 21.45 MB, free: 1.637 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.456/1.456, allocations: 230.5 MB / 254.7 MB, free: 14.84 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.2411/0.2411, allocations: 46.91 MB / 357.7 MB, free: 10.2 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.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test1",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002164/0.002164, allocations: 79.88 kB / 0.4917 GB, free: 7.707 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1263, allocations: 66.04 MB / 0.5562 GB, free: 5.535 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.00301/0.1293, allocations: 1.684 MB / 0.5578 GB, free: 3.836 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009836/0.1303, allocations: 0.5606 MB / 0.5584 GB, free: 3.273 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.727e-05/0.1304, allocations: 4 kB / 0.5584 GB, free: 3.27 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005656/0.1309, allocations: 451 kB / 0.5588 GB, free: 2.828 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004593/0.1314, allocations: 299.2 kB / 0.5591 GB, free: 2.535 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003155/0.1317, allocations: 132.1 kB / 0.5592 GB, free: 2.41 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000239/0.1319, allocations: 175.7 kB / 0.5594 GB, free: 2.238 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.148e-05/0.132, allocations: 12 kB / 0.5594 GB, free: 2.227 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001265/0.1322, allocations: 119.6 kB / 0.5595 GB, free: 2.109 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002724/0.1324, allocations: 247.5 kB / 0.5598 GB, free: 1.867 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.724e-05/0.1325, allocations: 4 kB / 0.5598 GB, free: 1.863 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001011/0.1326, allocations: 47.98 kB / 0.5598 GB, free: 1.816 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001073/0.1327, allocations: 91.61 kB / 0.5599 GB, free: 1.727 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001002/0.1328, allocations: 110.9 kB / 0.56 GB, free: 1.617 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003602/0.1331, allocations: 282.5 kB / 0.5603 GB, free: 1.34 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.1331, allocations: 0 / 0.5603 GB, free: 1.34 MB / 414.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.1331, allocations: 0 / 0.5603 GB, free: 1.34 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.1331, allocations: 0 / 0.5603 GB, free: 1.34 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.0007777/0.1339, allocations: 0.6645 MB / 0.5609 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.1339, allocations: 16.02 kB / 0.5609 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.463e-05/0.134, allocations: 192 / 0.5609 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.107e-05/0.134, allocations: 34.75 kB / 0.561 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.673e-05/0.134, allocations: 44.66 kB / 0.561 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002972/0.1343, allocations: 312.5 kB / 0.5613 GB, free: 180 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.007e-06/0.1344, allocations: 384 / 0.5613 GB, free: 180 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.32e-05/0.1344, allocations: 12.31 kB / 0.5613 GB, free: 168 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001497/0.1345, allocations: 61.98 kB / 0.5614 GB, free: 100 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.1345, allocations: 0 / 0.5614 GB, free: 100 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.055e-06/0.1345, allocations: 0 / 0.5614 GB, free: 100 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.1346, allocations: 0 / 0.5614 GB, free: 100 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001028/0.1347, allocations: 35.91 kB / 0.5614 GB, free: 64 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005086/0.1352, allocations: 396.7 kB / 0.5618 GB, free: 15.62 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001096/0.1353, allocations: 46.59 kB / 0.5618 GB, free: 15.57 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.287e-05/0.1353, allocations: 24.88 kB / 0.5619 GB, free: 15.54 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.026e-05/0.1354, allocations: 0 / 0.5619 GB, free: 15.54 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.608e-05/0.1354, allocations: 30.56 kB / 0.5619 GB, free: 15.5 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.1354, allocations: 4 kB / 0.5619 GB, free: 15.5 MB / 430.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009429/0.1363, allocations: 320.5 kB / 0.5622 GB, free: 15.18 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.309e-05/0.1364, allocations: 51.41 kB / 0.5622 GB, free: 15.12 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009722/0.1373, allocations: 0.8776 MB / 0.5631 GB, free: 14.23 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.74e-05/0.1374, allocations: 33.69 kB / 0.5631 GB, free: 14.19 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001766/0.1375, allocations: 224.1 kB / 0.5633 GB, free: 13.96 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.93e-05/0.1376, allocations: 31.73 kB / 0.5634 GB, free: 13.93 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.744e-05/0.1376, allocations: 25.72 kB / 0.5634 GB, free: 13.9 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000178/0.1378, allocations: 362.8 kB / 0.5637 GB, free: 13.54 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.219e-05/0.1379, allocations: 23.98 kB / 0.5638 GB, free: 13.52 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.773e-05/0.138, allocations: 23.92 kB / 0.5638 GB, free: 13.49 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001653/0.1381, allocations: 68.83 kB / 0.5639 GB, free: 13.42 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.1381, allocations: 4 kB / 0.5639 GB, free: 13.42 MB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002546/0.1384, allocations: 133.4 kB / 0.564 GB, free: 13.28 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.1384, allocations: 5.875 kB / 0.564 GB, free: 13.28 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.1384, allocations: 3.984 kB / 0.564 GB, free: 13.27 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.1384, allocations: 0 / 0.564 GB, free: 13.27 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001186/0.1385, allocations: 19.94 kB / 0.564 GB, free: 13.25 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.292e-05/0.1386, allocations: 7.922 kB / 0.564 GB, free: 13.25 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.316e-05/0.1386, allocations: 12 kB / 0.564 GB, free: 13.23 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.307e-06/0.1386, allocations: 432 / 0.564 GB, free: 13.23 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.0002351/0.1389, allocations: 217.8 kB / 0.5642 GB, free: 13.01 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.057e-05/0.1389, allocations: 43.67 kB / 0.5643 GB, free: 12.97 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000338/0.1393, allocations: 157.9 kB / 0.5644 GB, free: 12.8 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/0.1393, allocations: 7.984 kB / 0.5644 GB, free: 12.79 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.1393, allocations: 11.88 kB / 0.5645 GB, free: 12.78 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.1393, allocations: 0 / 0.5645 GB, free: 12.78 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006379/0.1399, allocations: 0.4992 MB / 0.5649 GB, free: 12.22 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.1399, allocations: 3.938 kB / 0.5649 GB, free: 12.22 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.887e-05/0.14, allocations: 19.92 kB / 0.565 GB, free: 12.2 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.232e-06/0.14, allocations: 4 kB / 0.565 GB, free: 12.2 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.814e-06/0.14, allocations: 4.031 kB / 0.565 GB, free: 12.19 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.14, allocations: 3.938 kB / 0.565 GB, free: 12.19 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.14, allocations: 4 kB / 0.565 GB, free: 12.18 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002879/0.1403, allocations: 236 kB / 0.5652 GB, free: 11.93 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.282e-05/0.1404, allocations: 124.7 kB / 0.5653 GB, free: 11.79 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.325e-05/0.1404, allocations: 0 / 0.5653 GB, free: 11.79 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.876e-05/0.1405, allocations: 12 kB / 0.5653 GB, free: 11.78 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.545e-05/0.1406, allocations: 7.984 kB / 0.5653 GB, free: 11.77 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.133e-06/0.1406, allocations: 4 kB / 0.5653 GB, free: 11.77 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006917/0.1413, allocations: 0.6589 MB / 0.566 GB, free: 11.11 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1413, allocations: 0 / 0.566 GB, free: 11.11 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00026/0.1415, allocations: 27.94 kB / 0.566 GB, free: 11.09 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.002156/0.1437, allocations: 1.127 MB / 0.5671 GB, free: 10.09 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002249/0.1439, allocations: 63.94 kB / 0.5672 GB, free: 10.03 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.1439, allocations: 4 kB / 0.5672 GB, free: 10.03 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.09e-05/0.144, allocations: 31.92 kB / 0.5672 GB, free: 9.996 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004013/0.1444, allocations: 33.33 kB / 0.5672 GB, free: 9.969 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003869/0.1483, allocations: 3.33 MB / 0.5705 GB, free: 6.543 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004991/0.1488, allocations: 0.826 MB / 0.5713 GB, free: 5.691 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.746e-05/0.1488, allocations: 20.42 kB / 0.5713 GB, free: 5.672 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001357/0.149, allocations: 103.4 kB / 0.5714 GB, free: 5.57 MB / 430.1 MB Notification: Performance of SimCode: time 3.11e-07/0.149, allocations: 3.938 kB / 0.5714 GB, free: 5.566 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0234/0.1724, allocations: 6.438 MB / 0.5777 GB, free: 15.18 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.374/8.547, allocations: 11.94 kB / 0.5777 GB, free: 15.17 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test1_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test1.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.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.639441315026488]