Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.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.001383/0.001383, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.001496/0.001496, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.528/1.528, allocations: 230.6 MB / 254.1 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] 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.2282/0.2282, allocations: 46.92 MB / 357.1 MB, free: 10.32 MB / 286.1 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.OneSidedDerivative2D,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_OneSidedDerivative2D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_OneSidedDerivative2D",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002121/0.002121, allocations: 63.89 kB / 0.4909 GB, free: 7.965 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1261, allocations: 65.99 MB / 0.5554 GB, free: 5.844 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D): time 0.003905/0.13, allocations: 2.025 MB / 0.5574 GB, free: 3.805 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001801/0.1318, allocations: 0.8028 MB / 0.5581 GB, free: 2.996 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000197/0.132, allocations: 4 kB / 0.5582 GB, free: 2.992 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005421/0.1325, allocations: 179.4 kB / 0.5583 GB, free: 2.816 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006434/0.1331, allocations: 211.2 kB / 0.5585 GB, free: 2.609 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001073/0.1342, allocations: 418.1 kB / 0.5589 GB, free: 2.211 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005172/0.1347, allocations: 307 kB / 0.5592 GB, free: 1.91 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001696/0.1349, allocations: 48.7 kB / 0.5593 GB, free: 1.863 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002266/0.1351, allocations: 127.5 kB / 0.5594 GB, free: 1.738 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002674/0.1354, allocations: 179.3 kB / 0.5596 GB, free: 1.562 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.089e-05/0.1354, allocations: 12 kB / 0.5596 GB, free: 1.551 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001298/0.1356, allocations: 43.98 kB / 0.5596 GB, free: 1.508 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002019/0.1358, allocations: 179.4 kB / 0.5598 GB, free: 1.332 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000199/0.136, allocations: 194.4 kB / 0.56 GB, free: 1.141 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005482/0.1365, allocations: 441.8 kB / 0.5604 GB, free: 0.707 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.1365, allocations: 0 / 0.5604 GB, free: 0.707 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1365, allocations: 3.938 kB / 0.5604 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.978e-05/0.1365, allocations: 0 / 0.5604 GB, free: 0.7031 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.001439/0.138, allocations: 0.8976 MB / 0.5613 GB, free: 15.75 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.138, allocations: 12.03 kB / 0.5613 GB, free: 15.74 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.373e-05/0.1381, allocations: 38.75 kB / 0.5613 GB, free: 15.7 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001327/0.1382, allocations: 68.52 kB / 0.5614 GB, free: 15.63 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007552/0.139, allocations: 0.5204 MB / 0.5619 GB, free: 15.07 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.701e-05/0.139, allocations: 12.31 kB / 0.5619 GB, free: 15.05 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.91e-05/0.139, allocations: 16.33 kB / 0.5619 GB, free: 15.04 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004812/0.1395, allocations: 158.7 kB / 0.5621 GB, free: 14.88 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.655e-05/0.1395, allocations: 0 / 0.5621 GB, free: 14.88 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.629e-05/0.1395, allocations: 8 kB / 0.5621 GB, free: 14.87 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-06/0.1395, allocations: 0 / 0.5621 GB, free: 14.87 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005482/0.1401, allocations: 135.8 kB / 0.5622 GB, free: 14.73 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001172/0.1413, allocations: 0.7465 MB / 0.5629 GB, free: 13.93 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004253/0.1417, allocations: 129.3 kB / 0.5631 GB, free: 13.79 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002677/0.142, allocations: 81.72 kB / 0.5631 GB, free: 13.7 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.114e-05/0.142, allocations: 3.938 kB / 0.5631 GB, free: 13.7 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.113e-05/0.142, allocations: 38.56 kB / 0.5632 GB, free: 13.65 MB / 430.1 MB Notification: Performance of pre-optimization done (n=11): time 1.563e-06/0.142, allocations: 0 / 0.5632 GB, free: 13.65 MB / 430.1 MB Notification: Performance of matching and sorting (n=18): time 0.003008/0.145, allocations: 0.8312 MB / 0.564 GB, free: 12.81 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.895e-05/0.1451, allocations: 81.11 kB / 0.5641 GB, free: 12.71 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00152/0.1466, allocations: 1.074 MB / 0.5651 GB, free: 11.63 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.606e-05/0.1466, allocations: 25.7 kB / 0.5651 GB, free: 11.6 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002639/0.1469, allocations: 296.3 kB / 0.5654 GB, free: 11.3 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.498e-05/0.147, allocations: 55.55 kB / 0.5655 GB, free: 11.25 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.971e-05/0.147, allocations: 37.7 kB / 0.5655 GB, free: 11.2 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.1472, allocations: 306 kB / 0.5658 GB, free: 10.9 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004874/0.1477, allocations: 119.9 kB / 0.5659 GB, free: 10.78 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004971/0.1482, allocations: 147.4 kB / 0.5661 GB, free: 10.63 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009665/0.1491, allocations: 257.5 kB / 0.5663 GB, free: 10.38 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.1491, allocations: 3.938 kB / 0.5663 GB, free: 10.37 MB / 430.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001148/0.1503, allocations: 357 kB / 0.5666 GB, free: 10.02 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.1503, allocations: 4 kB / 0.5666 GB, free: 10.01 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.1503, allocations: 3.938 kB / 0.5667 GB, free: 10.01 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.071e-05/0.1503, allocations: 4 kB / 0.5667 GB, free: 10 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003649/0.1507, allocations: 67.92 kB / 0.5667 GB, free: 9.938 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.1507, allocations: 160 / 0.5667 GB, free: 9.938 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002875/0.151, allocations: 39.89 kB / 0.5668 GB, free: 9.898 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.942e-05/0.151, allocations: 8 kB / 0.5668 GB, free: 9.891 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (18): * Single equations (assignments): 18 * 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.0002649/0.1513, allocations: 229.6 kB / 0.567 GB, free: 9.656 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001373/0.1514, allocations: 67.53 kB / 0.567 GB, free: 9.59 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001258/0.1527, allocations: 406.7 kB / 0.5674 GB, free: 9.184 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/0.1527, allocations: 4 kB / 0.5674 GB, free: 9.18 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.1527, allocations: 0 / 0.5674 GB, free: 9.18 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.197e-06/0.1527, allocations: 0 / 0.5674 GB, free: 9.18 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001899/0.1546, allocations: 0.9619 MB / 0.5684 GB, free: 8.16 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.1546, allocations: 0 / 0.5684 GB, free: 8.16 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003135/0.1549, allocations: 63.92 kB / 0.5684 GB, free: 8.098 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.1549, allocations: 4 kB / 0.5684 GB, free: 8.094 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.884e-05/0.1549, allocations: 8 kB / 0.5685 GB, free: 8.086 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.1549, allocations: 3.938 kB / 0.5685 GB, free: 8.082 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.1549, allocations: 3.938 kB / 0.5685 GB, free: 8.078 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001244/0.1562, allocations: 0.5199 MB / 0.569 GB, free: 7.543 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000205/0.1564, allocations: 168.6 kB / 0.5691 GB, free: 7.359 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.448e-05/0.1564, allocations: 8 kB / 0.5691 GB, free: 7.352 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003356/0.1568, allocations: 39.95 kB / 0.5692 GB, free: 7.312 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.983e-05/0.1569, allocations: 23.91 kB / 0.5692 GB, free: 7.289 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.634e-05/0.1569, allocations: 4.375 kB / 0.5692 GB, free: 7.285 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001121/0.158, allocations: 0.7919 MB / 0.57 GB, free: 6.5 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.158, allocations: 0 / 0.57 GB, free: 6.5 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004097/0.1584, allocations: 67.94 kB / 0.57 GB, free: 6.434 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 (18): * Single equations (assignments): 18 * 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.003038/0.1615, allocations: 1.365 MB / 0.5714 GB, free: 5.199 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00109/0.1626, allocations: 275.6 kB / 0.5716 GB, free: 4.93 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.1626, allocations: 0 / 0.5716 GB, free: 4.93 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005183/0.1631, allocations: 139.8 kB / 0.5718 GB, free: 4.793 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008069/0.1639, allocations: 90.53 kB / 0.5719 GB, free: 4.707 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009856/0.1737, allocations: 6.062 MB / 0.5778 GB, free: 14.55 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005756/0.1743, allocations: 0.8816 MB / 0.5786 GB, free: 13.64 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002163/0.1745, allocations: 107.5 kB / 0.5787 GB, free: 13.54 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002854/0.1748, allocations: 187.4 kB / 0.5789 GB, free: 13.35 MB / 446.1 MB Notification: Performance of SimCode: time 7.51e-07/0.1748, allocations: 0 / 0.5789 GB, free: 13.35 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03834/0.2132, allocations: 11.58 MB / 0.5902 GB, free: 1.848 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.159/9.373, allocations: 11.16 kB / 0.5902 GB, free: 1.84 MB / 446.1 MB " [Timeout remaining time 650] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_OneSidedDerivative2D_fmu --startTime=-1 --stopTime=4 --stepSize=0.0009994 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_OneSidedDerivative2D.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/OneSidedDerivative2D/OneSidedDerivative2D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.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.785299259005114]