Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.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.001784/0.001784, allocations: 117.8 kB / 18.5 MB, free: 4.602 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.00147/0.00147, allocations: 208.9 kB / 21.46 MB, free: 1.648 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.544/1.544, allocations: 230.2 MB / 254.5 MB, free: 15.25 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.261/0.261, allocations: 46.89 MB / 357.4 MB, free: 10.49 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.CombiTable1Dv.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002289/0.002289, allocations: 75.88 kB / 0.4913 GB, free: 8.328 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1431/0.1453, allocations: 65.99 MB / 0.5557 GB, free: 6.207 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test21): time 0.003288/0.1486, allocations: 1.61 MB / 0.5573 GB, free: 4.582 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00186/0.1505, allocations: 1.171 MB / 0.5584 GB, free: 3.406 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.949e-05/0.1506, allocations: 4 kB / 0.5584 GB, free: 3.402 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002553/0.1508, allocations: 27.78 kB / 0.5585 GB, free: 3.375 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003076/0.1511, allocations: 83.61 kB / 0.5585 GB, free: 3.293 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003302/0.1514, allocations: 114.4 kB / 0.5586 GB, free: 3.184 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001696/0.1516, allocations: 67.83 kB / 0.5587 GB, free: 3.117 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.1517, allocations: 8 kB / 0.5587 GB, free: 3.109 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.229e-05/0.1518, allocations: 31.84 kB / 0.5587 GB, free: 3.078 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001594/0.1519, allocations: 31.84 kB / 0.5588 GB, free: 3.047 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.813e-05/0.152, allocations: 4 kB / 0.5588 GB, free: 3.043 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001874/0.1521, allocations: 99.88 kB / 0.5589 GB, free: 2.945 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.34e-05/0.1522, allocations: 19.91 kB / 0.5589 GB, free: 2.926 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.662e-05/0.1522, allocations: 23.8 kB / 0.5589 GB, free: 2.902 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000265/0.1525, allocations: 135.5 kB / 0.559 GB, free: 2.77 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1525, allocations: 4 kB / 0.559 GB, free: 2.766 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1525, allocations: 0 / 0.559 GB, free: 2.766 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.1525, allocations: 0 / 0.559 GB, free: 2.766 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006137/0.1531, allocations: 410.8 kB / 0.5594 GB, free: 2.312 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.1532, allocations: 8.031 kB / 0.5594 GB, free: 2.305 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.621e-05/0.1532, allocations: 34.69 kB / 0.5595 GB, free: 2.262 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.713e-05/0.1533, allocations: 8.891 kB / 0.5595 GB, free: 2.254 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002453/0.1535, allocations: 204.2 kB / 0.5597 GB, free: 2.016 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.021e-05/0.1535, allocations: 384 / 0.5597 GB, free: 2.016 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.931e-05/0.1535, allocations: 4.375 kB / 0.5597 GB, free: 2.012 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001696/0.1537, allocations: 67.95 kB / 0.5598 GB, free: 1.934 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.1537, allocations: 3.938 kB / 0.5598 GB, free: 1.93 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.1537, allocations: 0 / 0.5598 GB, free: 1.93 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.1537, allocations: 0 / 0.5598 GB, free: 1.93 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001015/0.1538, allocations: 23.92 kB / 0.5598 GB, free: 1.906 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004689/0.1543, allocations: 284.9 kB / 0.5601 GB, free: 1.578 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002375/0.1545, allocations: 50.55 kB / 0.5601 GB, free: 1.52 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.124e-05/0.1546, allocations: 8.859 kB / 0.5601 GB, free: 1.508 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.791e-05/0.1546, allocations: 7.984 kB / 0.5601 GB, free: 1.5 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.354e-05/0.1547, allocations: 38.5 kB / 0.5602 GB, free: 1.453 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.1547, allocations: 0 / 0.5602 GB, free: 1.453 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006699/0.1553, allocations: 145.6 kB / 0.5603 GB, free: 1.305 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.889e-05/0.1554, allocations: 81.05 kB / 0.5604 GB, free: 1.207 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001751/0.1556, allocations: 147.8 kB / 0.5605 GB, free: 1.055 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.481e-05/0.1556, allocations: 33.7 kB / 0.5605 GB, free: 1.016 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.706e-05/0.1557, allocations: 84.14 kB / 0.5606 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.118e-05/0.1557, allocations: 27.78 kB / 0.5606 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.57e-05/0.1558, allocations: 25.72 kB / 0.5607 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.1559, allocations: 326.8 kB / 0.561 GB, free: 0.543 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.301e-05/0.156, allocations: 24.05 kB / 0.561 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.505e-05/0.1561, allocations: 33.64 kB / 0.561 GB, free: 492 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001394/0.1562, allocations: 52.83 kB / 0.5611 GB, free: 436 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1562, allocations: 7.969 kB / 0.5611 GB, free: 428 kB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002015/0.1564, allocations: 89.55 kB / 0.5612 GB, free: 332 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.1565, allocations: 8 kB / 0.5612 GB, free: 324 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.1565, allocations: 0 / 0.5612 GB, free: 324 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.1565, allocations: 0 / 0.5612 GB, free: 324 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.541e-05/0.1565, allocations: 11.98 kB / 0.5612 GB, free: 312 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.1566, allocations: 4 kB / 0.5612 GB, free: 308 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.411e-05/0.1566, allocations: 0 / 0.5612 GB, free: 308 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.1566, allocations: 11.98 kB / 0.5612 GB, free: 296 kB / 414.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 (5): * Single equations (assignments): 5 * 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.0001071/0.1567, allocations: 117.8 kB / 0.5613 GB, free: 168 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.572e-05/0.1567, allocations: 7.953 kB / 0.5613 GB, free: 160 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002583/0.157, allocations: 97.89 kB / 0.5614 GB, free: 52 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.157, allocations: 4 kB / 0.5614 GB, free: 48 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.157, allocations: 0 / 0.5614 GB, free: 48 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.157, allocations: 0 / 0.5614 GB, free: 48 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000505/0.1575, allocations: 366.8 kB / 0.5618 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.1575, allocations: 0 / 0.5618 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.56e-05/0.1576, allocations: 16 kB / 0.5618 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1576, allocations: 0 / 0.5618 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/0.1576, allocations: 3.984 kB / 0.5618 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.1576, allocations: 0 / 0.5618 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.1576, allocations: 7.875 kB / 0.5618 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002592/0.1579, allocations: 183.5 kB / 0.562 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.135e-05/0.1579, allocations: 81.06 kB / 0.5621 GB, free: 15.31 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.398e-05/0.1579, allocations: 8 kB / 0.5621 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.433e-05/0.158, allocations: 4 kB / 0.5621 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.682e-05/0.1581, allocations: 7.922 kB / 0.5621 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.037e-06/0.1581, allocations: 0 / 0.5621 GB, free: 15.29 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001087/0.1582, allocations: 117.1 kB / 0.5622 GB, free: 15.18 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1582, allocations: 0 / 0.5622 GB, free: 15.18 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002912/0.1585, allocations: 39.88 kB / 0.5622 GB, free: 15.14 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 (5): * Single equations (assignments): 5 * 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.002316/0.1608, allocations: 1.104 MB / 0.5633 GB, free: 14.19 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002419/0.161, allocations: 47.97 kB / 0.5634 GB, free: 14.14 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.161, allocations: 4 kB / 0.5634 GB, free: 14.14 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.482e-05/0.1611, allocations: 35.91 kB / 0.5634 GB, free: 14.11 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004117/0.1615, allocations: 19.92 kB / 0.5634 GB, free: 14.09 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001879/0.1634, allocations: 1.444 MB / 0.5648 GB, free: 12.56 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003408/0.1637, allocations: 0.6963 MB / 0.5655 GB, free: 11.84 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.467e-05/0.1638, allocations: 19.98 kB / 0.5655 GB, free: 11.82 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.895e-05/0.1639, allocations: 27.42 kB / 0.5655 GB, free: 11.8 MB / 430.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1639, allocations: 0 / 0.5655 GB, free: 11.8 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03037/0.1942, allocations: 3.257 MB / 0.5687 GB, free: 8.539 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.133/8.327, allocations: 12 kB / 0.5687 GB, free: 8.527 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test21_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test21.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.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.5543357077986]