Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.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.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test23",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.001928/0.001927, allocations: 108.7 kB / 17.21 MB, free: 6.27 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.002188/0.002189, allocations: 194 kB / 18.12 MB, free: 5.363 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.512/1.512, allocations: 222.9 MB / 241.8 MB, free: 13.86 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.2556/0.2556, allocations: 44.16 MB / 336.1 MB, free: 2.824 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 60.78 kB / 407.8 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1356/0.1369, allocations: 60.83 MB / 468.6 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test23): time 0.003331/0.1403, allocations: 2.069 MB / 470.7 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001582/0.1419, allocations: 1.049 MB / 471.7 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.763e-05/0.142, allocations: 4 kB / 471.7 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001874/0.1422, allocations: 27.78 kB / 471.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000253/0.1424, allocations: 135.5 kB / 471.9 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007611/0.1432, allocations: 417.3 kB / 472.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002643/0.1435, allocations: 271 kB / 472.6 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000141/0.1436, allocations: 64.98 kB / 472.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001569/0.1438, allocations: 123.4 kB / 472.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002068/0.144, allocations: 183.4 kB / 472.9 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.332e-05/0.144, allocations: 8 kB / 473 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001108/0.1442, allocations: 55.97 kB / 473 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000143/0.1443, allocations: 135.5 kB / 473.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001247/0.1444, allocations: 166.6 kB / 473.3 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003225/0.1448, allocations: 382.5 kB / 473.7 MB, free: 9.676 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.1448, allocations: 0 / 473.7 MB, free: 9.676 MB / 350.1 MB Notification: Performance of FrontEnd: time 5.61e-07/0.1448, allocations: 0 / 473.7 MB, free: 9.676 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.1448, allocations: 0 / 473.7 MB, free: 9.676 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001027/0.1458, allocations: 0.8046 MB / 474.5 MB, free: 8.82 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.1459, allocations: 12.02 kB / 474.5 MB, free: 8.809 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.345e-05/0.1459, allocations: 38.75 kB / 474.5 MB, free: 8.762 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.697e-05/0.146, allocations: 52.28 kB / 474.6 MB, free: 8.711 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004908/0.1465, allocations: 459.7 kB / 475 MB, free: 8.223 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.1465, allocations: 8.375 kB / 475 MB, free: 8.215 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.827e-05/0.1466, allocations: 19.92 kB / 475.1 MB, free: 8.195 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002918/0.1469, allocations: 143 kB / 475.2 MB, free: 8.047 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.1469, allocations: 0 / 475.2 MB, free: 8.047 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.1469, allocations: 4 kB / 475.2 MB, free: 8.043 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.1469, allocations: 4 kB / 475.2 MB, free: 8.039 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002683/0.1472, allocations: 99.86 kB / 475.3 MB, free: 7.941 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000831/0.148, allocations: 0.6839 MB / 476 MB, free: 7.203 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002527/0.1483, allocations: 121.4 kB / 476.1 MB, free: 7.066 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001428/0.1484, allocations: 65.75 kB / 476.2 MB, free: 6.996 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.489e-05/0.1485, allocations: 11.86 kB / 476.2 MB, free: 6.984 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.554e-05/0.1485, allocations: 42.5 kB / 476.2 MB, free: 6.934 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.192e-06/0.1485, allocations: 0 / 476.2 MB, free: 6.934 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.001868/0.1504, allocations: 0.6656 MB / 476.9 MB, free: 6.258 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.898e-05/0.1504, allocations: 89.05 kB / 477 MB, free: 6.152 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008878/0.1513, allocations: 0.8663 MB / 477.8 MB, free: 5.277 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.358e-05/0.1514, allocations: 29.7 kB / 477.9 MB, free: 5.242 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000188/0.1516, allocations: 256.3 kB / 478.1 MB, free: 4.988 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.269e-05/0.1516, allocations: 63.02 kB / 478.2 MB, free: 4.926 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.488e-05/0.1517, allocations: 45.69 kB / 478.2 MB, free: 4.875 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.1519, allocations: 370.7 kB / 478.6 MB, free: 4.504 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002461/0.1521, allocations: 95.92 kB / 478.7 MB, free: 4.41 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000246/0.1524, allocations: 108.4 kB / 478.8 MB, free: 4.301 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004773/0.1529, allocations: 209.5 kB / 479 MB, free: 4.09 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.1529, allocations: 192 / 479 MB, free: 4.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006279/0.1535, allocations: 304.6 kB / 479.3 MB, free: 3.785 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.1535, allocations: 4 kB / 479.3 MB, free: 3.781 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.1535, allocations: 0.75 kB / 479.3 MB, free: 3.781 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.027e-05/0.1536, allocations: 4 kB / 479.3 MB, free: 3.777 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002969/0.1539, allocations: 55.94 kB / 479.4 MB, free: 3.723 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/0.1539, allocations: 7.984 kB / 479.4 MB, free: 3.715 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000189/0.1541, allocations: 15.98 kB / 479.4 MB, free: 3.699 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.019e-05/0.1541, allocations: 15.98 kB / 479.4 MB, free: 3.684 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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.0001939/0.1543, allocations: 217.6 kB / 479.6 MB, free: 3.461 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001/0.1544, allocations: 55.34 kB / 479.7 MB, free: 3.406 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007434/0.1552, allocations: 349.9 kB / 480 MB, free: 3.059 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.1552, allocations: 4 kB / 480 MB, free: 3.055 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.1552, allocations: 0 / 480 MB, free: 3.055 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.1552, allocations: 3.984 kB / 480 MB, free: 3.051 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001211/0.1564, allocations: 0.8844 MB / 480.9 MB, free: 2.109 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.1564, allocations: 7.922 kB / 480.9 MB, free: 2.102 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002443/0.1567, allocations: 55.89 kB / 481 MB, free: 2.047 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.1567, allocations: 0 / 481 MB, free: 2.047 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.923e-05/0.1567, allocations: 8 kB / 481 MB, free: 2.039 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.1567, allocations: 3.938 kB / 481 MB, free: 2.035 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.1567, allocations: 4 kB / 481 MB, free: 2.031 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006776/0.1574, allocations: 477.9 kB / 481.4 MB, free: 1.547 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001347/0.1576, allocations: 148.4 kB / 481.6 MB, free: 1.383 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.202e-05/0.1576, allocations: 8 kB / 481.6 MB, free: 1.375 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002644/0.1579, allocations: 27.86 kB / 481.6 MB, free: 1.348 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.949e-05/0.1579, allocations: 15.97 kB / 481.6 MB, free: 1.332 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.794e-05/0.158, allocations: 11.98 kB / 481.6 MB, free: 1.32 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006346/0.1586, allocations: 0.6393 MB / 482.3 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1586, allocations: 0 / 482.3 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003452/0.159, allocations: 56 kB / 482.3 MB, free: 0.6289 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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.001739/0.1607, allocations: 1.312 MB / 483.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005675/0.1613, allocations: 219.7 kB / 483.9 MB, free: 15.24 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.618e-06/0.1613, allocations: 4 kB / 483.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000284/0.1616, allocations: 127.7 kB / 484 MB, free: 15.11 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006584/0.1623, allocations: 74.94 kB / 484.1 MB, free: 15.04 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006782/0.1691, allocations: 5.423 MB / 489.5 MB, free: 9.516 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005074/0.1696, allocations: 0.8686 MB / 490.4 MB, free: 8.625 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002511/0.1699, allocations: 83.16 kB / 490.4 MB, free: 8.543 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002735/0.1701, allocations: 187.3 kB / 490.6 MB, free: 8.359 MB / 366.1 MB Notification: Performance of SimCode: time 1.944e-06/0.1701, allocations: 0 / 490.6 MB, free: 8.359 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02237/0.1925, allocations: 9.447 MB / 0.4883 GB, free: 15.02 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000302/0.1929, allocations: 240.2 kB / 0.4886 GB, free: 14.76 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.988/2.181, allocations: 3.75 kB / 0.4886 GB, free: 14.76 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test23_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test23.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches