Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008937/0.0008937, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008459/0.0008459, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.881/0.881, allocations: 177.1 MB / 204.3 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2304/0.2304, allocations: 34.25 MB / 294.9 MB, free: 0.7188 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.223e-06/1.223e-06, allocations: 0 / 442.2 MB, free: 1.645 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.529e-05/1.651e-05, allocations: 2.281 kB / 442.2 MB, free: 1.641 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.1611/0.1611, allocations: 1.662 MB / 443.9 MB, free: 43.27 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00075/0.1619, allocations: 0.5676 MB / 444.4 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.081e-05/0.1619, allocations: 0 / 444.4 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003729/0.1623, allocations: 464 kB / 444.9 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000315/0.1626, allocations: 294.5 kB / 445.2 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002813/0.1629, allocations: 185.7 kB / 445.4 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001657/0.1631, allocations: 179.6 kB / 445.5 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.1632, allocations: 22.25 kB / 445.5 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.854e-05/0.1632, allocations: 116.4 kB / 445.7 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001522/0.1634, allocations: 252.6 kB / 445.9 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.566e-05/0.1634, allocations: 2.969 kB / 445.9 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.831e-05/0.1635, allocations: 52 kB / 446 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.238e-05/0.1636, allocations: 87.39 kB / 446 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.536e-05/0.1636, allocations: 44.53 kB / 446.1 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002023/0.1638, allocations: 252.2 kB / 446.3 MB, free: 43.05 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1638, allocations: 3.062 kB / 446.3 MB, free: 43.05 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1638, allocations: 0 / 446.3 MB, free: 43.05 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.311e-06/0.1638, allocations: 3.094 kB / 446.3 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004385/0.1643, allocations: 0.6005 MB / 446.9 MB, free: 42.58 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.1643, allocations: 11.81 kB / 447 MB, free: 42.58 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.186e-05/0.1643, allocations: 37.97 kB / 447 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.811e-05/0.1644, allocations: 43.69 kB / 447 MB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001495/0.1645, allocations: 248.4 kB / 447.3 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.416e-06/0.1645, allocations: 6.094 kB / 447.3 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.1645, allocations: 9.969 kB / 447.3 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001158/0.1646, allocations: 58.73 kB / 447.3 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/0.1647, allocations: 6.969 kB / 447.4 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-06/0.1647, allocations: 3.938 kB / 447.4 MB, free: 42.28 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.1647, allocations: 0 / 447.4 MB, free: 42.28 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.831e-05/0.1647, allocations: 35 kB / 447.4 MB, free: 42.28 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003212/0.165, allocations: 369.9 kB / 447.8 MB, free: 42.04 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.158e-05/0.1651, allocations: 53.44 kB / 447.8 MB, free: 42.02 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.765e-05/0.1651, allocations: 24.47 kB / 447.8 MB, free: 42 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.913e-05/0.1652, allocations: 0 / 447.8 MB, free: 42 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.264e-05/0.1652, allocations: 33.44 kB / 447.9 MB, free: 41.96 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 6.81e-07/0.1652, allocations: 0 / 447.9 MB, free: 41.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005664/0.1657, allocations: 331.7 kB / 448.2 MB, free: 41.84 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.153e-05/0.1658, allocations: 57.66 kB / 448.2 MB, free: 41.78 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004374/0.1662, allocations: 0.8727 MB / 449.1 MB, free: 41.62 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.873e-06/0.1662, allocations: 25.7 kB / 449.1 MB, free: 41.59 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.978e-05/0.1663, allocations: 225.2 kB / 449.4 MB, free: 41.41 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.867e-05/0.1663, allocations: 29.78 kB / 449.4 MB, free: 41.38 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.796e-05/0.1663, allocations: 25.38 kB / 449.4 MB, free: 41.36 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.506e-05/0.1664, allocations: 368.2 kB / 449.8 MB, free: 41.02 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.936e-05/0.1664, allocations: 35.83 kB / 449.8 MB, free: 41.01 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.952e-05/0.1665, allocations: 31.69 kB / 449.8 MB, free: 41 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.331e-05/0.1666, allocations: 77.47 kB / 449.9 MB, free: 40.98 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.1666, allocations: 0 / 449.9 MB, free: 40.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001277/0.1667, allocations: 147.4 kB / 450.1 MB, free: 40.9 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.1667, allocations: 5.906 kB / 450.1 MB, free: 40.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.1667, allocations: 0 / 450.1 MB, free: 40.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.1667, allocations: 6.969 kB / 450.1 MB, free: 40.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.765e-05/0.1668, allocations: 19.06 kB / 450.1 MB, free: 40.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.1668, allocations: 2.844 kB / 450.1 MB, free: 40.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.353e-05/0.1668, allocations: 6.875 kB / 450.1 MB, free: 40.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.832e-06/0.1668, allocations: 5.797 kB / 450.1 MB, free: 40.89 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 0.0001012/0.1669, allocations: 213 kB / 450.3 MB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.634e-05/0.167, allocations: 43.97 kB / 450.4 MB, free: 40.73 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001965/0.1671, allocations: 180.8 kB / 450.5 MB, free: 40.65 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.584e-06/0.1672, allocations: 0 / 450.5 MB, free: 40.65 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.1672, allocations: 1.312 kB / 450.5 MB, free: 40.65 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.1672, allocations: 2.938 kB / 450.5 MB, free: 40.65 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003333/0.1675, allocations: 497.9 kB / 451 MB, free: 40.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.1675, allocations: 0 / 451 MB, free: 40.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.544e-05/0.1675, allocations: 20.09 kB / 451 MB, free: 40.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.1675, allocations: 32 / 451 MB, free: 40.3 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-06/0.1675, allocations: 14.22 kB / 451.1 MB, free: 40.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.1675, allocations: 3.938 kB / 451.1 MB, free: 40.29 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1675, allocations: 0 / 451.1 MB, free: 40.29 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001279/0.1677, allocations: 254.2 kB / 451.3 MB, free: 40.1 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.446e-05/0.1677, allocations: 43.05 kB / 451.4 MB, free: 40.07 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.932e-05/0.1677, allocations: 12.45 kB / 451.4 MB, free: 40.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.518e-05/0.1678, allocations: 2.906 kB / 451.4 MB, free: 40.07 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.852e-05/0.1678, allocations: 10.36 kB / 451.4 MB, free: 40.06 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-06/0.1678, allocations: 2.812 kB / 451.4 MB, free: 40.06 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003077/0.1681, allocations: 0.6637 MB / 452 MB, free: 39.81 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1681, allocations: 0 / 452 MB, free: 39.81 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000175/0.1683, allocations: 33.3 kB / 452.1 MB, free: 39.8 MB / 410.7 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.0009108/0.1692, allocations: 1.164 MB / 453.2 MB, free: 39.02 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001338/0.1693, allocations: 71.44 kB / 453.3 MB, free: 39 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.1693, allocations: 3.938 kB / 453.3 MB, free: 39 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.412e-05/0.1694, allocations: 41.94 kB / 453.4 MB, free: 38.98 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002913/0.1697, allocations: 32.39 kB / 453.4 MB, free: 38.96 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002001/0.1717, allocations: 3.403 MB / 456.8 MB, free: 37.13 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001181/0.1718, allocations: 230.5 kB / 457 MB, free: 37.03 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.756e-05/0.1718, allocations: 27.56 kB / 457 MB, free: 37.02 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.182e-05/0.1719, allocations: 119.3 kB / 457.2 MB, free: 36.93 MB / 410.7 MB Notification: Performance of SimCode: time 7.51e-07/0.1719, allocations: 0 / 457.2 MB, free: 36.93 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01905/0.191, allocations: 7.13 MB / 464.3 MB, free: 35.24 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.761/6.952, allocations: 10.59 kB / 464.3 MB, free: 35.23 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test2_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test2.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.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: 8.873328503221273]