Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.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.001334/0.001334, allocations: 120.1 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.001401/0.001401, allocations: 214.2 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.414/1.414, allocations: 230.4 MB / 254.7 MB, free: 15.05 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.2239/0.2239, 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.Test20,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test20",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test20,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test20",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002144/0.002144, allocations: 79.88 kB / 0.4917 GB, free: 7.719 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1141, allocations: 66.04 MB / 0.5562 GB, free: 5.547 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test20): time 0.004683/0.1188, allocations: 2.037 MB / 0.5582 GB, free: 3.492 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00296/0.1218, allocations: 1.02 MB / 0.5592 GB, free: 2.469 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001751/0.122, allocations: 4 kB / 0.5592 GB, free: 2.465 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006313/0.1226, allocations: 263.1 kB / 0.5594 GB, free: 2.207 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000783/0.1234, allocations: 259.1 kB / 0.5597 GB, free: 1.953 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00179/0.1252, allocations: 491.7 kB / 0.5601 GB, free: 1.484 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006334/0.1258, allocations: 330.8 kB / 0.5604 GB, free: 1.16 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002306/0.126, allocations: 60.7 kB / 0.5605 GB, free: 1.102 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002994/0.1263, allocations: 151.2 kB / 0.5606 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003505/0.1267, allocations: 223.2 kB / 0.5609 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.227e-05/0.1267, allocations: 12 kB / 0.5609 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002481/0.127, allocations: 75.91 kB / 0.5609 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001793/0.1271, allocations: 91.61 kB / 0.561 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001721/0.1273, allocations: 135 kB / 0.5612 GB, free: 436 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006054/0.1279, allocations: 350.2 kB / 0.5615 GB, free: 84 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1279, allocations: 0 / 0.5615 GB, free: 84 kB / 414.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1279, allocations: 0 / 0.5615 GB, free: 84 kB / 414.1 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.1279, allocations: 0 / 0.5615 GB, free: 84 kB / 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.001215/0.1291, allocations: 0.6841 MB / 0.5622 GB, free: 15.34 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.1292, allocations: 12.03 kB / 0.5622 GB, free: 15.33 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.351e-05/0.1292, allocations: 192 / 0.5622 GB, free: 15.33 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.299e-05/0.1293, allocations: 42.75 kB / 0.5622 GB, free: 15.28 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000109/0.1294, allocations: 56.59 kB / 0.5623 GB, free: 15.23 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005448/0.1299, allocations: 338.4 kB / 0.5626 GB, free: 14.86 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.882e-05/0.1299, allocations: 8.375 kB / 0.5626 GB, free: 14.85 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.743e-05/0.13, allocations: 12.31 kB / 0.5626 GB, free: 14.84 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003406/0.1303, allocations: 113.9 kB / 0.5627 GB, free: 14.72 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.301e-05/0.1303, allocations: 0 / 0.5627 GB, free: 14.72 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.503e-05/0.1303, allocations: 7.984 kB / 0.5627 GB, free: 14.71 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.1304, allocations: 7.938 kB / 0.5627 GB, free: 14.7 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001983/0.1305, allocations: 67.95 kB / 0.5628 GB, free: 14.64 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009519/0.1315, allocations: 0.5042 MB / 0.5633 GB, free: 14.08 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002695/0.1318, allocations: 86.55 kB / 0.5634 GB, free: 13.99 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000124/0.1319, allocations: 32.78 kB / 0.5634 GB, free: 13.95 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.297e-05/0.1319, allocations: 4 kB / 0.5634 GB, free: 13.95 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.307e-05/0.132, allocations: 38.55 kB / 0.5634 GB, free: 13.9 MB / 430.1 MB Notification: Performance of pre-optimization done (n=11): time 2.134e-06/0.132, allocations: 0 / 0.5634 GB, free: 13.9 MB / 430.1 MB Notification: Performance of matching and sorting (n=17): time 0.001396/0.1334, allocations: 398.7 kB / 0.5638 GB, free: 13.51 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.495e-05/0.1334, allocations: 59.31 kB / 0.5639 GB, free: 13.44 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009681/0.1344, allocations: 0.5877 MB / 0.5645 GB, free: 12.84 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.412e-05/0.1344, allocations: 29.7 kB / 0.5645 GB, free: 12.81 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001981/0.1346, allocations: 216.4 kB / 0.5647 GB, free: 12.59 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.289e-05/0.1347, allocations: 63.47 kB / 0.5647 GB, free: 12.53 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.766e-05/0.1348, allocations: 29.72 kB / 0.5648 GB, free: 12.49 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001829/0.1349, allocations: 358.8 kB / 0.5651 GB, free: 12.13 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001248/0.1351, allocations: 47.97 kB / 0.5652 GB, free: 12.09 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001173/0.1352, allocations: 55.91 kB / 0.5652 GB, free: 12.03 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002518/0.1354, allocations: 126.6 kB / 0.5653 GB, free: 11.91 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.1354, allocations: 0 / 0.5653 GB, free: 11.91 MB / 430.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003872/0.1358, allocations: 201.2 kB / 0.5655 GB, free: 11.7 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.1358, allocations: 5.875 kB / 0.5655 GB, free: 11.7 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.1359, allocations: 0 / 0.5655 GB, free: 11.7 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.1359, allocations: 4 kB / 0.5655 GB, free: 11.7 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001563/0.136, allocations: 31.98 kB / 0.5656 GB, free: 11.66 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.278e-06/0.136, allocations: 11.92 kB / 0.5656 GB, free: 11.65 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.011e-05/0.1361, allocations: 11.98 kB / 0.5656 GB, free: 11.64 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.237e-05/0.1361, allocations: 8 kB / 0.5656 GB, free: 11.63 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.0001693/0.1363, allocations: 173.8 kB / 0.5658 GB, free: 11.45 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.95e-05/0.1364, allocations: 43.72 kB / 0.5658 GB, free: 11.41 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005488/0.1369, allocations: 245.6 kB / 0.566 GB, free: 11.15 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.708e-06/0.1369, allocations: 4 kB / 0.566 GB, free: 11.15 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.1369, allocations: 0 / 0.566 GB, free: 11.15 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.1369, allocations: 0 / 0.566 GB, free: 11.15 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001149/0.1381, allocations: 0.6445 MB / 0.5667 GB, free: 10.45 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.1381, allocations: 0 / 0.5667 GB, free: 10.45 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001585/0.1382, allocations: 31.98 kB / 0.5667 GB, free: 10.42 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.935e-06/0.1383, allocations: 3.984 kB / 0.5667 GB, free: 10.41 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.688e-05/0.1383, allocations: 4 kB / 0.5667 GB, free: 10.41 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.1383, allocations: 4 kB / 0.5667 GB, free: 10.41 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.1383, allocations: 3.938 kB / 0.5667 GB, free: 10.4 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005594/0.1388, allocations: 307.1 kB / 0.567 GB, free: 10.09 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001293/0.139, allocations: 124.8 kB / 0.5671 GB, free: 9.945 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.94e-05/0.139, allocations: 0 / 0.5671 GB, free: 9.945 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001701/0.1392, allocations: 12 kB / 0.5671 GB, free: 9.934 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.539e-05/0.1392, allocations: 11.92 kB / 0.5672 GB, free: 9.922 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.64e-05/0.1393, allocations: 4 kB / 0.5672 GB, free: 9.918 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0007563/0.14, allocations: 451.1 kB / 0.5676 GB, free: 9.484 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.14, allocations: 0 / 0.5676 GB, free: 9.484 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005019/0.1405, allocations: 47.94 kB / 0.5676 GB, free: 9.438 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.004441/0.145, allocations: 1.433 MB / 0.569 GB, free: 8.262 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000554/0.1455, allocations: 131.8 kB / 0.5692 GB, free: 8.133 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.1455, allocations: 0 / 0.5692 GB, free: 8.133 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002107/0.1457, allocations: 70.25 kB / 0.5692 GB, free: 8.066 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008199/0.1465, allocations: 80.47 kB / 0.5693 GB, free: 7.992 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006228/0.1528, allocations: 3.17 MB / 0.5724 GB, free: 4.738 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006084/0.1534, allocations: 0.8143 MB / 0.5732 GB, free: 3.898 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001913/0.1536, allocations: 50.23 kB / 0.5732 GB, free: 3.852 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002594/0.1538, allocations: 135.4 kB / 0.5734 GB, free: 3.719 MB / 430.1 MB Notification: Performance of SimCode: time 7.82e-07/0.1538, allocations: 0 / 0.5734 GB, free: 3.719 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.029/0.1828, allocations: 7.716 MB / 0.5809 GB, free: 12.05 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.298/8.481, allocations: 4.062 kB / 0.5809 GB, free: 12.05 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test20_fmu --startTime=0 --stopTime=6 --stepSize=0.00119952 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test20.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.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.7462244759663]