Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test31.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.002112/0.002112, allocations: 114.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.001709/0.001709, allocations: 215.1 kB / 21.45 MB, free: 1.59 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.488/1.488, allocations: 230.6 MB / 254.8 MB, free: 15.07 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.2285/0.2285, allocations: 46.92 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.CombiTable2Ds.Test31,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test31",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test31,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test31",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002011/0.002011, allocations: 67.89 kB / 0.4916 GB, free: 7.895 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.1367, allocations: 65.98 MB / 0.5561 GB, free: 5.785 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test31): time 0.003295/0.14, allocations: 1.664 MB / 0.5577 GB, free: 4.109 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001819/0.1418, allocations: 1.187 MB / 0.5589 GB, free: 2.914 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.891e-05/0.1419, allocations: 4 kB / 0.5589 GB, free: 2.91 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002029/0.1421, allocations: 23.84 kB / 0.5589 GB, free: 2.887 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003327/0.1424, allocations: 87.56 kB / 0.559 GB, free: 2.801 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003645/0.1428, allocations: 135.4 kB / 0.5591 GB, free: 2.672 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000173/0.1429, allocations: 67.83 kB / 0.5592 GB, free: 2.605 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.143, allocations: 11.98 kB / 0.5592 GB, free: 2.594 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.808e-05/0.1431, allocations: 35.8 kB / 0.5592 GB, free: 2.559 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001645/0.1433, allocations: 39.83 kB / 0.5593 GB, free: 2.52 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.862e-05/0.1433, allocations: 7.938 kB / 0.5593 GB, free: 2.512 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002071/0.1435, allocations: 107.9 kB / 0.5594 GB, free: 2.406 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.083e-05/0.1436, allocations: 19.86 kB / 0.5594 GB, free: 2.387 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.104e-05/0.1436, allocations: 27.8 kB / 0.5594 GB, free: 2.359 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003334/0.1439, allocations: 155.5 kB / 0.5596 GB, free: 2.207 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.1439, allocations: 0 / 0.5596 GB, free: 2.207 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.144, allocations: 0 / 0.5596 GB, free: 2.207 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.662e-06/0.144, allocations: 0 / 0.5596 GB, free: 2.207 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.0006437/0.1446, allocations: 422.7 kB / 0.56 GB, free: 1.746 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.1446, allocations: 12.03 kB / 0.56 GB, free: 1.734 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.313e-05/0.1447, allocations: 4.188 kB / 0.56 GB, free: 1.73 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.301e-05/0.1447, allocations: 34.69 kB / 0.56 GB, free: 1.688 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.103e-05/0.1447, allocations: 12.89 kB / 0.56 GB, free: 1.676 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002572/0.145, allocations: 196.2 kB / 0.5602 GB, free: 1.445 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.75e-06/0.145, allocations: 384 / 0.5602 GB, free: 1.445 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.921e-05/0.145, allocations: 12.08 kB / 0.5602 GB, free: 1.434 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001889/0.1452, allocations: 79.31 kB / 0.5603 GB, free: 1.344 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.1452, allocations: 4 kB / 0.5603 GB, free: 1.34 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.827e-06/0.1452, allocations: 0 / 0.5603 GB, free: 1.34 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.1452, allocations: 0 / 0.5603 GB, free: 1.34 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000139/0.1454, allocations: 39.91 kB / 0.5603 GB, free: 1.301 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004095/0.1458, allocations: 292.8 kB / 0.5606 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001315/0.1459, allocations: 38.56 kB / 0.5607 GB, free: 0.918 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.466e-05/0.146, allocations: 24.94 kB / 0.5607 GB, free: 0.8906 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.146, allocations: 0 / 0.5607 GB, free: 0.8906 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.916e-05/0.1461, allocations: 38.5 kB / 0.5607 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.1461, allocations: 0 / 0.5607 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008744/0.1469, allocations: 221.3 kB / 0.5609 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.146e-05/0.147, allocations: 81.11 kB / 0.561 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001921/0.1472, allocations: 147.5 kB / 0.5611 GB, free: 376 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.32e-05/0.1472, allocations: 33.7 kB / 0.5612 GB, free: 336 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.422e-05/0.1473, allocations: 96.12 kB / 0.5613 GB, free: 236 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.334e-05/0.1473, allocations: 23.75 kB / 0.5613 GB, free: 212 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.999e-05/0.1474, allocations: 29.7 kB / 0.5613 GB, free: 176 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001842/0.1475, allocations: 318.8 kB / 0.5616 GB, free: 15.85 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001264/0.1477, allocations: 31.97 kB / 0.5617 GB, free: 15.82 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000128/0.1478, allocations: 49.75 kB / 0.5617 GB, free: 15.77 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002279/0.148, allocations: 72.84 kB / 0.5618 GB, free: 15.69 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.81e-07/0.148, allocations: 0 / 0.5618 GB, free: 15.69 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003247/0.1484, allocations: 121.5 kB / 0.5619 GB, free: 15.57 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.456e-05/0.1484, allocations: 4 kB / 0.5619 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.1484, allocations: 0 / 0.5619 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.94e-05/0.1484, allocations: 3.938 kB / 0.5619 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001344/0.1485, allocations: 31.97 kB / 0.5619 GB, free: 15.53 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.1485, allocations: 3.938 kB / 0.5619 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.801e-05/0.1486, allocations: 8 kB / 0.5619 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-06/0.1486, allocations: 0 / 0.5619 GB, free: 15.52 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 (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.0001063/0.1487, allocations: 120 kB / 0.5621 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.003e-05/0.1488, allocations: 7.953 kB / 0.5621 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003693/0.1491, allocations: 130.3 kB / 0.5622 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.1491, allocations: 0 / 0.5622 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.1492, allocations: 3.938 kB / 0.5622 GB, free: 15.24 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.1492, allocations: 3.938 kB / 0.5622 GB, free: 15.24 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006027/0.1498, allocations: 398.5 kB / 0.5626 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.1498, allocations: 0 / 0.5626 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.602e-05/0.1499, allocations: 27.92 kB / 0.5626 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.059e-06/0.1499, allocations: 4.219 kB / 0.5626 GB, free: 14.76 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/0.1499, allocations: 0 / 0.5626 GB, free: 14.76 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.1499, allocations: 0 / 0.5626 GB, free: 14.76 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1499, allocations: 0 / 0.5626 GB, free: 14.76 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003576/0.1502, allocations: 211.8 kB / 0.5628 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.086e-05/0.1503, allocations: 93.05 kB / 0.5629 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.201e-05/0.1503, allocations: 3.938 kB / 0.5629 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.1504, allocations: 11.98 kB / 0.5629 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.909e-05/0.1505, allocations: 7.984 kB / 0.5629 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.524e-06/0.1505, allocations: 4 kB / 0.5629 GB, free: 14.4 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001108/0.1506, allocations: 120.9 kB / 0.563 GB, free: 14.29 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1506, allocations: 0 / 0.563 GB, free: 14.29 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003065/0.1509, allocations: 39.88 kB / 0.5631 GB, free: 14.25 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.002411/0.1533, allocations: 1.145 MB / 0.5642 GB, free: 13.27 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003252/0.1536, allocations: 83.86 kB / 0.5643 GB, free: 13.19 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.1536, allocations: 4 kB / 0.5643 GB, free: 13.18 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001266/0.1538, allocations: 35.97 kB / 0.5643 GB, free: 13.15 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003562/0.1541, allocations: 12 kB / 0.5643 GB, free: 13.14 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002353/0.1565, allocations: 1.597 MB / 0.5659 GB, free: 11.45 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003796/0.1568, allocations: 0.6963 MB / 0.5666 GB, free: 10.73 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.697e-05/0.1569, allocations: 20.66 kB / 0.5666 GB, free: 10.71 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.999e-05/0.157, allocations: 31.42 kB / 0.5666 GB, free: 10.68 MB / 430.1 MB Notification: Performance of SimCode: time 5.51e-07/0.157, allocations: 0 / 0.5666 GB, free: 10.68 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02258/0.1796, allocations: 3.563 MB / 0.5701 GB, free: 7.125 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.631/8.811, allocations: 23.23 kB / 0.5701 GB, free: 7.105 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test31_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test31_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test31.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test31.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.973166209005285]