Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test31.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.0008101/0.0008101, allocations: 79.7 kB / 20.67 MB, free: 3.891 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.0008534/0.0008534, 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.8822/0.8822, allocations: 177.1 MB / 204.3 MB, free: 5.719 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.2451/0.2451, 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.Test31,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test31,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test31",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 442.2 MB, free: 1.66 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.034e-05/2.217e-05, allocations: 2.281 kB / 442.2 MB, free: 1.656 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test31): time 0.1633/0.1634, allocations: 1.651 MB / 443.8 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001391/0.1647, allocations: 1.247 MB / 445.1 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.359e-05/0.1648, allocations: 0 / 445.1 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002084/0.165, allocations: 20.64 kB / 445.1 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002663/0.1653, allocations: 93.84 kB / 445.2 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000209/0.1655, allocations: 138 kB / 445.3 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000118/0.1656, allocations: 69.36 kB / 445.4 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.574e-05/0.1657, allocations: 20.14 kB / 445.4 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.612e-05/0.1658, allocations: 42.36 kB / 445.5 MB, free: 43.03 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.763e-05/0.1658, allocations: 28.36 kB / 445.5 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.5e-05/0.1659, allocations: 5.594 kB / 445.5 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001134/0.166, allocations: 96.53 kB / 445.6 MB, free: 43.01 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.151e-05/0.166, allocations: 18.92 kB / 445.6 MB, free: 43.01 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.291e-05/0.1661, allocations: 15.67 kB / 445.6 MB, free: 43.01 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001986/0.1663, allocations: 158.8 kB / 445.8 MB, free: 42.97 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.1663, allocations: 7.062 kB / 445.8 MB, free: 42.97 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.462e-06/0.1663, allocations: 1.969 kB / 445.8 MB, free: 42.97 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.1663, allocations: 0 / 445.8 MB, free: 42.97 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004192/0.1667, allocations: 349.3 kB / 446.1 MB, free: 42.66 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.1667, allocations: 8.094 kB / 446.1 MB, free: 42.66 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.489e-05/0.1667, allocations: 37.08 kB / 446.2 MB, free: 42.62 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.253e-05/0.1668, allocations: 11.45 kB / 446.2 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001303/0.1669, allocations: 131.5 kB / 446.3 MB, free: 42.48 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.668e-06/0.1669, allocations: 10.56 kB / 446.3 MB, free: 42.47 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.74e-05/0.1669, allocations: 384 / 446.3 MB, free: 42.47 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001386/0.1671, allocations: 104.2 kB / 446.4 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.1671, allocations: 192 / 446.4 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.749e-06/0.1671, allocations: 7.938 kB / 446.4 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.1671, allocations: 1.172 kB / 446.4 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.149e-05/0.1672, allocations: 36.55 kB / 446.5 MB, free: 42.37 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002582/0.1674, allocations: 264.4 kB / 446.7 MB, free: 42.11 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.029e-05/0.1675, allocations: 47.64 kB / 446.8 MB, free: 42.08 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.613e-05/0.1675, allocations: 22.8 kB / 446.8 MB, free: 42.07 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.125e-05/0.1676, allocations: 0 / 446.8 MB, free: 42.07 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.632e-05/0.1676, allocations: 37.44 kB / 446.8 MB, free: 42.03 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 6.71e-07/0.1676, allocations: 0 / 446.8 MB, free: 42.03 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005016/0.1681, allocations: 216.8 kB / 447 MB, free: 41.95 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.103e-05/0.1681, allocations: 80.3 kB / 447.1 MB, free: 41.86 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/0.1682, allocations: 158 kB / 447.3 MB, free: 41.73 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.083e-06/0.1682, allocations: 25.7 kB / 447.3 MB, free: 41.7 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.088e-05/0.1683, allocations: 94.52 kB / 447.4 MB, free: 41.61 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.78e-05/0.1683, allocations: 24.98 kB / 447.4 MB, free: 41.59 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.76e-05/0.1683, allocations: 19.53 kB / 447.4 MB, free: 41.57 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.942e-05/0.1683, allocations: 325 kB / 447.8 MB, free: 41.25 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.615e-05/0.1684, allocations: 33.94 kB / 447.8 MB, free: 41.25 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.09e-05/0.1685, allocations: 73.16 kB / 447.9 MB, free: 41.19 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001044/0.1686, allocations: 79.42 kB / 447.9 MB, free: 41.16 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.1686, allocations: 0 / 447.9 MB, free: 41.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001389/0.1687, allocations: 120.9 kB / 448.1 MB, free: 41.11 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.1687, allocations: 5.281 kB / 448.1 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.1687, allocations: 0 / 448.1 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.1687, allocations: 0 / 448.1 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.861e-05/0.1688, allocations: 19.75 kB / 448.1 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.1688, allocations: 0 / 448.1 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.617e-05/0.1688, allocations: 8.781 kB / 448.1 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.084e-06/0.1689, allocations: 12.41 kB / 448.1 MB, free: 41.1 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 (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 prepare postOptimizeDAE: time 4.69e-05/0.1689, allocations: 125 kB / 448.2 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.772e-05/0.1689, allocations: 10.7 kB / 448.2 MB, free: 40.97 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001885/0.1691, allocations: 124.9 kB / 448.4 MB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.574e-06/0.1691, allocations: 6.656 kB / 448.4 MB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.1691, allocations: 0 / 448.4 MB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.1691, allocations: 0 / 448.4 MB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002678/0.1694, allocations: 366.1 kB / 448.7 MB, free: 40.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1694, allocations: 0 / 448.7 MB, free: 40.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.428e-05/0.1694, allocations: 19.52 kB / 448.7 MB, free: 40.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.1694, allocations: 0 / 448.7 MB, free: 40.6 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.1694, allocations: 1.312 kB / 448.7 MB, free: 40.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.1694, allocations: 0 / 448.7 MB, free: 40.6 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1694, allocations: 6.594 kB / 448.8 MB, free: 40.6 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001353/0.1696, allocations: 212 kB / 449 MB, free: 40.45 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.107e-05/0.1696, allocations: 9.891 kB / 449 MB, free: 40.44 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.338e-05/0.1696, allocations: 6.75 kB / 449 MB, free: 40.44 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.106e-05/0.1697, allocations: 8.828 kB / 449 MB, free: 40.44 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.982e-05/0.1697, allocations: 10.59 kB / 449 MB, free: 40.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.409e-06/0.1697, allocations: 5.984 kB / 449 MB, free: 40.43 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.682e-05/0.1697, allocations: 114.9 kB / 449.1 MB, free: 40.34 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.1697, allocations: 0 / 449.1 MB, free: 40.34 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001883/0.1699, allocations: 45.67 kB / 449.2 MB, free: 40.33 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.001006/0.1709, allocations: 1.177 MB / 450.3 MB, free: 39.55 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001758/0.1711, allocations: 81.83 kB / 450.4 MB, free: 39.53 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1711, allocations: 0 / 450.4 MB, free: 39.53 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.622e-05/0.1712, allocations: 43.41 kB / 450.5 MB, free: 39.52 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002536/0.1714, allocations: 24.02 kB / 450.5 MB, free: 39.5 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001014/0.1724, allocations: 1.594 MB / 452.1 MB, free: 38.2 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.066e-05/0.1725, allocations: 79.03 kB / 452.1 MB, free: 38.13 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.698e-05/0.1725, allocations: 12.91 kB / 452.2 MB, free: 38.13 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.481e-05/0.1726, allocations: 35.73 kB / 452.2 MB, free: 38.12 MB / 410.7 MB Notification: Performance of SimCode: time 5.72e-07/0.1726, allocations: 0 / 452.2 MB, free: 38.12 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01739/0.19, allocations: 4.289 MB / 456.5 MB, free: 36.64 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.52/6.71, allocations: 7.922 kB / 456.5 MB, free: 36.63 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test31_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test31_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test31.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test31.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.634003021754324]