Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.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.001328/0.001328, allocations: 112.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.001342/0.001342, 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.498/1.498, 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.2364/0.2364, allocations: 46.93 MB / 357.8 MB, free: 10.33 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.Test9,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test9",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test9,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test9",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001906/0.001906, allocations: 63.91 kB / 0.4916 GB, free: 7.984 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1329, allocations: 66 MB / 0.5561 GB, free: 5.859 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test9): time 0.003398/0.1363, allocations: 1.619 MB / 0.5577 GB, free: 4.227 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001169/0.1375, allocations: 0.5471 MB / 0.5582 GB, free: 3.676 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.292e-05/0.1376, allocations: 0 / 0.5582 GB, free: 3.676 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006854/0.1382, allocations: 447.1 kB / 0.5586 GB, free: 3.238 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005834/0.1388, allocations: 299.3 kB / 0.5589 GB, free: 2.945 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003836/0.1392, allocations: 123.6 kB / 0.559 GB, free: 2.828 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002716/0.1395, allocations: 171.6 kB / 0.5592 GB, free: 2.66 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.1396, allocations: 15.98 kB / 0.5592 GB, free: 2.645 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001389/0.1397, allocations: 111.7 kB / 0.5593 GB, free: 2.535 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000287/0.14, allocations: 247.5 kB / 0.5595 GB, free: 2.293 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.587e-05/0.14, allocations: 0 / 0.5595 GB, free: 2.293 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.574e-05/0.1401, allocations: 31.92 kB / 0.5596 GB, free: 2.262 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001152/0.1402, allocations: 83.69 kB / 0.5597 GB, free: 2.18 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001078/0.1403, allocations: 107 kB / 0.5598 GB, free: 2.074 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003463/0.1407, allocations: 250.6 kB / 0.56 GB, free: 1.828 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.1407, allocations: 8 kB / 0.56 GB, free: 1.82 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1407, allocations: 0 / 0.56 GB, free: 1.82 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.662e-06/0.1407, allocations: 0 / 0.56 GB, free: 1.82 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0008379/0.1415, allocations: 0.6529 MB / 0.5606 GB, free: 1.117 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.1416, allocations: 12.03 kB / 0.5607 GB, free: 1.105 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.522e-05/0.1416, allocations: 4.188 kB / 0.5607 GB, free: 1.102 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.658e-05/0.1416, allocations: 38.67 kB / 0.5607 GB, free: 1.055 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.818e-05/0.1417, allocations: 48.64 kB / 0.5607 GB, free: 1.008 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003375/0.142, allocations: 308.5 kB / 0.561 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.1421, allocations: 4.375 kB / 0.561 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.223e-05/0.1421, allocations: 8.062 kB / 0.561 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001755/0.1422, allocations: 53.67 kB / 0.5611 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.1423, allocations: 0 / 0.5611 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.1423, allocations: 4 kB / 0.5611 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.1423, allocations: 0 / 0.5611 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001472/0.1424, allocations: 27.97 kB / 0.5611 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005488/0.143, allocations: 384.8 kB / 0.5615 GB, free: 140 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000139/0.1431, allocations: 38.56 kB / 0.5615 GB, free: 92 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.796e-05/0.1432, allocations: 20.94 kB / 0.5616 GB, free: 68 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.682e-05/0.1432, allocations: 0 / 0.5616 GB, free: 68 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.549e-05/0.1432, allocations: 34.56 kB / 0.5616 GB, free: 24 kB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.1432, allocations: 0 / 0.5616 GB, free: 24 kB / 414.1 MB Notification: Performance of matching and sorting (n=3): time 0.000439/0.1437, allocations: 129.4 kB / 0.5617 GB, free: 15.89 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.357e-05/0.1437, allocations: 51.41 kB / 0.5618 GB, free: 15.82 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00107/0.1448, allocations: 0.8699 MB / 0.5626 GB, free: 14.94 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.938e-05/0.1448, allocations: 25.7 kB / 0.5626 GB, free: 14.91 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001966/0.145, allocations: 216 kB / 0.5628 GB, free: 14.7 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.387e-05/0.145, allocations: 15.88 kB / 0.5629 GB, free: 14.68 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.907e-05/0.1451, allocations: 17.72 kB / 0.5629 GB, free: 14.66 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002129/0.1453, allocations: 358.7 kB / 0.5632 GB, free: 14.3 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.206e-05/0.1454, allocations: 19.98 kB / 0.5632 GB, free: 14.28 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.082e-05/0.1454, allocations: 11.98 kB / 0.5632 GB, free: 14.27 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001297/0.1456, allocations: 40.83 kB / 0.5633 GB, free: 14.22 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.1456, allocations: 4 kB / 0.5633 GB, free: 14.22 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002238/0.1458, allocations: 109.3 kB / 0.5634 GB, free: 14.11 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.1458, allocations: 4 kB / 0.5634 GB, free: 14.1 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.1458, allocations: 0 / 0.5634 GB, free: 14.1 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.1458, allocations: 0 / 0.5634 GB, free: 14.1 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.118e-05/0.1459, allocations: 8 kB / 0.5634 GB, free: 14.09 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.1459, allocations: 3.984 kB / 0.5634 GB, free: 14.09 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.825e-05/0.146, allocations: 7.953 kB / 0.5634 GB, free: 14.08 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.118e-06/0.146, allocations: 4 kB / 0.5634 GB, free: 14.08 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 (3): * Single equations (assignments): 3 * 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.1462, allocations: 219.9 kB / 0.5636 GB, free: 13.86 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.104e-05/0.1463, allocations: 43.72 kB / 0.5637 GB, free: 13.81 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002908/0.1466, allocations: 121.4 kB / 0.5638 GB, free: 13.68 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.1466, allocations: 4.031 kB / 0.5638 GB, free: 13.68 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.1466, allocations: 3.828 kB / 0.5638 GB, free: 13.68 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.1466, allocations: 0 / 0.5638 GB, free: 13.68 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003195/0.1469, allocations: 301.4 kB / 0.5641 GB, free: 13.34 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1469, allocations: 4 kB / 0.5641 GB, free: 13.33 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.887e-05/0.147, allocations: 11.98 kB / 0.5641 GB, free: 13.32 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.147, allocations: 0 / 0.5641 GB, free: 13.32 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.147, allocations: 0 / 0.5641 GB, free: 13.32 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.147, allocations: 0 / 0.5641 GB, free: 13.32 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.147, allocations: 4 kB / 0.5641 GB, free: 13.32 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002716/0.1473, allocations: 199.2 kB / 0.5643 GB, free: 13.11 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001022/0.1474, allocations: 120.8 kB / 0.5644 GB, free: 12.97 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.778e-05/0.1474, allocations: 4 kB / 0.5644 GB, free: 12.96 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.708e-05/0.1475, allocations: 7.922 kB / 0.5644 GB, free: 12.96 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.608e-05/0.1475, allocations: 4 kB / 0.5644 GB, free: 12.95 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.537e-06/0.1475, allocations: 0 / 0.5644 GB, free: 12.95 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006783/0.1482, allocations: 0.655 MB / 0.5651 GB, free: 12.3 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1482, allocations: 0 / 0.5651 GB, free: 12.3 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002622/0.1484, allocations: 27.86 kB / 0.5651 GB, free: 12.27 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 (3): * Single equations (assignments): 3 * 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.00181/0.1503, allocations: 0.9865 MB / 0.566 GB, free: 11.39 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002017/0.1505, allocations: 39.91 kB / 0.5661 GB, free: 11.36 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1505, allocations: 3.938 kB / 0.5661 GB, free: 11.35 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 6.71e-05/0.1505, allocations: 19.97 kB / 0.5661 GB, free: 11.33 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004302/0.151, allocations: 22.31 kB / 0.5661 GB, free: 11.31 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003924/0.1549, allocations: 3.182 MB / 0.5692 GB, free: 8.043 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000462/0.1553, allocations: 0.8182 MB / 0.57 GB, free: 7.195 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.602e-05/0.1554, allocations: 15.67 kB / 0.57 GB, free: 7.18 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001378/0.1555, allocations: 111.4 kB / 0.5702 GB, free: 7.074 MB / 430.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1555, allocations: 4.094 kB / 0.5702 GB, free: 7.07 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02304/0.1786, allocations: 5.842 MB / 0.5759 GB, free: 1.289 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.033/9.212, allocations: 0 / 0.5759 GB, free: 1.289 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test9_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test9.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.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.45348785299575]