Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.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.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test21",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.001053/0.001053, allocations: 104.1 kB / 17.63 MB, free: 5.344 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.00112/0.00112, allocations: 192 kB / 18.56 MB, free: 4.434 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.359/1.359, allocations: 222.9 MB / 242.3 MB, free: 15.15 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.2371/0.2371, allocations: 44.18 MB / 336.6 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001417/0.001417, allocations: 67.05 kB / 408.5 MB, free: 27.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1243, allocations: 60.82 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test21): time 0.003877/0.1282, allocations: 1.958 MB / 471.3 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001592/0.1298, allocations: 0.8494 MB / 472.2 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001616/0.13, allocations: 4 kB / 472.2 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004945/0.1305, allocations: 255.2 kB / 472.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003919/0.131, allocations: 191.3 kB / 472.6 MB, free: 11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001241/0.1322, allocations: 0.4896 MB / 473.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005053/0.1327, allocations: 271.4 kB / 473.4 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002361/0.133, allocations: 72.78 kB / 473.4 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002607/0.1332, allocations: 131.5 kB / 473.6 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003302/0.1336, allocations: 191.4 kB / 473.7 MB, free: 9.863 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.763e-05/0.1336, allocations: 12 kB / 473.8 MB, free: 9.852 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002622/0.1339, allocations: 99.83 kB / 473.9 MB, free: 9.754 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001661/0.1341, allocations: 87.67 kB / 473.9 MB, free: 9.668 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001355/0.1342, allocations: 111.1 kB / 474 MB, free: 9.559 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000542/0.1348, allocations: 330.8 kB / 474.4 MB, free: 9.234 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.1348, allocations: 0 / 474.4 MB, free: 9.234 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1348, allocations: 0 / 474.4 MB, free: 9.234 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.183e-05/0.1348, allocations: 0 / 474.4 MB, free: 9.234 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0009601/0.1358, allocations: 0.6525 MB / 475 MB, free: 8.535 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.1358, allocations: 15.97 kB / 475 MB, free: 8.52 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.15e-05/0.1359, allocations: 38.73 kB / 475.1 MB, free: 8.473 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.584e-05/0.136, allocations: 44.38 kB / 475.1 MB, free: 8.43 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003484/0.1363, allocations: 310.3 kB / 475.4 MB, free: 8.086 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.629e-05/0.1364, allocations: 12.31 kB / 475.4 MB, free: 8.074 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.259e-05/0.1364, allocations: 16.36 kB / 475.5 MB, free: 8.059 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002275/0.1366, allocations: 101.6 kB / 475.6 MB, free: 7.953 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.625e-05/0.1367, allocations: 7.891 kB / 475.6 MB, free: 7.945 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.1367, allocations: 4 kB / 475.6 MB, free: 7.941 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.1367, allocations: 4 kB / 475.6 MB, free: 7.938 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001662/0.1369, allocations: 75.89 kB / 475.6 MB, free: 7.863 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006585/0.1375, allocations: 492.3 kB / 476.1 MB, free: 7.332 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001821/0.1377, allocations: 94.48 kB / 476.2 MB, free: 7.23 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.644e-05/0.1378, allocations: 36.84 kB / 476.3 MB, free: 7.191 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.074e-05/0.1378, allocations: 0 / 476.3 MB, free: 7.191 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.907e-05/0.1379, allocations: 38.5 kB / 476.3 MB, free: 7.145 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.583e-06/0.1379, allocations: 0 / 476.3 MB, free: 7.145 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001032/0.1389, allocations: 380 kB / 476.7 MB, free: 6.766 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.491e-05/0.139, allocations: 59.39 kB / 476.7 MB, free: 6.695 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005638/0.1396, allocations: 0.537 MB / 477.3 MB, free: 6.156 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.112e-05/0.1396, allocations: 33.69 kB / 477.3 MB, free: 6.117 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001397/0.1397, allocations: 204.3 kB / 477.5 MB, free: 5.914 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.246e-05/0.1398, allocations: 63.12 kB / 477.5 MB, free: 5.852 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.728e-05/0.1399, allocations: 33.7 kB / 477.6 MB, free: 5.812 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.14, allocations: 354.8 kB / 477.9 MB, free: 5.457 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001183/0.1401, allocations: 43.97 kB / 478 MB, free: 5.414 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001132/0.1402, allocations: 50.33 kB / 478 MB, free: 5.367 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002281/0.1405, allocations: 128.7 kB / 478.1 MB, free: 5.238 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.1405, allocations: 4 kB / 478.1 MB, free: 5.234 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003383/0.1408, allocations: 187 kB / 478.3 MB, free: 5.047 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.1409, allocations: 11.94 kB / 478.3 MB, free: 5.035 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.026e-06/0.1409, allocations: 4 kB / 478.3 MB, free: 5.031 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.1409, allocations: 4 kB / 478.4 MB, free: 5.027 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001551/0.1411, allocations: 39.91 kB / 478.4 MB, free: 4.988 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.1411, allocations: 4 kB / 478.4 MB, free: 4.984 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.701e-05/0.1412, allocations: 4 kB / 478.4 MB, free: 4.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.42e-05/0.1412, allocations: 8 kB / 478.4 MB, free: 4.973 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 (17): * Single equations (assignments): 17 * 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.0001556/0.1413, allocations: 173.7 kB / 478.6 MB, free: 4.793 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.374e-05/0.1414, allocations: 43.53 kB / 478.6 MB, free: 4.75 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004482/0.1419, allocations: 237.4 kB / 478.8 MB, free: 4.504 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.1419, allocations: 0 / 478.8 MB, free: 4.504 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.1419, allocations: 0 / 478.8 MB, free: 4.504 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.1419, allocations: 3.984 kB / 478.9 MB, free: 4.5 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007866/0.1427, allocations: 0.6332 MB / 479.5 MB, free: 3.812 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.1427, allocations: 0 / 479.5 MB, free: 3.812 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001107/0.1428, allocations: 31.92 kB / 479.5 MB, free: 3.781 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.653e-06/0.1428, allocations: 7.984 kB / 479.5 MB, free: 3.773 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.1429, allocations: 4 kB / 479.5 MB, free: 3.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.1429, allocations: 3.938 kB / 479.5 MB, free: 3.766 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1429, allocations: 0 / 479.5 MB, free: 3.766 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003754/0.1433, allocations: 302.9 kB / 479.8 MB, free: 3.453 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.074e-05/0.1433, allocations: 108.7 kB / 479.9 MB, free: 3.328 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.595e-05/0.1434, allocations: 4 kB / 479.9 MB, free: 3.324 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.1435, allocations: 19.92 kB / 480 MB, free: 3.305 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.904e-05/0.1436, allocations: 7.984 kB / 480 MB, free: 3.297 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.142e-05/0.1436, allocations: 8 kB / 480 MB, free: 3.289 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004165/0.144, allocations: 411.1 kB / 480.4 MB, free: 2.891 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.144, allocations: 0 / 480.4 MB, free: 2.891 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003273/0.1443, allocations: 55.89 kB / 480.4 MB, free: 2.836 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 (17): * Single equations (assignments): 17 * 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.002204/0.1466, allocations: 1.421 MB / 481.9 MB, free: 1.711 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000322/0.1469, allocations: 135.9 kB / 482 MB, free: 1.578 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1469, allocations: 0 / 482 MB, free: 1.578 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000134/0.147, allocations: 75.91 kB / 482.1 MB, free: 1.504 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005487/0.1476, allocations: 80.02 kB / 482.1 MB, free: 1.434 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00365/0.1513, allocations: 3.062 MB / 485.2 MB, free: 14.3 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003518/0.1516, allocations: 0.7987 MB / 486 MB, free: 13.48 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001232/0.1518, allocations: 53.91 kB / 486 MB, free: 13.43 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001515/0.1519, allocations: 119.4 kB / 486.2 MB, free: 13.31 MB / 366.1 MB Notification: Performance of SimCode: time 6.22e-07/0.1519, allocations: 0 / 486.2 MB, free: 13.31 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02568/0.1776, allocations: 7.105 MB / 493.3 MB, free: 6.273 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.698/7.876, allocations: 14.84 kB / 493.3 MB, free: 6.262 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test21_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test21.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches