Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 108.3 kB / 17.33 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001357/0.001358, allocations: 193.3 kB / 18.25 MB, free: 5.086 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.569/1.569, allocations: 222.9 MB / 241.9 MB, free: 15.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2761/0.2761, allocations: 44.17 MB / 336.2 MB, free: 2.93 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 65.08 kB / 408 MB, free: 27.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1356/0.1371, allocations: 60.83 MB / 468.8 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test5): time 0.003992/0.1412, allocations: 1.661 MB / 470.5 MB, free: 12.94 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008524/0.142, allocations: 423.2 kB / 470.9 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.445e-05/0.1421, allocations: 0 / 470.9 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006406/0.1428, allocations: 443.2 kB / 471.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000404/0.1432, allocations: 255.5 kB / 471.6 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004557/0.1437, allocations: 110.7 kB / 471.7 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003601/0.1441, allocations: 163.7 kB / 471.9 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001383/0.1442, allocations: 16.19 kB / 471.9 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001958/0.1444, allocations: 111.7 kB / 472 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003116/0.1447, allocations: 215.6 kB / 472.2 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.406e-05/0.1448, allocations: 0 / 472.2 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001177/0.1449, allocations: 35.92 kB / 472.2 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001381/0.145, allocations: 83.69 kB / 472.3 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.936e-05/0.1452, allocations: 99 kB / 472.4 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003866/0.1455, allocations: 255.2 kB / 472.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.794e-06/0.1456, allocations: 3.984 kB / 472.7 MB, free: 10.77 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.676e-06/0.1456, allocations: 0 / 472.7 MB, free: 10.77 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.143e-05/0.1456, allocations: 0 / 472.7 MB, free: 10.77 MB / 350.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.0009774/0.1466, allocations: 0.6259 MB / 473.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.945e-05/0.1466, allocations: 8.031 kB / 473.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.089e-05/0.1467, allocations: 42.67 kB / 473.3 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001039/0.1468, allocations: 52.31 kB / 473.4 MB, free: 9.984 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003946/0.1472, allocations: 296.1 kB / 473.7 MB, free: 9.656 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.1473, allocations: 4.375 kB / 473.7 MB, free: 9.652 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.589e-05/0.1473, allocations: 4.125 kB / 473.7 MB, free: 9.648 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001876/0.1475, allocations: 53.67 kB / 473.7 MB, free: 9.59 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.751e-05/0.1475, allocations: 3.984 kB / 473.7 MB, free: 9.586 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.1475, allocations: 0 / 473.7 MB, free: 9.586 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.1475, allocations: 4 kB / 473.7 MB, free: 9.582 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000111/0.1477, allocations: 31.91 kB / 473.8 MB, free: 9.551 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000703/0.1484, allocations: 392.6 kB / 474.2 MB, free: 9.117 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002516/0.1486, allocations: 38.56 kB / 474.2 MB, free: 9.07 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.74e-05/0.1487, allocations: 20.94 kB / 474.2 MB, free: 9.047 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.001e-05/0.1487, allocations: 4.062 kB / 474.2 MB, free: 9.043 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.388e-05/0.1488, allocations: 38.5 kB / 474.3 MB, free: 8.996 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.673e-06/0.1488, allocations: 0 / 474.3 MB, free: 8.996 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007531/0.1495, allocations: 220 kB / 474.5 MB, free: 8.773 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.363e-05/0.1496, allocations: 51.41 kB / 474.5 MB, free: 8.711 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008561/0.1505, allocations: 0.8652 MB / 475.4 MB, free: 7.836 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.543e-05/0.1505, allocations: 33.64 kB / 475.4 MB, free: 7.797 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000155/0.1507, allocations: 224.1 kB / 475.6 MB, free: 7.574 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.628e-05/0.1507, allocations: 15.73 kB / 475.6 MB, free: 7.559 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.898e-05/0.1507, allocations: 21.72 kB / 475.7 MB, free: 7.531 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.1509, allocations: 354.8 kB / 476 MB, free: 7.176 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.583e-05/0.151, allocations: 15.98 kB / 476 MB, free: 7.16 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.476e-05/0.151, allocations: 19.98 kB / 476.1 MB, free: 7.141 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001249/0.1512, allocations: 53.02 kB / 476.1 MB, free: 7.086 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1512, allocations: 0 / 476.1 MB, free: 7.086 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002273/0.1514, allocations: 121 kB / 476.2 MB, free: 6.961 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.726e-05/0.1514, allocations: 4 kB / 476.2 MB, free: 6.957 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.1514, allocations: 0 / 476.2 MB, free: 6.957 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.1515, allocations: 0 / 476.2 MB, free: 6.957 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.299e-05/0.1515, allocations: 15.98 kB / 476.2 MB, free: 6.941 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.365e-06/0.1515, allocations: 3.938 kB / 476.2 MB, free: 6.938 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.035e-05/0.1516, allocations: 11.98 kB / 476.3 MB, free: 6.926 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.1516, allocations: 0 / 476.3 MB, free: 6.926 MB / 350.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 (5): * Single equations (assignments): 5 * 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.0001984/0.1518, allocations: 209.8 kB / 476.5 MB, free: 6.711 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.135e-05/0.1519, allocations: 43.44 kB / 476.5 MB, free: 6.668 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002772/0.1522, allocations: 137 kB / 476.6 MB, free: 6.523 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.1522, allocations: 0 / 476.6 MB, free: 6.523 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.1522, allocations: 7.938 kB / 476.6 MB, free: 6.516 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.1522, allocations: 0 / 476.6 MB, free: 6.516 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005611/0.1528, allocations: 450.5 kB / 477.1 MB, free: 6.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.344e-05/0.1528, allocations: 7.938 kB / 477.1 MB, free: 6.012 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.797e-05/0.1529, allocations: 11.98 kB / 477.1 MB, free: 6 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.445e-06/0.1529, allocations: 3.938 kB / 477.1 MB, free: 5.996 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.888e-06/0.1529, allocations: 0 / 477.1 MB, free: 5.996 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.928e-06/0.1529, allocations: 0 / 477.1 MB, free: 5.996 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.1529, allocations: 11.94 kB / 477.1 MB, free: 5.984 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003056/0.1532, allocations: 207.1 kB / 477.3 MB, free: 5.766 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.689e-05/0.1534, allocations: 112.6 kB / 477.4 MB, free: 5.637 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.406e-05/0.1534, allocations: 8 kB / 477.4 MB, free: 5.629 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.549e-05/0.1535, allocations: 7.984 kB / 477.4 MB, free: 5.621 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.538e-05/0.1535, allocations: 0 / 477.4 MB, free: 5.621 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.592e-06/0.1536, allocations: 11.94 kB / 477.5 MB, free: 5.609 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006969/0.1543, allocations: 0.655 MB / 478.1 MB, free: 4.957 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1543, allocations: 0 / 478.1 MB, free: 4.957 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002631/0.1545, allocations: 20 kB / 478.1 MB, free: 4.938 MB / 350.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 (5): * Single equations (assignments): 5 * 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.001529/0.1561, allocations: 1.051 MB / 479.2 MB, free: 4.02 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002029/0.1563, allocations: 51.95 kB / 479.2 MB, free: 3.969 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1563, allocations: 0 / 479.2 MB, free: 3.969 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.281e-05/0.1564, allocations: 27.92 kB / 479.3 MB, free: 3.941 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004359/0.1568, allocations: 21.97 kB / 479.3 MB, free: 3.922 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003872/0.1607, allocations: 3.313 MB / 482.6 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004886/0.1612, allocations: 0.8198 MB / 483.4 MB, free: 15.67 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.274e-05/0.1613, allocations: 15.97 kB / 483.4 MB, free: 15.65 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001337/0.1614, allocations: 95.41 kB / 483.5 MB, free: 15.56 MB / 366.1 MB Notification: Performance of SimCode: time 9.81e-07/0.1614, allocations: 4 kB / 483.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01824/0.1797, allocations: 5.731 MB / 489.3 MB, free: 9.934 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001929/0.1799, allocations: 232.7 kB / 489.5 MB, free: 9.676 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.934/2.113, allocations: 0 / 489.5 MB, free: 9.676 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test5_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test5.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches