Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7.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.0008351/0.0008351, 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.001225/0.001225, 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.8729/0.8729, allocations: 177.1 MB / 204.3 MB, free: 5.734 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.2408/0.2408, allocations: 34.25 MB / 294.9 MB, free: 0.7148 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.CombiTable2Ds.Test7,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test7,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test7",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 442.2 MB, free: 1.652 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.116e-05/2.304e-05, allocations: 4.25 kB / 442.2 MB, free: 1.648 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test7): time 0.002784/0.002807, allocations: 1.595 MB / 443.8 MB, free: 40 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1619/0.1647, allocations: 0.5224 MB / 444.3 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.05e-05/0.1648, allocations: 2.688 kB / 444.3 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004054/0.1652, allocations: 449.8 kB / 444.8 MB, free: 43.24 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003479/0.1656, allocations: 294.5 kB / 445 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002271/0.1658, allocations: 131 kB / 445.2 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001588/0.166, allocations: 168.1 kB / 445.3 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.447e-05/0.166, allocations: 9.406 kB / 445.3 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.936e-05/0.1661, allocations: 121.8 kB / 445.5 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001564/0.1663, allocations: 233.1 kB / 445.7 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.536e-05/0.1663, allocations: 2.938 kB / 445.7 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.547e-05/0.1664, allocations: 23.3 kB / 445.7 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.592e-05/0.1664, allocations: 85.52 kB / 445.8 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.082e-05/0.1665, allocations: 41.84 kB / 445.8 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001923/0.1667, allocations: 232.6 kB / 446.1 MB, free: 43.11 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.1667, allocations: 0 / 446.1 MB, free: 43.11 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1667, allocations: 0 / 446.1 MB, free: 43.11 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.1667, allocations: 0 / 446.1 MB, free: 43.11 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.0004587/0.1671, allocations: 0.5713 MB / 446.6 MB, free: 42.66 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.1672, allocations: 16.88 kB / 446.7 MB, free: 42.66 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.472e-05/0.1672, allocations: 31.88 kB / 446.7 MB, free: 42.62 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.909e-05/0.1672, allocations: 43.03 kB / 446.7 MB, free: 42.6 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001631/0.1674, allocations: 243 kB / 447 MB, free: 42.4 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.146e-06/0.1674, allocations: 4.375 kB / 447 MB, free: 42.4 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.899e-06/0.1674, allocations: 9.984 kB / 447 MB, free: 42.4 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001118/0.1675, allocations: 51.95 kB / 447 MB, free: 42.36 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.014e-06/0.1675, allocations: 3.938 kB / 447 MB, free: 42.36 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.286e-06/0.1675, allocations: 0 / 447 MB, free: 42.36 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.1675, allocations: 0 / 447 MB, free: 42.36 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.612e-05/0.1676, allocations: 23.56 kB / 447.1 MB, free: 42.36 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002944/0.1679, allocations: 351.2 kB / 447.4 MB, free: 42.12 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.559e-05/0.168, allocations: 36.5 kB / 447.4 MB, free: 42.09 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.505e-05/0.168, allocations: 20.34 kB / 447.5 MB, free: 42.08 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.09e-05/0.168, allocations: 0 / 447.5 MB, free: 42.08 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.247e-05/0.168, allocations: 30.56 kB / 447.5 MB, free: 42.04 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 7.31e-07/0.168, allocations: 5.312 kB / 447.5 MB, free: 42.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001719/0.1682, allocations: 97.11 kB / 447.6 MB, free: 41.98 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.051e-05/0.1682, allocations: 51.41 kB / 447.6 MB, free: 41.92 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004418/0.1686, allocations: 0.8732 MB / 448.5 MB, free: 41.8 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.18e-06/0.1687, allocations: 25.7 kB / 448.5 MB, free: 41.77 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.33e-05/0.1687, allocations: 230.3 kB / 448.8 MB, free: 41.63 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.431e-05/0.1687, allocations: 10.83 kB / 448.8 MB, free: 41.62 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.239e-05/0.1688, allocations: 9.719 kB / 448.8 MB, free: 41.61 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.535e-05/0.1688, allocations: 371 kB / 449.1 MB, free: 41.27 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.586e-05/0.1688, allocations: 2.875 kB / 449.1 MB, free: 41.27 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.667e-05/0.1689, allocations: 9.109 kB / 449.2 MB, free: 41.27 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.947e-05/0.1689, allocations: 23.69 kB / 449.2 MB, free: 41.26 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.1689, allocations: 2.906 kB / 449.2 MB, free: 41.26 MB / 410.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.503e-05/0.169, allocations: 96.45 kB / 449.3 MB, free: 41.2 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.169, allocations: 9.125 kB / 449.3 MB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.169, allocations: 0 / 449.3 MB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.169, allocations: 0 / 449.3 MB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.907e-05/0.1691, allocations: 6.875 kB / 449.3 MB, free: 41.19 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-06/0.1691, allocations: 2.969 kB / 449.3 MB, free: 41.19 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.868e-05/0.1691, allocations: 2.969 kB / 449.3 MB, free: 41.19 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.181e-06/0.1691, allocations: 3.469 kB / 449.3 MB, free: 41.19 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 (2): * Single equations (assignments): 2 * 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.848e-05/0.1692, allocations: 214.7 kB / 449.5 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.615e-05/0.1692, allocations: 42.72 kB / 449.5 MB, free: 41.03 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000122/0.1694, allocations: 105.7 kB / 449.7 MB, free: 40.97 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.1694, allocations: 0 / 449.7 MB, free: 40.97 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.1694, allocations: 1.781 kB / 449.7 MB, free: 40.97 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.1694, allocations: 0 / 449.7 MB, free: 40.97 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001331/0.1695, allocations: 260.3 kB / 449.9 MB, free: 40.78 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1695, allocations: 0 / 449.9 MB, free: 40.78 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.854e-05/0.1695, allocations: 9.031 kB / 449.9 MB, free: 40.78 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.1695, allocations: 1.312 kB / 449.9 MB, free: 40.78 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.45e-06/0.1695, allocations: 3.938 kB / 449.9 MB, free: 40.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1695, allocations: 4.031 kB / 449.9 MB, free: 40.77 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.1695, allocations: 6.75 kB / 449.9 MB, free: 40.77 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.421e-05/0.1696, allocations: 187.8 kB / 450.1 MB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.449e-05/0.1696, allocations: 36.16 kB / 450.2 MB, free: 40.58 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.61e-05/0.1696, allocations: 2.781 kB / 450.2 MB, free: 40.58 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.169e-05/0.1697, allocations: 6.156 kB / 450.2 MB, free: 40.58 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.457e-05/0.1697, allocations: 0 / 450.2 MB, free: 40.58 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-06/0.1697, allocations: 0 / 450.2 MB, free: 40.58 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003116/0.17, allocations: 0.6584 MB / 450.8 MB, free: 40.33 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.17, allocations: 32 / 450.8 MB, free: 40.33 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001687/0.1702, allocations: 28.89 kB / 450.8 MB, free: 40.32 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 (2): * Single equations (assignments): 2 * 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.0006882/0.1709, allocations: 0.9888 MB / 451.8 MB, free: 39.58 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 9.026e-05/0.171, allocations: 28.64 kB / 451.9 MB, free: 39.57 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.512e-06/0.171, allocations: 0 / 451.9 MB, free: 39.57 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.458e-05/0.171, allocations: 8.625 kB / 451.9 MB, free: 39.57 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002954/0.1713, allocations: 35.67 kB / 451.9 MB, free: 39.56 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001697/0.173, allocations: 3.161 MB / 455.1 MB, free: 37.82 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001072/0.1731, allocations: 218.8 kB / 455.3 MB, free: 37.72 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.784e-05/0.1731, allocations: 11.42 kB / 455.3 MB, free: 37.72 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.069e-05/0.1732, allocations: 111.5 kB / 455.4 MB, free: 37.64 MB / 410.7 MB Notification: Performance of SimCode: time 5.21e-07/0.1732, allocations: 0 / 455.4 MB, free: 37.64 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01617/0.1894, allocations: 6.41 MB / 461.8 MB, free: 36.01 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.633/6.822, allocations: 0 / 461.8 MB, free: 36.01 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test7_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test7.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7.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.732396270148456]