Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_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.001089/0.001089, allocations: 107.4 kB / 17.21 MB, free: 6.285 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.001281/0.001281, allocations: 194 kB / 18.12 MB, free: 5.375 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.465/1.465, allocations: 222.9 MB / 241.8 MB, free: 15.44 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.2345/0.2345, allocations: 44.17 MB / 336.1 MB, free: 2.992 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001397, allocations: 63.94 kB / 407.8 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.1401, allocations: 60.82 MB / 468.6 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.004019/0.1442, allocations: 1.675 MB / 470.3 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009482/0.1451, allocations: 447.2 kB / 470.7 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.026e-05/0.1452, allocations: 0 / 470.7 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000625/0.1459, allocations: 455.2 kB / 471.2 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003696/0.1463, allocations: 239.6 kB / 471.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005438/0.1469, allocations: 166.5 kB / 471.6 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003105/0.1472, allocations: 159.6 kB / 471.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001273/0.1473, allocations: 20.16 kB / 471.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001669/0.1475, allocations: 107.8 kB / 471.9 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002724/0.1478, allocations: 199.6 kB / 472.1 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.594e-05/0.1478, allocations: 4 kB / 472.1 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001065/0.1479, allocations: 27.98 kB / 472.1 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001261/0.1481, allocations: 87.67 kB / 472.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.8e-05/0.1482, allocations: 103 kB / 472.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003079/0.1485, allocations: 251.2 kB / 472.5 MB, free: 10.83 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.656e-06/0.1485, allocations: 0 / 472.5 MB, free: 10.83 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1485, allocations: 4 kB / 472.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.826e-06/0.1485, allocations: 0 / 472.5 MB, free: 10.82 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.0008456/0.1494, allocations: 0.6375 MB / 473.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.1494, allocations: 8.031 kB / 473.2 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.387e-05/0.1495, allocations: 30.75 kB / 473.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.81e-05/0.1496, allocations: 44.47 kB / 473.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003308/0.1499, allocations: 300.1 kB / 473.5 MB, free: 9.715 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.388e-06/0.1499, allocations: 4.312 kB / 473.5 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.423e-05/0.1499, allocations: 8.125 kB / 473.5 MB, free: 9.703 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001623/0.1501, allocations: 57.67 kB / 473.6 MB, free: 9.641 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.1501, allocations: 0 / 473.6 MB, free: 9.641 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.1502, allocations: 0 / 473.6 MB, free: 9.641 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.904e-06/0.1502, allocations: 7.938 kB / 473.6 MB, free: 9.633 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001132/0.1503, allocations: 35.95 kB / 473.6 MB, free: 9.598 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005469/0.1508, allocations: 396.6 kB / 474 MB, free: 9.16 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002216/0.1511, allocations: 46.5 kB / 474.1 MB, free: 9.105 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.706e-05/0.1511, allocations: 24.92 kB / 474.1 MB, free: 9.078 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.162e-05/0.1512, allocations: 0 / 474.1 MB, free: 9.078 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.227e-05/0.1512, allocations: 38.56 kB / 474.1 MB, free: 9.031 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.81e-07/0.1512, allocations: 0 / 474.1 MB, free: 9.031 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006621/0.1519, allocations: 228 kB / 474.4 MB, free: 8.801 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.336e-05/0.1519, allocations: 63.39 kB / 474.4 MB, free: 8.727 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008507/0.1528, allocations: 0.8691 MB / 475.3 MB, free: 7.848 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.529e-05/0.1528, allocations: 25.7 kB / 475.3 MB, free: 7.816 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001707/0.153, allocations: 224 kB / 475.5 MB, free: 7.594 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.477e-05/0.153, allocations: 15.75 kB / 475.6 MB, free: 7.578 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.474e-05/0.1531, allocations: 21.7 kB / 475.6 MB, free: 7.551 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.1533, allocations: 362.8 kB / 475.9 MB, free: 7.188 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.573e-05/0.1533, allocations: 19.98 kB / 475.9 MB, free: 7.168 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.34e-05/0.1534, allocations: 19.98 kB / 476 MB, free: 7.148 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001381/0.1536, allocations: 56.81 kB / 476 MB, free: 7.09 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.163e-06/0.1536, allocations: 0 / 476 MB, free: 7.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002483/0.1538, allocations: 125 kB / 476.1 MB, free: 6.961 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.1538, allocations: 8 kB / 476.2 MB, free: 6.953 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.1539, allocations: 0 / 476.2 MB, free: 6.953 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.1539, allocations: 0 / 476.2 MB, free: 6.953 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.303e-05/0.1539, allocations: 11.98 kB / 476.2 MB, free: 6.941 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.878e-06/0.154, allocations: 3.938 kB / 476.2 MB, free: 6.938 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.982e-05/0.154, allocations: 4 kB / 476.2 MB, free: 6.934 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.27e-05/0.154, allocations: 7.984 kB / 476.2 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.000193/0.1542, allocations: 217.7 kB / 476.4 MB, free: 6.703 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.625e-05/0.1543, allocations: 35.53 kB / 476.4 MB, free: 6.668 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000291/0.1546, allocations: 145 kB / 476.6 MB, free: 6.516 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.1546, allocations: 0 / 476.6 MB, free: 6.516 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.1546, allocations: 3.938 kB / 476.6 MB, free: 6.512 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.1546, allocations: 0 / 476.6 MB, free: 6.512 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005504/0.1552, allocations: 478.8 kB / 477 MB, free: 5.988 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.1552, allocations: 4 kB / 477 MB, free: 5.984 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.388e-05/0.1553, allocations: 15.92 kB / 477.1 MB, free: 5.969 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.1553, allocations: 7.875 kB / 477.1 MB, free: 5.961 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.1553, allocations: 0 / 477.1 MB, free: 5.961 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.1553, allocations: 4 kB / 477.1 MB, free: 5.957 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1553, allocations: 0 / 477.1 MB, free: 5.957 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002566/0.1556, allocations: 215 kB / 477.3 MB, free: 5.73 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.349e-05/0.1557, allocations: 112.5 kB / 477.4 MB, free: 5.602 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.896e-05/0.1557, allocations: 7.922 kB / 477.4 MB, free: 5.594 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.174e-05/0.1558, allocations: 4 kB / 477.4 MB, free: 5.59 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.01e-05/0.1558, allocations: 7.984 kB / 477.4 MB, free: 5.582 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-06/0.1558, allocations: 4 kB / 477.4 MB, free: 5.578 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006504/0.1565, allocations: 0.6472 MB / 478.1 MB, free: 4.934 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1565, allocations: 0 / 478.1 MB, free: 4.934 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002571/0.1568, allocations: 28 kB / 478.1 MB, free: 4.906 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.001387/0.1582, allocations: 1.055 MB / 479.1 MB, free: 3.98 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002033/0.1584, allocations: 47.95 kB / 479.2 MB, free: 3.934 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.1584, allocations: 4 kB / 479.2 MB, free: 3.93 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.996e-05/0.1585, allocations: 35.92 kB / 479.2 MB, free: 3.895 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004141/0.1589, allocations: 26.3 kB / 479.3 MB, free: 3.871 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004504/0.1634, allocations: 3.324 MB / 482.6 MB, free: 456 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006155/0.1641, allocations: 0.8302 MB / 483.4 MB, free: 15.59 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.731e-05/0.1641, allocations: 15.97 kB / 483.4 MB, free: 15.57 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00017/0.1643, allocations: 115.4 kB / 483.5 MB, free: 15.46 MB / 366.1 MB Notification: Performance of SimCode: time 1.483e-06/0.1643, allocations: 3.938 kB / 483.5 MB, free: 15.46 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0183/0.1826, allocations: 5.742 MB / 489.3 MB, free: 9.82 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002059/0.1829, allocations: 232.5 kB / 489.5 MB, free: 9.562 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.807/1.99, allocations: 3.875 kB / 489.5 MB, free: 9.562 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test5_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test5.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches