Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.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.001953/0.001953, allocations: 112.2 kB / 18.49 MB, free: 4.539 MB / 14.72 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.002498/0.002498, allocations: 218.9 kB / 21.46 MB, free: 1.586 MB / 14.72 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 1.56/1.56, allocations: 230.6 MB / 254.8 MB, free: 15.21 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2392/0.2392, allocations: 44.9 MB / 355.8 MB, free: 12.31 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test5",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test5",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002179/0.002179, allocations: 59.91 kB / 0.4886 GB, free: 11.63 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1463, allocations: 65.41 MB / 0.5525 GB, free: 10.09 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test5): time 0.004143/0.1504, allocations: 1.663 MB / 0.5541 GB, free: 8.414 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001175/0.1516, allocations: 0.5494 MB / 0.5546 GB, free: 7.859 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.63e-05/0.1517, allocations: 4 kB / 0.5546 GB, free: 7.855 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006722/0.1523, allocations: 455.1 kB / 0.5551 GB, free: 7.41 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005957/0.1529, allocations: 287.3 kB / 0.5553 GB, free: 7.129 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004271/0.1534, allocations: 131.6 kB / 0.5555 GB, free: 7 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003115/0.1537, allocations: 175.6 kB / 0.5556 GB, free: 6.828 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001305/0.1538, allocations: 20.14 kB / 0.5556 GB, free: 6.809 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002379/0.154, allocations: 111.7 kB / 0.5558 GB, free: 6.699 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003713/0.1544, allocations: 251.5 kB / 0.556 GB, free: 6.453 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.093e-05/0.1544, allocations: 3.984 kB / 0.556 GB, free: 6.449 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001279/0.1546, allocations: 39.98 kB / 0.556 GB, free: 6.41 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001338/0.1547, allocations: 83.69 kB / 0.5561 GB, free: 6.328 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001112/0.1548, allocations: 99 kB / 0.5562 GB, free: 6.23 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004113/0.1552, allocations: 258.6 kB / 0.5565 GB, free: 5.977 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1552, allocations: 7.938 kB / 0.5565 GB, free: 5.969 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.1552, allocations: 0 / 0.5565 GB, free: 5.969 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.4e-05/0.1552, allocations: 0 / 0.5565 GB, free: 5.969 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0009153/0.1562, allocations: 0.6607 MB / 0.5571 GB, free: 5.258 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.273e-05/0.1562, allocations: 16.03 kB / 0.5571 GB, free: 5.242 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.732e-05/0.1562, allocations: 192 / 0.5571 GB, free: 5.242 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.015e-05/0.1563, allocations: 34.75 kB / 0.5572 GB, free: 5.199 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.694e-05/0.1564, allocations: 48.61 kB / 0.5572 GB, free: 5.152 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003438/0.1567, allocations: 304.6 kB / 0.5575 GB, free: 4.812 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.1567, allocations: 4.375 kB / 0.5575 GB, free: 4.809 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.814e-05/0.1567, allocations: 12.11 kB / 0.5575 GB, free: 4.797 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001566/0.1569, allocations: 45.69 kB / 0.5576 GB, free: 4.746 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.64e-05/0.1569, allocations: 3.938 kB / 0.5576 GB, free: 4.742 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.1569, allocations: 8 kB / 0.5576 GB, free: 4.734 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.827e-06/0.1569, allocations: 0 / 0.5576 GB, free: 4.734 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001003/0.157, allocations: 23.98 kB / 0.5576 GB, free: 4.711 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005395/0.1576, allocations: 392.7 kB / 0.558 GB, free: 4.277 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002529/0.1578, allocations: 46.5 kB / 0.558 GB, free: 4.223 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.061e-05/0.1579, allocations: 16.94 kB / 0.558 GB, free: 4.203 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.201e-05/0.1579, allocations: 0 / 0.558 GB, free: 4.203 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.84e-05/0.1579, allocations: 34.56 kB / 0.5581 GB, free: 4.16 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.1579, allocations: 0 / 0.5581 GB, free: 4.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.00069/0.1586, allocations: 240.6 kB / 0.5583 GB, free: 3.918 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.488e-05/0.1587, allocations: 55.41 kB / 0.5583 GB, free: 3.852 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001011/0.1597, allocations: 0.8776 MB / 0.5592 GB, free: 2.961 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.2e-05/0.1597, allocations: 29.7 kB / 0.5592 GB, free: 2.926 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001946/0.1599, allocations: 220.1 kB / 0.5594 GB, free: 2.707 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.747e-05/0.1599, allocations: 11.91 kB / 0.5594 GB, free: 2.695 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.674e-05/0.16, allocations: 21.7 kB / 0.5595 GB, free: 2.668 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001925/0.1602, allocations: 362.7 kB / 0.5598 GB, free: 2.305 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.878e-05/0.1602, allocations: 15.98 kB / 0.5598 GB, free: 2.289 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.024e-05/0.1603, allocations: 23.98 kB / 0.5598 GB, free: 2.266 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001455/0.1605, allocations: 48.83 kB / 0.5599 GB, free: 2.215 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.1605, allocations: 0 / 0.5599 GB, free: 2.215 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002415/0.1607, allocations: 121.2 kB / 0.56 GB, free: 2.09 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.1607, allocations: 11.98 kB / 0.56 GB, free: 2.078 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.1607, allocations: 0 / 0.56 GB, free: 2.078 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.1607, allocations: 0 / 0.56 GB, free: 2.078 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.011e-05/0.1608, allocations: 12 kB / 0.56 GB, free: 2.066 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/0.1608, allocations: 7.938 kB / 0.56 GB, free: 2.059 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.021e-05/0.1609, allocations: 8.234 kB / 0.56 GB, free: 2.051 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.024e-06/0.1609, allocations: 4 kB / 0.5601 GB, free: 2.047 MB / 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 0.0002023/0.1611, allocations: 208 kB / 0.5602 GB, free: 1.836 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.159e-05/0.1612, allocations: 47.7 kB / 0.5603 GB, free: 1.789 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003353/0.1615, allocations: 141.1 kB / 0.5604 GB, free: 1.641 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.1615, allocations: 0 / 0.5604 GB, free: 1.641 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.1615, allocations: 7.938 kB / 0.5604 GB, free: 1.633 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.1615, allocations: 0 / 0.5604 GB, free: 1.633 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005922/0.1621, allocations: 458.5 kB / 0.5609 GB, free: 1.129 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-06/0.1621, allocations: 3.938 kB / 0.5609 GB, free: 1.125 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.101e-05/0.1622, allocations: 11.98 kB / 0.5609 GB, free: 1.113 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.102e-06/0.1622, allocations: 7.938 kB / 0.5609 GB, free: 1.105 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.276e-06/0.1622, allocations: 4 kB / 0.5609 GB, free: 1.102 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1622, allocations: 0 / 0.5609 GB, free: 1.102 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1622, allocations: 0 / 0.5609 GB, free: 1.102 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002797/0.1625, allocations: 215.2 kB / 0.5611 GB, free: 0.875 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.136e-05/0.1626, allocations: 112.8 kB / 0.5612 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.018e-05/0.1626, allocations: 3.938 kB / 0.5612 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.1627, allocations: 15.98 kB / 0.5612 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.209e-05/0.1627, allocations: 0 / 0.5612 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/0.1627, allocations: 4 kB / 0.5612 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006703/0.1634, allocations: 0.6589 MB / 0.5619 GB, free: 68 kB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1634, allocations: 0 / 0.5619 GB, free: 68 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002766/0.1637, allocations: 23.88 kB / 0.5619 GB, free: 44 kB / 414.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.002146/0.1658, allocations: 1.069 MB / 0.5629 GB, free: 15.11 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002409/0.1661, allocations: 47.91 kB / 0.563 GB, free: 15.06 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.1661, allocations: 0 / 0.563 GB, free: 15.06 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.514e-05/0.1662, allocations: 19.98 kB / 0.563 GB, free: 15.04 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004493/0.1666, allocations: 30.09 kB / 0.563 GB, free: 15.02 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004388/0.171, allocations: 3.244 MB / 0.5662 GB, free: 11.68 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005293/0.1715, allocations: 0.826 MB / 0.567 GB, free: 10.82 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.703e-05/0.1716, allocations: 4.25 kB / 0.567 GB, free: 10.82 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001504/0.1717, allocations: 115.3 kB / 0.5671 GB, free: 10.71 MB / 430.1 MB Notification: Performance of SimCode: time 9.71e-07/0.1717, allocations: 0 / 0.5671 GB, free: 10.71 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02508/0.1968, allocations: 6.131 MB / 0.5731 GB, free: 4.645 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.931/9.128, allocations: 11.3 kB / 0.5731 GB, free: 4.637 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test5_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test5.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.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: 12.576366666995455]