Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.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.000869/0.000869, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0009732/0.0009732, allocations: 156.9 kB / 23.94 MB, free: 0.6172 MB / 18.57 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 0.8832/0.8832, allocations: 177 MB / 204.1 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.2397/0.2397, allocations: 34.23 MB / 294.8 MB, free: 0.6875 MB / 266.7 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.Test25_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 442.2 MB, free: 1.551 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.897e-05/2.043e-05, allocations: 8.328 kB / 442.2 MB, free: 1.543 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.1626/0.1627, allocations: 1.59 MB / 443.8 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007217/0.1634, allocations: 0.5531 MB / 444.3 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.4e-05/0.1634, allocations: 0 / 444.3 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002008/0.1636, allocations: 23.3 kB / 444.3 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002208/0.1638, allocations: 83.61 kB / 444.4 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002055/0.1641, allocations: 112.5 kB / 444.5 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001336/0.1642, allocations: 78.08 kB / 444.6 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.017e-05/0.1643, allocations: 9.125 kB / 444.6 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.257e-05/0.1643, allocations: 37.83 kB / 444.7 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.594e-05/0.1644, allocations: 28.62 kB / 444.7 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.458e-05/0.1644, allocations: 2.781 kB / 444.7 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000116/0.1645, allocations: 99.61 kB / 444.8 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.373e-05/0.1646, allocations: 13.09 kB / 444.8 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.496e-05/0.1646, allocations: 16.77 kB / 444.8 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001886/0.1648, allocations: 157 kB / 445 MB, free: 43.05 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.1648, allocations: 0 / 445 MB, free: 43.05 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1648, allocations: 0 / 445 MB, free: 43.05 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.449e-06/0.1648, allocations: 0 / 445 MB, free: 43.05 MB / 410.7 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.0003544/0.1651, allocations: 336.5 kB / 445.3 MB, free: 42.74 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.1652, allocations: 8.969 kB / 445.3 MB, free: 42.74 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.206e-05/0.1652, allocations: 34.62 kB / 445.3 MB, free: 42.7 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.105e-05/0.1652, allocations: 7.891 kB / 445.3 MB, free: 42.7 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000118/0.1654, allocations: 139.2 kB / 445.5 MB, free: 42.56 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.823e-06/0.1654, allocations: 3.562 kB / 445.5 MB, free: 42.56 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.71e-05/0.1654, allocations: 4.125 kB / 445.5 MB, free: 42.56 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001104/0.1655, allocations: 88.08 kB / 445.6 MB, free: 42.48 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.1655, allocations: 192 / 445.6 MB, free: 42.48 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-06/0.1655, allocations: 3.281 kB / 445.6 MB, free: 42.48 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.1655, allocations: 4.125 kB / 445.6 MB, free: 42.48 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.026e-05/0.1656, allocations: 29.48 kB / 445.6 MB, free: 42.48 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002872/0.1659, allocations: 256.6 kB / 445.9 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.847e-05/0.1659, allocations: 48.92 kB / 445.9 MB, free: 42.23 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.051e-05/0.166, allocations: 26.83 kB / 445.9 MB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.006e-05/0.166, allocations: 2.906 kB / 445.9 MB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.475e-05/0.166, allocations: 38.94 kB / 446 MB, free: 42.17 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.302e-06/0.166, allocations: 0.75 kB / 446 MB, free: 42.17 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004106/0.1664, allocations: 179.3 kB / 446.2 MB, free: 42.12 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.51e-05/0.1664, allocations: 77.11 kB / 446.2 MB, free: 42.03 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.604e-05/0.1665, allocations: 158.6 kB / 446.4 MB, free: 41.93 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.873e-06/0.1665, allocations: 25.7 kB / 446.4 MB, free: 41.89 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.221e-05/0.1666, allocations: 97.69 kB / 446.5 MB, free: 41.81 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.429e-05/0.1666, allocations: 18.77 kB / 446.5 MB, free: 41.8 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.016e-05/0.1666, allocations: 22.92 kB / 446.5 MB, free: 41.78 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.173e-05/0.1666, allocations: 324.9 kB / 446.9 MB, free: 41.46 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.58e-05/0.1667, allocations: 31.8 kB / 446.9 MB, free: 41.46 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.876e-05/0.1667, allocations: 68.97 kB / 447 MB, free: 41.42 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.696e-05/0.1668, allocations: 71.59 kB / 447 MB, free: 41.41 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1668, allocations: 3.938 kB / 447 MB, free: 41.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001211/0.1669, allocations: 111.7 kB / 447.1 MB, free: 41.37 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.167, allocations: 5.656 kB / 447.1 MB, free: 41.37 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.167, allocations: 7.188 kB / 447.2 MB, free: 41.36 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.167, allocations: 0 / 447.2 MB, free: 41.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.104e-05/0.167, allocations: 16.25 kB / 447.2 MB, free: 41.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.1671, allocations: 3.031 kB / 447.2 MB, free: 41.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.678e-05/0.1671, allocations: 6.594 kB / 447.2 MB, free: 41.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.613e-06/0.1671, allocations: 2.906 kB / 447.2 MB, free: 41.36 MB / 410.7 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 4.771e-05/0.1671, allocations: 120.4 kB / 447.3 MB, free: 41.25 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.878e-05/0.1672, allocations: 11.45 kB / 447.3 MB, free: 41.24 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001548/0.1673, allocations: 124.5 kB / 447.4 MB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.1673, allocations: 0 / 447.4 MB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.1673, allocations: 0 / 447.4 MB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.1673, allocations: 0 / 447.4 MB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002573/0.1676, allocations: 359.9 kB / 447.8 MB, free: 40.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.1676, allocations: 0 / 447.8 MB, free: 40.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.27e-05/0.1676, allocations: 16.25 kB / 447.8 MB, free: 40.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.1676, allocations: 2.906 kB / 447.8 MB, free: 40.93 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.1676, allocations: 4.625 kB / 447.8 MB, free: 40.92 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.1676, allocations: 3.031 kB / 447.8 MB, free: 40.92 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1676, allocations: 0 / 447.8 MB, free: 40.92 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001103/0.1677, allocations: 210.1 kB / 448 MB, free: 40.78 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.997e-06/0.1677, allocations: 6.641 kB / 448 MB, free: 40.78 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.764e-05/0.1678, allocations: 0 / 448 MB, free: 40.78 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.844e-05/0.1678, allocations: 12.55 kB / 448 MB, free: 40.78 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.556e-05/0.1678, allocations: 6.109 kB / 448 MB, free: 40.78 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.1678, allocations: 7.875 kB / 448 MB, free: 40.77 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.628e-05/0.1679, allocations: 124 kB / 448.2 MB, free: 40.69 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1679, allocations: 0 / 448.2 MB, free: 40.69 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002031/0.1681, allocations: 43.94 kB / 448.2 MB, free: 40.68 MB / 410.7 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 (7): * Single equations (assignments): 7 * 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.001026/0.1691, allocations: 1.153 MB / 449.4 MB, free: 39.92 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001532/0.1693, allocations: 67.14 kB / 449.4 MB, free: 39.92 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1693, allocations: 0 / 449.4 MB, free: 39.92 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.162e-05/0.1693, allocations: 37.98 kB / 449.5 MB, free: 39.91 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002667/0.1696, allocations: 26.52 kB / 449.5 MB, free: 39.91 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009109/0.1705, allocations: 1.534 MB / 451 MB, free: 38.64 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.884e-05/0.1705, allocations: 81.98 kB / 451.1 MB, free: 38.56 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.558e-05/0.1706, allocations: 18.91 kB / 451.1 MB, free: 38.56 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.932e-05/0.1706, allocations: 35.61 kB / 451.2 MB, free: 38.54 MB / 410.7 MB Notification: Performance of SimCode: time 5.51e-07/0.1706, allocations: 0 / 451.2 MB, free: 38.54 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01781/0.1884, allocations: 4.264 MB / 455.4 MB, free: 37.04 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.951/7.14, allocations: 10.09 kB / 455.4 MB, free: 37.04 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.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: 9.067990777082741]