Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.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.001642/0.001642, allocations: 116.4 kB / 18.5 MB, free: 4.598 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.0021/0.0021, allocations: 208.9 kB / 21.46 MB, free: 1.645 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.569/1.569, 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.2473/0.2473, allocations: 46.89 MB / 357.4 MB, free: 10.46 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.CombiTable1Ds.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test21",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002182/0.002182, allocations: 83.86 kB / 0.4913 GB, free: 8.273 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.1377, allocations: 66 MB / 0.5557 GB, free: 6.148 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.003582/0.1413, allocations: 1.597 MB / 0.5573 GB, free: 4.535 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002064/0.1433, allocations: 1.171 MB / 0.5584 GB, free: 3.359 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.046e-05/0.1434, allocations: 4 kB / 0.5584 GB, free: 3.355 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002572/0.1437, allocations: 27.78 kB / 0.5584 GB, free: 3.328 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003102/0.144, allocations: 83.61 kB / 0.5585 GB, free: 3.246 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002731/0.1443, allocations: 82.41 kB / 0.5586 GB, free: 3.168 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002389/0.1445, allocations: 75.75 kB / 0.5587 GB, free: 3.094 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.983e-05/0.1446, allocations: 8 kB / 0.5587 GB, free: 3.086 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.364e-05/0.1446, allocations: 19.92 kB / 0.5587 GB, free: 3.066 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000173/0.1448, allocations: 39.83 kB / 0.5587 GB, free: 3.027 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.748e-05/0.1448, allocations: 8 kB / 0.5587 GB, free: 3.02 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001867/0.145, allocations: 99.88 kB / 0.5588 GB, free: 2.922 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.1e-05/0.1451, allocations: 19.92 kB / 0.5589 GB, free: 2.902 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.493e-05/0.1451, allocations: 19.81 kB / 0.5589 GB, free: 2.883 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000272/0.1454, allocations: 143.5 kB / 0.559 GB, free: 2.742 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.1454, allocations: 0 / 0.559 GB, free: 2.742 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1454, allocations: 0 / 0.559 GB, free: 2.742 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.1454, allocations: 0 / 0.559 GB, free: 2.742 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.0006025/0.146, allocations: 406.8 kB / 0.5594 GB, free: 2.293 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.1461, allocations: 12.03 kB / 0.5594 GB, free: 2.281 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.615e-05/0.1461, allocations: 34.75 kB / 0.5595 GB, free: 2.238 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.614e-05/0.1461, allocations: 8.891 kB / 0.5595 GB, free: 2.23 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003521/0.1465, allocations: 193.8 kB / 0.5596 GB, free: 2.004 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.736e-06/0.1465, allocations: 4.375 kB / 0.5596 GB, free: 2 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.498e-05/0.1465, allocations: 4.375 kB / 0.5597 GB, free: 1.996 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001792/0.1467, allocations: 59.91 kB / 0.5597 GB, free: 1.926 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.1467, allocations: 3.938 kB / 0.5597 GB, free: 1.922 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.441e-05/0.1467, allocations: 7.984 kB / 0.5597 GB, free: 1.914 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.573e-06/0.1467, allocations: 8 kB / 0.5597 GB, free: 1.906 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.261e-05/0.1468, allocations: 23.98 kB / 0.5598 GB, free: 1.883 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003914/0.1472, allocations: 272.9 kB / 0.56 GB, free: 1.566 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000229/0.1475, allocations: 42.5 kB / 0.5601 GB, free: 1.516 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.598e-05/0.1475, allocations: 20.94 kB / 0.5601 GB, free: 1.492 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.859e-05/0.1475, allocations: 4 kB / 0.5601 GB, free: 1.488 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.843e-05/0.1476, allocations: 30.56 kB / 0.5601 GB, free: 1.449 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.173e-06/0.1476, allocations: 3.938 kB / 0.5601 GB, free: 1.445 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.000587/0.1481, allocations: 141.4 kB / 0.5602 GB, free: 1.301 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.414e-05/0.1482, allocations: 81.11 kB / 0.5603 GB, free: 1.203 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000161/0.1484, allocations: 148 kB / 0.5605 GB, free: 1.051 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.281e-05/0.1484, allocations: 29.7 kB / 0.5605 GB, free: 1.016 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.251e-05/0.1485, allocations: 92.12 kB / 0.5606 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.482e-05/0.1485, allocations: 19.8 kB / 0.5606 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.894e-05/0.1485, allocations: 17.72 kB / 0.5606 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.1487, allocations: 326.8 kB / 0.5609 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.457e-05/0.1487, allocations: 11.98 kB / 0.5609 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.847e-05/0.1488, allocations: 37.7 kB / 0.561 GB, free: 0.4961 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001303/0.1489, allocations: 48.77 kB / 0.561 GB, free: 456 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.1489, allocations: 0 / 0.561 GB, free: 456 kB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001829/0.1491, allocations: 81.56 kB / 0.5611 GB, free: 368 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.1491, allocations: 8 kB / 0.5611 GB, free: 360 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.1492, allocations: 0 / 0.5611 GB, free: 360 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.1492, allocations: 4.031 kB / 0.5611 GB, free: 356 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.266e-05/0.1492, allocations: 11.98 kB / 0.5611 GB, free: 344 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.1492, allocations: 0 / 0.5611 GB, free: 344 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.183e-05/0.1493, allocations: 11.98 kB / 0.5611 GB, free: 332 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.276e-06/0.1493, allocations: 4 kB / 0.5611 GB, free: 328 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 9.788e-05/0.1494, allocations: 117.8 kB / 0.5612 GB, free: 200 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.596e-05/0.1494, allocations: 11.89 kB / 0.5613 GB, free: 188 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002566/0.1497, allocations: 90.2 kB / 0.5613 GB, free: 88 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.1497, allocations: 0 / 0.5613 GB, free: 88 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.1497, allocations: 8.062 kB / 0.5614 GB, free: 80 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.1497, allocations: 0 / 0.5614 GB, free: 80 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004978/0.1502, allocations: 354.4 kB / 0.5617 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.1502, allocations: 0 / 0.5617 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.52e-05/0.1502, allocations: 12.27 kB / 0.5617 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.1503, allocations: 0 / 0.5617 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.1503, allocations: 12 kB / 0.5617 GB, free: 15.65 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.1503, allocations: 0 / 0.5617 GB, free: 15.65 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.1503, allocations: 3.938 kB / 0.5617 GB, free: 15.65 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002425/0.1505, allocations: 179.5 kB / 0.5619 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.081e-05/0.1506, allocations: 85.05 kB / 0.562 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.273e-05/0.1506, allocations: 4 kB / 0.562 GB, free: 15.35 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.523e-05/0.1507, allocations: 4 kB / 0.562 GB, free: 15.35 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.557e-05/0.1507, allocations: 15.86 kB / 0.562 GB, free: 15.33 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-06/0.1507, allocations: 0 / 0.562 GB, free: 15.33 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001066/0.1508, allocations: 113 kB / 0.5621 GB, free: 15.22 MB / 430.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1508, allocations: 0 / 0.5621 GB, free: 15.22 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003072/0.1511, allocations: 43.8 kB / 0.5621 GB, free: 15.18 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.00228/0.1534, allocations: 1.089 MB / 0.5632 GB, free: 14.24 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002131/0.1536, allocations: 55.89 kB / 0.5633 GB, free: 14.19 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1536, allocations: 0 / 0.5633 GB, free: 14.19 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.392e-05/0.1537, allocations: 23.98 kB / 0.5633 GB, free: 14.16 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003631/0.1541, allocations: 18.59 kB / 0.5633 GB, free: 14.15 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001993/0.1561, allocations: 1.425 MB / 0.5647 GB, free: 12.64 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004364/0.1565, allocations: 0.6924 MB / 0.5654 GB, free: 11.92 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.234e-05/0.1566, allocations: 19.98 kB / 0.5654 GB, free: 11.9 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.734e-05/0.1566, allocations: 27.42 kB / 0.5654 GB, free: 11.88 MB / 430.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1566, allocations: 4 kB / 0.5654 GB, free: 11.88 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02852/0.1852, allocations: 3.228 MB / 0.5686 GB, free: 8.652 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.199/8.384, allocations: 8 kB / 0.5686 GB, free: 8.645 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test21_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test21.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.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.688760168850422]