Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test27.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.001728/0.001728, allocations: 112.1 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.001532/0.001532, allocations: 219 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.53/1.53, 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.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.2203/0.2203, allocations: 46.91 MB / 357.8 MB, free: 10.29 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.CombiTable2Dv.Test27,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test27",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test27,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test27",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00191/0.00191, allocations: 75.88 kB / 0.4917 GB, free: 7.883 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.1348, allocations: 65.98 MB / 0.5561 GB, free: 5.777 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test27): time 0.003298/0.1381, allocations: 1.701 MB / 0.5577 GB, free: 4.066 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001148/0.1393, allocations: 0.5728 MB / 0.5583 GB, free: 3.488 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.465e-05/0.1393, allocations: 3.938 kB / 0.5583 GB, free: 3.484 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002688/0.1396, allocations: 63.78 kB / 0.5584 GB, free: 3.422 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002953/0.1399, allocations: 95.59 kB / 0.5585 GB, free: 3.328 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004505/0.1403, allocations: 182.5 kB / 0.5586 GB, free: 3.152 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001786/0.1405, allocations: 83.83 kB / 0.5587 GB, free: 3.07 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001199/0.1406, allocations: 28.08 kB / 0.5587 GB, free: 3.039 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.428e-05/0.1407, allocations: 39.91 kB / 0.5588 GB, free: 3 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001109/0.1408, allocations: 59.69 kB / 0.5588 GB, free: 2.941 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.618e-05/0.1408, allocations: 4 kB / 0.5588 GB, free: 2.938 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001102/0.1409, allocations: 47.98 kB / 0.5589 GB, free: 2.891 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.479e-05/0.141, allocations: 27.91 kB / 0.5589 GB, free: 2.863 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.042e-05/0.1411, allocations: 35.73 kB / 0.5589 GB, free: 2.828 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002196/0.1413, allocations: 119.4 kB / 0.5591 GB, free: 2.711 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1413, allocations: 0 / 0.5591 GB, free: 2.711 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1413, allocations: 4 kB / 0.5591 GB, free: 2.707 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.048e-05/0.1413, allocations: 0 / 0.5591 GB, free: 2.707 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.0006222/0.1419, allocations: 430.7 kB / 0.5595 GB, free: 2.238 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.142, allocations: 12.03 kB / 0.5595 GB, free: 2.227 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.239e-05/0.142, allocations: 192 / 0.5595 GB, free: 2.227 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.712e-05/0.142, allocations: 34.75 kB / 0.5595 GB, free: 2.184 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.979e-05/0.1421, allocations: 16.84 kB / 0.5595 GB, free: 2.168 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002306/0.1423, allocations: 203.2 kB / 0.5597 GB, free: 1.934 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.1423, allocations: 384 / 0.5597 GB, free: 1.934 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.167e-05/0.1423, allocations: 12.12 kB / 0.5597 GB, free: 1.922 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000204/0.1425, allocations: 77.59 kB / 0.5598 GB, free: 1.84 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.1426, allocations: 3.953 kB / 0.5598 GB, free: 1.836 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.847e-06/0.1426, allocations: 0 / 0.5598 GB, free: 1.836 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.1426, allocations: 0 / 0.5598 GB, free: 1.836 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001811/0.1428, allocations: 51.89 kB / 0.5599 GB, free: 1.785 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004992/0.1433, allocations: 320.7 kB / 0.5602 GB, free: 1.422 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002497/0.1435, allocations: 58.55 kB / 0.5602 GB, free: 1.355 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.671e-05/0.1436, allocations: 28.95 kB / 0.5603 GB, free: 1.324 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.99e-05/0.1436, allocations: 0 / 0.5603 GB, free: 1.324 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.31e-05/0.1436, allocations: 34.56 kB / 0.5603 GB, free: 1.281 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.032e-06/0.1436, allocations: 0 / 0.5603 GB, free: 1.281 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.001559/0.1452, allocations: 437.2 kB / 0.5607 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.881e-05/0.1452, allocations: 55.39 kB / 0.5608 GB, free: 0.7812 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002104/0.1455, allocations: 200.3 kB / 0.561 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.421e-05/0.1455, allocations: 25.7 kB / 0.561 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.519e-05/0.1456, allocations: 104.1 kB / 0.5611 GB, free: 452 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.668e-05/0.1456, allocations: 47.64 kB / 0.5611 GB, free: 404 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.114e-05/0.1457, allocations: 29.64 kB / 0.5612 GB, free: 368 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.1458, allocations: 326.8 kB / 0.5615 GB, free: 32 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001652/0.146, allocations: 51.95 kB / 0.5615 GB, free: 15.98 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000138/0.1461, allocations: 55.91 kB / 0.5616 GB, free: 15.93 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002905/0.1464, allocations: 128.8 kB / 0.5617 GB, free: 15.8 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.1464, allocations: 0 / 0.5617 GB, free: 15.8 MB / 430.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003718/0.1468, allocations: 165.8 kB / 0.5618 GB, free: 15.63 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.1468, allocations: 4 kB / 0.5619 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.1468, allocations: 0 / 0.5619 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.1468, allocations: 3.938 kB / 0.5619 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001207/0.1469, allocations: 31.97 kB / 0.5619 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.1469, allocations: 0 / 0.5619 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.089e-05/0.147, allocations: 19.92 kB / 0.5619 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.27e-05/0.147, allocations: 4 kB / 0.5619 GB, free: 15.57 MB / 430.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 (11): * Single equations (assignments): 11 * 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.000114/0.1471, allocations: 132 kB / 0.562 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.257e-05/0.1472, allocations: 15.91 kB / 0.562 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004449/0.1476, allocations: 191 kB / 0.5622 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.1476, allocations: 0 / 0.5622 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.1476, allocations: 0 / 0.5622 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.114e-06/0.1476, allocations: 4 kB / 0.5622 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007457/0.1484, allocations: 0.5038 MB / 0.5627 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/0.1484, allocations: 3.984 kB / 0.5627 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001186/0.1485, allocations: 28.16 kB / 0.5628 GB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.1485, allocations: 4 kB / 0.5628 GB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.1485, allocations: 4 kB / 0.5628 GB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.257e-06/0.1485, allocations: 11.92 kB / 0.5628 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.1485, allocations: 0 / 0.5628 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004241/0.149, allocations: 277 kB / 0.563 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.247e-05/0.149, allocations: 89.06 kB / 0.5631 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.3e-05/0.149, allocations: 3.984 kB / 0.5631 GB, free: 14.19 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.979e-05/0.1491, allocations: 8 kB / 0.5631 GB, free: 14.18 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.404e-05/0.1492, allocations: 15.98 kB / 0.5632 GB, free: 14.17 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.828e-05/0.1492, allocations: 4 kB / 0.5632 GB, free: 14.16 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000138/0.1494, allocations: 156.8 kB / 0.5633 GB, free: 14.01 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1494, allocations: 96 / 0.5633 GB, free: 14.01 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000269/0.1496, allocations: 31.86 kB / 0.5633 GB, free: 13.98 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.002517/0.1521, allocations: 1.162 MB / 0.5645 GB, free: 12.97 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003871/0.1525, allocations: 119.9 kB / 0.5646 GB, free: 12.86 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1525, allocations: 0 / 0.5646 GB, free: 12.86 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001682/0.1527, allocations: 67.89 kB / 0.5647 GB, free: 12.79 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004075/0.1531, allocations: 19.98 kB / 0.5647 GB, free: 12.77 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002702/0.1558, allocations: 1.928 MB / 0.5666 GB, free: 10.75 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003618/0.1562, allocations: 0.7158 MB / 0.5673 GB, free: 10.01 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.692e-05/0.1563, allocations: 32.53 kB / 0.5673 GB, free: 9.98 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.19e-05/0.1564, allocations: 39.42 kB / 0.5673 GB, free: 9.941 MB / 430.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1564, allocations: 0 / 0.5673 GB, free: 9.941 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01941/0.1758, allocations: 3.582 MB / 0.5708 GB, free: 6.426 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.425/8.601, allocations: 16.28 kB / 0.5708 GB, free: 6.41 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test27_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test27_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test27.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test27.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: 11.776279643992893]