Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.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.001329/0.001329, allocations: 121 kB / 18.5 MB, free: 4.562 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.001373/0.001373, allocations: 213.5 kB / 21.45 MB, free: 1.617 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.556/1.556, allocations: 230.6 MB / 254.8 MB, free: 15.09 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.2211/0.2211, allocations: 44.91 MB / 355.8 MB, free: 12.32 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.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test1",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.002064/0.002064, allocations: 65.92 kB / 0.4886 GB, free: 11.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.151/0.1531, allocations: 65.42 MB / 0.5525 GB, free: 10.11 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.00365/0.1568, allocations: 1.668 MB / 0.5541 GB, free: 8.426 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001183/0.1579, allocations: 0.5689 MB / 0.5547 GB, free: 7.852 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.074e-05/0.158, allocations: 0 / 0.5547 GB, free: 7.852 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000623/0.1586, allocations: 455.1 kB / 0.5551 GB, free: 7.406 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005271/0.1592, allocations: 295.3 kB / 0.5554 GB, free: 7.117 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003869/0.1595, allocations: 127.6 kB / 0.5555 GB, free: 6.992 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002732/0.1598, allocations: 175.6 kB / 0.5557 GB, free: 6.82 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.1599, allocations: 20.19 kB / 0.5557 GB, free: 6.801 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001385/0.1601, allocations: 115.7 kB / 0.5558 GB, free: 6.688 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002939/0.1604, allocations: 247.5 kB / 0.556 GB, free: 6.445 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.896e-05/0.1604, allocations: 4 kB / 0.556 GB, free: 6.441 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001205/0.1605, allocations: 55.97 kB / 0.5561 GB, free: 6.387 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001271/0.1606, allocations: 87.58 kB / 0.5562 GB, free: 6.301 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001009/0.1607, allocations: 111 kB / 0.5563 GB, free: 6.191 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004024/0.1611, allocations: 278.5 kB / 0.5565 GB, free: 5.918 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1611, allocations: 0 / 0.5565 GB, free: 5.918 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1611, allocations: 0 / 0.5565 GB, free: 5.918 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.745e-06/0.1612, allocations: 7.938 kB / 0.5565 GB, free: 5.91 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0009082/0.1621, allocations: 0.6645 MB / 0.5572 GB, free: 5.195 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.1621, allocations: 8.031 kB / 0.5572 GB, free: 5.188 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.979e-05/0.1621, allocations: 4.188 kB / 0.5572 GB, free: 5.184 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.482e-05/0.1622, allocations: 38.75 kB / 0.5572 GB, free: 5.137 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.443e-05/0.1622, allocations: 40.66 kB / 0.5573 GB, free: 5.098 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003463/0.1626, allocations: 312.5 kB / 0.5576 GB, free: 4.75 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.926e-05/0.1626, allocations: 8.375 kB / 0.5576 GB, free: 4.742 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.331e-05/0.1626, allocations: 8.125 kB / 0.5576 GB, free: 4.734 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001653/0.1628, allocations: 53.69 kB / 0.5576 GB, free: 4.676 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/0.1628, allocations: 0 / 0.5576 GB, free: 4.676 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.1628, allocations: 0 / 0.5576 GB, free: 4.676 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.1628, allocations: 4 kB / 0.5576 GB, free: 4.672 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001226/0.1629, allocations: 35.91 kB / 0.5577 GB, free: 4.637 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000768/0.1637, allocations: 400.6 kB / 0.5581 GB, free: 4.195 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001352/0.1638, allocations: 46.58 kB / 0.5581 GB, free: 4.141 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.811e-05/0.1639, allocations: 20.94 kB / 0.5581 GB, free: 4.117 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.121e-05/0.1639, allocations: 0 / 0.5581 GB, free: 4.117 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.882e-05/0.164, allocations: 38.56 kB / 0.5582 GB, free: 4.07 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.443e-06/0.164, allocations: 0 / 0.5582 GB, free: 4.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.001139/0.1651, allocations: 316.5 kB / 0.5585 GB, free: 3.754 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.491e-05/0.1652, allocations: 59.39 kB / 0.5585 GB, free: 3.684 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001102/0.1663, allocations: 0.8815 MB / 0.5594 GB, free: 2.789 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.652e-05/0.1663, allocations: 25.7 kB / 0.5594 GB, free: 2.758 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002267/0.1665, allocations: 224.1 kB / 0.5596 GB, free: 2.535 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.965e-05/0.1666, allocations: 27.73 kB / 0.5596 GB, free: 2.508 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.661e-05/0.1666, allocations: 21.72 kB / 0.5597 GB, free: 2.48 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002015/0.1668, allocations: 362.8 kB / 0.56 GB, free: 2.117 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.952e-05/0.1669, allocations: 31.92 kB / 0.56 GB, free: 2.086 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.204e-05/0.167, allocations: 23.98 kB / 0.5601 GB, free: 2.062 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001641/0.1671, allocations: 64.83 kB / 0.5601 GB, free: 1.996 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.1671, allocations: 0 / 0.5601 GB, free: 1.996 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002611/0.1674, allocations: 129.4 kB / 0.5603 GB, free: 1.863 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.1674, allocations: 4 kB / 0.5603 GB, free: 1.859 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.82e-06/0.1674, allocations: 0 / 0.5603 GB, free: 1.859 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.11e-05/0.1674, allocations: 11.94 kB / 0.5603 GB, free: 1.848 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001129/0.1675, allocations: 23.86 kB / 0.5603 GB, free: 1.824 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.1676, allocations: 0 / 0.5603 GB, free: 1.824 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.531e-05/0.1676, allocations: 8 kB / 0.5603 GB, free: 1.816 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/0.1676, allocations: 4 kB / 0.5603 GB, free: 1.812 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 (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.000216/0.1679, allocations: 216 kB / 0.5605 GB, free: 1.594 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.62e-05/0.1679, allocations: 47.67 kB / 0.5606 GB, free: 1.547 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003602/0.1683, allocations: 161.8 kB / 0.5607 GB, free: 1.375 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.976e-06/0.1683, allocations: 7.938 kB / 0.5607 GB, free: 1.367 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.1683, allocations: 0 / 0.5607 GB, free: 1.367 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.1683, allocations: 0 / 0.5607 GB, free: 1.367 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007245/0.169, allocations: 0.5108 MB / 0.5612 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.169, allocations: 0 / 0.5612 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.368e-05/0.1691, allocations: 28.02 kB / 0.5612 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/0.1691, allocations: 0 / 0.5612 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.817e-06/0.1691, allocations: 0 / 0.5612 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.1691, allocations: 4 kB / 0.5612 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.1691, allocations: 0 / 0.5612 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003331/0.1695, allocations: 252 kB / 0.5615 GB, free: 0.5 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.205e-05/0.1696, allocations: 116.8 kB / 0.5616 GB, free: 376 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.672e-05/0.1696, allocations: 0 / 0.5616 GB, free: 376 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.241e-05/0.1697, allocations: 8 kB / 0.5616 GB, free: 368 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.062e-05/0.1697, allocations: 11.92 kB / 0.5616 GB, free: 356 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.1697, allocations: 4 kB / 0.5616 GB, free: 352 kB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007137/0.1704, allocations: 0.6589 MB / 0.5623 GB, free: 15.69 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1704, allocations: 0 / 0.5623 GB, free: 15.69 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002839/0.1707, allocations: 31.94 kB / 0.5623 GB, free: 15.66 MB / 430.1 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.002303/0.173, allocations: 1.128 MB / 0.5634 GB, free: 14.69 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000261/0.1733, allocations: 67.94 kB / 0.5635 GB, free: 14.62 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1733, allocations: 0 / 0.5635 GB, free: 14.62 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.83e-05/0.1734, allocations: 31.92 kB / 0.5635 GB, free: 14.59 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004316/0.1738, allocations: 30.23 kB / 0.5635 GB, free: 14.57 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004799/0.1786, allocations: 3.337 MB / 0.5668 GB, free: 11.14 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008347/0.1795, allocations: 0.826 MB / 0.5676 GB, free: 10.28 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.704e-05/0.1795, allocations: 16.42 kB / 0.5676 GB, free: 10.27 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001688/0.1797, allocations: 111.3 kB / 0.5677 GB, free: 10.16 MB / 430.1 MB Notification: Performance of SimCode: time 1.032e-06/0.1797, allocations: 0 / 0.5677 GB, free: 10.16 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02577/0.2055, allocations: 6.459 MB / 0.574 GB, free: 3.754 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.921/9.126, allocations: 4 kB / 0.574 GB, free: 3.75 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test1_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test1.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.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.475021786987782]