Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.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.00179/0.00179, allocations: 120.1 kB / 18.49 MB, free: 4.586 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.002202/0.002202, allocations: 215 kB / 21.45 MB, free: 1.641 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.589/1.589, 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.2362/0.2362, allocations: 44.9 MB / 355.8 MB, free: 12.34 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.CombiTable2Dv.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test6",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test6",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.001962/0.001962, allocations: 63.91 kB / 0.4886 GB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.133, allocations: 65.42 MB / 0.5525 GB, free: 10.13 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.003391/0.1364, allocations: 1.675 MB / 0.5541 GB, free: 8.445 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001186/0.1376, allocations: 0.5845 MB / 0.5547 GB, free: 7.855 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.629e-05/0.1377, allocations: 0 / 0.5547 GB, free: 7.855 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007846/0.1385, allocations: 459.1 kB / 0.5551 GB, free: 7.406 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005582/0.139, allocations: 291.3 kB / 0.5554 GB, free: 7.121 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005138/0.1396, allocations: 175.5 kB / 0.5555 GB, free: 6.953 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000303/0.1399, allocations: 187.5 kB / 0.5557 GB, free: 6.77 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001297/0.14, allocations: 20.2 kB / 0.5557 GB, free: 6.75 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001539/0.1401, allocations: 111.7 kB / 0.5558 GB, free: 6.641 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003262/0.1405, allocations: 251.5 kB / 0.5561 GB, free: 6.395 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.08e-05/0.1405, allocations: 8 kB / 0.5561 GB, free: 6.387 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.285e-05/0.1406, allocations: 31.92 kB / 0.5561 GB, free: 6.355 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001181/0.1407, allocations: 87.67 kB / 0.5562 GB, free: 6.27 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001147/0.1408, allocations: 110.9 kB / 0.5563 GB, free: 6.16 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003595/0.1412, allocations: 266.6 kB / 0.5566 GB, free: 5.898 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1412, allocations: 0 / 0.5566 GB, free: 5.898 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1412, allocations: 0 / 0.5566 GB, free: 5.898 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.02e-05/0.1412, allocations: 3.938 kB / 0.5566 GB, free: 5.895 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.0008584/0.142, allocations: 0.6724 MB / 0.5572 GB, free: 5.172 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.1421, allocations: 16.03 kB / 0.5572 GB, free: 5.156 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.146e-05/0.1421, allocations: 192 / 0.5572 GB, free: 5.156 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.533e-05/0.1421, allocations: 34.69 kB / 0.5573 GB, free: 5.113 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.345e-05/0.1422, allocations: 44.66 kB / 0.5573 GB, free: 5.07 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003281/0.1425, allocations: 308.6 kB / 0.5576 GB, free: 4.727 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.1425, allocations: 8.375 kB / 0.5576 GB, free: 4.719 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.537e-05/0.1426, allocations: 8.125 kB / 0.5576 GB, free: 4.711 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001829/0.1427, allocations: 57.67 kB / 0.5577 GB, free: 4.648 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.1428, allocations: 0 / 0.5577 GB, free: 4.648 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.257e-06/0.1428, allocations: 4 kB / 0.5577 GB, free: 4.645 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.1428, allocations: 4 kB / 0.5577 GB, free: 4.641 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001492/0.1429, allocations: 43.89 kB / 0.5577 GB, free: 4.598 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000582/0.1435, allocations: 408.7 kB / 0.5581 GB, free: 4.148 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001572/0.1437, allocations: 46.56 kB / 0.5582 GB, free: 4.094 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001148/0.1438, allocations: 28.92 kB / 0.5582 GB, free: 4.062 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.664e-05/0.1438, allocations: 3.938 kB / 0.5582 GB, free: 4.059 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.086e-05/0.1438, allocations: 34.56 kB / 0.5582 GB, free: 4.016 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.312e-06/0.1438, allocations: 0 / 0.5582 GB, free: 4.016 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.001121/0.145, allocations: 328.7 kB / 0.5585 GB, free: 3.688 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.821e-05/0.145, allocations: 55.34 kB / 0.5586 GB, free: 3.621 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009585/0.146, allocations: 0.8776 MB / 0.5595 GB, free: 2.73 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.077e-05/0.146, allocations: 25.7 kB / 0.5595 GB, free: 2.699 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000196/0.1462, allocations: 220 kB / 0.5597 GB, free: 2.48 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.471e-05/0.1462, allocations: 23.78 kB / 0.5597 GB, free: 2.457 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.877e-05/0.1463, allocations: 29.66 kB / 0.5597 GB, free: 2.422 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001997/0.1465, allocations: 362.8 kB / 0.5601 GB, free: 2.059 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001319/0.1466, allocations: 35.97 kB / 0.5601 GB, free: 2.023 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000128/0.1467, allocations: 35.97 kB / 0.5602 GB, free: 1.988 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002478/0.147, allocations: 88.8 kB / 0.5602 GB, free: 1.898 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.147, allocations: 4 kB / 0.5602 GB, free: 1.895 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003585/0.1474, allocations: 161.3 kB / 0.5604 GB, free: 1.73 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.1474, allocations: 9.969 kB / 0.5604 GB, free: 1.723 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.1474, allocations: 0 / 0.5604 GB, free: 1.723 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.1474, allocations: 4 kB / 0.5604 GB, free: 1.719 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001328/0.1475, allocations: 15.98 kB / 0.5604 GB, free: 1.703 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.425e-05/0.1475, allocations: 15.92 kB / 0.5604 GB, free: 1.688 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.156e-05/0.1476, allocations: 8 kB / 0.5604 GB, free: 1.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.778e-06/0.1476, allocations: 4 kB / 0.5605 GB, free: 1.676 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 (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 0.0002272/0.1479, allocations: 216 kB / 0.5607 GB, free: 1.457 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.621e-05/0.1479, allocations: 43.72 kB / 0.5607 GB, free: 1.414 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004618/0.1484, allocations: 189.8 kB / 0.5609 GB, free: 1.215 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.1484, allocations: 4 kB / 0.5609 GB, free: 1.211 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.1484, allocations: 3.938 kB / 0.5609 GB, free: 1.207 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.1484, allocations: 0 / 0.5609 GB, free: 1.207 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007597/0.1492, allocations: 0.5023 MB / 0.5614 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1492, allocations: 0 / 0.5614 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000102/0.1493, allocations: 23.98 kB / 0.5614 GB, free: 0.625 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.095e-06/0.1493, allocations: 11.86 kB / 0.5614 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.1493, allocations: 4 kB / 0.5614 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1493, allocations: 0 / 0.5614 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1493, allocations: 0 / 0.5614 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000459/0.1498, allocations: 255.2 kB / 0.5617 GB, free: 352 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.674e-05/0.1498, allocations: 116.8 kB / 0.5618 GB, free: 216 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.145e-05/0.1499, allocations: 7.938 kB / 0.5618 GB, free: 208 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.15, allocations: 7.984 kB / 0.5618 GB, free: 200 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.585e-05/0.15, allocations: 11.98 kB / 0.5618 GB, free: 188 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.874e-06/0.15, allocations: 7.938 kB / 0.5618 GB, free: 180 kB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007451/0.1508, allocations: 0.6628 MB / 0.5625 GB, free: 15.52 MB / 430.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1508, allocations: 0 / 0.5625 GB, free: 15.52 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002678/0.151, allocations: 23.94 kB / 0.5625 GB, free: 15.49 MB / 430.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 (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.002163/0.1532, allocations: 1.092 MB / 0.5635 GB, free: 14.54 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003631/0.1536, allocations: 91.92 kB / 0.5636 GB, free: 14.45 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.1536, allocations: 0 / 0.5636 GB, free: 14.45 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001408/0.1537, allocations: 47.91 kB / 0.5637 GB, free: 14.4 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004234/0.1541, allocations: 34.45 kB / 0.5637 GB, free: 14.37 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004324/0.1585, allocations: 3.374 MB / 0.567 GB, free: 10.91 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000534/0.159, allocations: 0.8299 MB / 0.5678 GB, free: 10.05 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.869e-05/0.1591, allocations: 29.03 kB / 0.5678 GB, free: 10.02 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001661/0.1593, allocations: 127.3 kB / 0.568 GB, free: 9.895 MB / 430.1 MB Notification: Performance of SimCode: time 8.81e-07/0.1593, allocations: 0 / 0.568 GB, free: 9.895 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02447/0.1837, allocations: 6.328 MB / 0.5741 GB, free: 3.625 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.966/9.149, allocations: 8.062 kB / 0.5742 GB, free: 3.617 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test6_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test6.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.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.469546197971795]