Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable2D.Test31,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test31,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test31",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.001232/0.001232, allocations: 105.8 kB / 16.41 MB, free: 6.512 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.001234/0.001234, allocations: 189.5 kB / 17.34 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.499/1.499, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2292/0.2292, allocations: 43.52 MB / 314.1 MB, free: 472 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002034/0.002034, allocations: 69.47 kB / 441.3 MB, free: 6.164 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.1261, allocations: 57.79 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test31): time 0.003932/0.1301, allocations: 1.608 MB / 0.489 GB, free: 10.67 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001584/0.1317, allocations: 0.9379 MB / 0.4899 GB, free: 9.727 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.001e-05/0.1318, allocations: 0 / 0.4899 GB, free: 9.727 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001962/0.132, allocations: 31.84 kB / 0.4899 GB, free: 9.695 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001931/0.1322, allocations: 43.78 kB / 0.49 GB, free: 9.652 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002913/0.1325, allocations: 115.7 kB / 0.4901 GB, free: 9.539 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000137/0.1326, allocations: 55.84 kB / 0.4901 GB, free: 9.484 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.166e-05/0.1327, allocations: 12.19 kB / 0.4902 GB, free: 9.473 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.019e-05/0.1328, allocations: 31.84 kB / 0.4902 GB, free: 9.441 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001433/0.133, allocations: 27.84 kB / 0.4902 GB, free: 9.414 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.725e-05/0.133, allocations: 4 kB / 0.4902 GB, free: 9.41 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001125/0.1331, allocations: 55.97 kB / 0.4903 GB, free: 9.355 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.18e-05/0.1332, allocations: 19.92 kB / 0.4903 GB, free: 9.336 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.833e-05/0.1332, allocations: 27.8 kB / 0.4903 GB, free: 9.309 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002101/0.1334, allocations: 99.64 kB / 0.4904 GB, free: 9.211 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.1334, allocations: 0 / 0.4904 GB, free: 9.211 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.1335, allocations: 0 / 0.4904 GB, free: 9.211 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.367e-05/0.1335, allocations: 3.984 kB / 0.4904 GB, free: 9.207 MB / 382.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.0005846/0.1341, allocations: 398.4 kB / 0.4908 GB, free: 8.773 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.1341, allocations: 11.89 kB / 0.4908 GB, free: 8.762 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.7e-05/0.1342, allocations: 30.75 kB / 0.4908 GB, free: 8.723 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.922e-05/0.1342, allocations: 16.88 kB / 0.4908 GB, free: 8.707 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002391/0.1345, allocations: 199.4 kB / 0.491 GB, free: 8.477 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.588e-05/0.1345, allocations: 4.375 kB / 0.491 GB, free: 8.473 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.32e-05/0.1345, allocations: 8.109 kB / 0.491 GB, free: 8.465 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001861/0.1347, allocations: 79.31 kB / 0.4911 GB, free: 8.375 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.1347, allocations: 0 / 0.4911 GB, free: 8.375 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.416e-06/0.1347, allocations: 0 / 0.4911 GB, free: 8.375 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.1347, allocations: 0 / 0.4911 GB, free: 8.375 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001598/0.1349, allocations: 39.97 kB / 0.4912 GB, free: 8.336 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000398/0.1353, allocations: 284.8 kB / 0.4914 GB, free: 8.008 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001292/0.1355, allocations: 46.5 kB / 0.4915 GB, free: 7.953 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.2e-05/0.1355, allocations: 20.94 kB / 0.4915 GB, free: 7.93 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.163e-05/0.1356, allocations: 4 kB / 0.4915 GB, free: 7.926 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/0.1356, allocations: 34.56 kB / 0.4915 GB, free: 7.883 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.1356, allocations: 0 / 0.4915 GB, free: 7.883 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007732/0.1364, allocations: 209.2 kB / 0.4917 GB, free: 7.672 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.882e-05/0.1365, allocations: 77.11 kB / 0.4918 GB, free: 7.578 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001596/0.1366, allocations: 142 kB / 0.4919 GB, free: 7.426 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.089e-05/0.1367, allocations: 29.7 kB / 0.492 GB, free: 7.391 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.874e-05/0.1367, allocations: 96.06 kB / 0.4921 GB, free: 7.293 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.91e-05/0.1368, allocations: 27.81 kB / 0.4921 GB, free: 7.266 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.259e-05/0.1368, allocations: 21.7 kB / 0.4921 GB, free: 7.238 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.137, allocations: 318.8 kB / 0.4924 GB, free: 6.918 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001188/0.1371, allocations: 39.97 kB / 0.4925 GB, free: 6.879 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00013/0.1372, allocations: 45.75 kB / 0.4925 GB, free: 6.828 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002316/0.1375, allocations: 80.73 kB / 0.4926 GB, free: 6.746 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.1375, allocations: 0 / 0.4926 GB, free: 6.746 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002846/0.1378, allocations: 109.6 kB / 0.4927 GB, free: 6.633 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.1378, allocations: 4 kB / 0.4927 GB, free: 6.629 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.1378, allocations: 0 / 0.4927 GB, free: 6.629 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.1378, allocations: 0 / 0.4927 GB, free: 6.629 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001139/0.1379, allocations: 23.98 kB / 0.4927 GB, free: 6.605 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.138, allocations: 3.938 kB / 0.4927 GB, free: 6.602 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.838e-05/0.138, allocations: 19.98 kB / 0.4927 GB, free: 6.582 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.1381, allocations: 0 / 0.4927 GB, free: 6.582 MB / 382.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 (7): * Single equations (assignments): 7 * 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.0001017/0.1382, allocations: 117.8 kB / 0.4928 GB, free: 6.457 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.591e-05/0.1382, allocations: 11.89 kB / 0.4929 GB, free: 6.445 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003304/0.1385, allocations: 130.3 kB / 0.493 GB, free: 6.309 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.1385, allocations: 0 / 0.493 GB, free: 6.309 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.1386, allocations: 8.219 kB / 0.493 GB, free: 6.301 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.1386, allocations: 0 / 0.493 GB, free: 6.301 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000577/0.1391, allocations: 386.5 kB / 0.4934 GB, free: 5.867 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1392, allocations: 0 / 0.4934 GB, free: 5.867 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.559e-05/0.1393, allocations: 23.97 kB / 0.4934 GB, free: 5.844 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.1393, allocations: 3.938 kB / 0.4934 GB, free: 5.84 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.612e-06/0.1393, allocations: 0 / 0.4934 GB, free: 5.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1393, allocations: 4 kB / 0.4934 GB, free: 5.836 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1393, allocations: 0 / 0.4934 GB, free: 5.836 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000334/0.1396, allocations: 207.8 kB / 0.4936 GB, free: 5.617 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.729e-05/0.1397, allocations: 89.05 kB / 0.4937 GB, free: 5.512 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.928e-05/0.1397, allocations: 11.88 kB / 0.4937 GB, free: 5.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.26e-05/0.1398, allocations: 11.98 kB / 0.4937 GB, free: 5.488 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.823e-05/0.1399, allocations: 8 kB / 0.4937 GB, free: 5.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.714e-06/0.1399, allocations: 4 kB / 0.4937 GB, free: 5.477 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.85e-05/0.14, allocations: 107.2 kB / 0.4938 GB, free: 5.371 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.14, allocations: 0 / 0.4938 GB, free: 5.371 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002593/0.1403, allocations: 23.94 kB / 0.4938 GB, free: 5.348 MB / 382.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 (7): * Single equations (assignments): 7 * 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.002118/0.1424, allocations: 1.089 MB / 0.4949 GB, free: 4.277 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003023/0.1427, allocations: 83.88 kB / 0.495 GB, free: 4.195 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/0.1427, allocations: 0 / 0.495 GB, free: 4.195 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001471/0.1429, allocations: 35.97 kB / 0.495 GB, free: 4.16 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003399/0.1432, allocations: 19.91 kB / 0.495 GB, free: 4.141 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002011/0.1452, allocations: 1.535 MB / 0.4965 GB, free: 2.527 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003559/0.1456, allocations: 0.6924 MB / 0.4972 GB, free: 1.809 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.184e-05/0.1457, allocations: 17.12 kB / 0.4972 GB, free: 1.793 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.925e-05/0.1458, allocations: 27.41 kB / 0.4972 GB, free: 1.766 MB / 382.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1458, allocations: 0 / 0.4972 GB, free: 1.766 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0265/0.1723, allocations: 3.044 MB / 0.5002 GB, free: 14.66 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.945/8.117, allocations: 7.969 kB / 0.5002 GB, free: 14.65 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test31_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test31.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches