Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.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.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test2",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.001339/0.001339, allocations: 110.7 kB / 16.41 MB, free: 6.496 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.00138/0.00138, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.556/1.556, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.2152/0.2152, allocations: 43.52 MB / 314.1 MB, free: 456 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.002541/0.002541, allocations: 71.88 kB / 441.3 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1489/0.1514, allocations: 57.79 MB / 499.1 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test2): time 0.003277/0.1548, allocations: 1.612 MB / 0.489 GB, free: 10.66 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00067/0.1554, allocations: 319.6 kB / 0.4893 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.183e-05/0.1555, allocations: 4 kB / 0.4893 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006126/0.1561, allocations: 451.1 kB / 0.4897 GB, free: 9.895 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003723/0.1565, allocations: 255.4 kB / 0.49 GB, free: 9.645 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003081/0.1568, allocations: 111.7 kB / 0.4901 GB, free: 9.535 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002424/0.1571, allocations: 159.7 kB / 0.4902 GB, free: 9.379 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.823e-05/0.1572, allocations: 8.188 kB / 0.4902 GB, free: 9.371 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001323/0.1573, allocations: 115.7 kB / 0.4903 GB, free: 9.258 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002497/0.1576, allocations: 207.6 kB / 0.4905 GB, free: 9.055 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.376e-05/0.1576, allocations: 4 kB / 0.4906 GB, free: 9.051 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.195e-05/0.1577, allocations: 27.98 kB / 0.4906 GB, free: 9.023 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001207/0.1578, allocations: 79.7 kB / 0.4907 GB, free: 8.945 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.941e-05/0.1579, allocations: 98.98 kB / 0.4907 GB, free: 8.848 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003572/0.1583, allocations: 266.6 kB / 0.491 GB, free: 8.586 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.1583, allocations: 0 / 0.491 GB, free: 8.586 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1583, allocations: 0 / 0.491 GB, free: 8.586 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.1583, allocations: 0 / 0.491 GB, free: 8.586 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.0008328/0.1592, allocations: 0.6491 MB / 0.4916 GB, free: 7.887 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.116e-05/0.1592, allocations: 15.89 kB / 0.4917 GB, free: 7.871 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.042e-05/0.1593, allocations: 34.75 kB / 0.4917 GB, free: 7.828 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.296e-05/0.1593, allocations: 40.66 kB / 0.4917 GB, free: 7.789 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003811/0.1597, allocations: 304.6 kB / 0.492 GB, free: 7.449 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.1598, allocations: 384 / 0.492 GB, free: 7.449 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.997e-05/0.1598, allocations: 20.05 kB / 0.492 GB, free: 7.43 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001682/0.16, allocations: 53.61 kB / 0.4921 GB, free: 7.371 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.16, allocations: 4 kB / 0.4921 GB, free: 7.367 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.704e-06/0.16, allocations: 0 / 0.4921 GB, free: 7.367 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.16, allocations: 0 / 0.4921 GB, free: 7.367 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001025/0.1601, allocations: 27.98 kB / 0.4921 GB, free: 7.34 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005638/0.1607, allocations: 392.6 kB / 0.4925 GB, free: 6.906 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002071/0.1609, allocations: 46.5 kB / 0.4925 GB, free: 6.852 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.121e-05/0.161, allocations: 16.86 kB / 0.4926 GB, free: 6.832 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.76e-05/0.161, allocations: 0 / 0.4926 GB, free: 6.832 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.082e-05/0.161, allocations: 38.64 kB / 0.4926 GB, free: 6.785 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 8.02e-07/0.161, allocations: 0 / 0.4926 GB, free: 6.785 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006513/0.1617, allocations: 224.7 kB / 0.4928 GB, free: 6.559 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.816e-05/0.1618, allocations: 55.41 kB / 0.4929 GB, free: 6.492 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000948/0.1627, allocations: 0.8691 MB / 0.4937 GB, free: 5.609 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.1627, allocations: 25.7 kB / 0.4937 GB, free: 5.578 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002115/0.163, allocations: 220.1 kB / 0.4939 GB, free: 5.359 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.658e-05/0.163, allocations: 15.84 kB / 0.494 GB, free: 5.344 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.124e-05/0.163, allocations: 17.72 kB / 0.494 GB, free: 5.32 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002558/0.1633, allocations: 358.8 kB / 0.4943 GB, free: 4.961 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.296e-05/0.1634, allocations: 19.98 kB / 0.4943 GB, free: 4.941 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.472e-05/0.1635, allocations: 27.98 kB / 0.4944 GB, free: 4.914 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001434/0.1636, allocations: 60.89 kB / 0.4944 GB, free: 4.852 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.1636, allocations: 0 / 0.4944 GB, free: 4.852 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002559/0.1639, allocations: 109.4 kB / 0.4945 GB, free: 4.738 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.1639, allocations: 8 kB / 0.4945 GB, free: 4.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.84e-06/0.1639, allocations: 0 / 0.4945 GB, free: 4.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.1639, allocations: 0 / 0.4945 GB, free: 4.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.538e-05/0.164, allocations: 15.98 kB / 0.4945 GB, free: 4.715 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/0.164, allocations: 3.938 kB / 0.4945 GB, free: 4.711 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.558e-05/0.1641, allocations: 4 kB / 0.4946 GB, free: 4.707 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.1641, allocations: 4 kB / 0.4946 GB, free: 4.703 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 (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.0002067/0.1643, allocations: 217.6 kB / 0.4948 GB, free: 4.48 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.001e-05/0.1644, allocations: 47.67 kB / 0.4948 GB, free: 4.434 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003211/0.1647, allocations: 137.1 kB / 0.4949 GB, free: 4.293 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.722e-06/0.1647, allocations: 7.922 kB / 0.4949 GB, free: 4.285 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.1647, allocations: 3.938 kB / 0.4949 GB, free: 4.281 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.1647, allocations: 0 / 0.4949 GB, free: 4.281 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006478/0.1654, allocations: 454.4 kB / 0.4954 GB, free: 3.781 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.1654, allocations: 0 / 0.4954 GB, free: 3.781 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.448e-05/0.1655, allocations: 11.98 kB / 0.4954 GB, free: 3.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.515e-06/0.1655, allocations: 7.938 kB / 0.4954 GB, free: 3.762 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.1655, allocations: 4 kB / 0.4954 GB, free: 3.758 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.1655, allocations: 192 / 0.4954 GB, free: 3.758 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.1655, allocations: 4 kB / 0.4954 GB, free: 3.754 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002746/0.1658, allocations: 207.2 kB / 0.4956 GB, free: 3.535 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001109/0.1659, allocations: 116.8 kB / 0.4957 GB, free: 3.402 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.313e-05/0.166, allocations: 7.938 kB / 0.4957 GB, free: 3.395 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.092e-05/0.166, allocations: 7.938 kB / 0.4957 GB, free: 3.387 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.265e-05/0.1661, allocations: 8.266 kB / 0.4957 GB, free: 3.379 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-06/0.1661, allocations: 0 / 0.4957 GB, free: 3.379 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007115/0.1668, allocations: 0.655 MB / 0.4964 GB, free: 2.727 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1668, allocations: 0 / 0.4964 GB, free: 2.727 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000253/0.1671, allocations: 23.92 kB / 0.4964 GB, free: 2.703 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 (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.001975/0.1691, allocations: 1.064 MB / 0.4974 GB, free: 1.66 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002167/0.1693, allocations: 47.91 kB / 0.4975 GB, free: 1.613 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1693, allocations: 0 / 0.4975 GB, free: 1.613 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.641e-05/0.1694, allocations: 23.98 kB / 0.4975 GB, free: 1.59 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005196/0.1699, allocations: 33.48 kB / 0.4975 GB, free: 1.559 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004184/0.1741, allocations: 3.203 MB / 0.5007 GB, free: 14.27 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005017/0.1746, allocations: 0.8182 MB / 0.5015 GB, free: 13.42 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.189e-05/0.1747, allocations: 15.97 kB / 0.5015 GB, free: 13.41 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001359/0.1748, allocations: 99.41 kB / 0.5016 GB, free: 13.31 MB / 398.1 MB Notification: Performance of SimCode: time 2.535e-06/0.1748, allocations: 4 kB / 0.5016 GB, free: 13.3 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03096/0.2058, allocations: 5.966 MB / 0.5074 GB, free: 7.312 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.428/8.634, allocations: 3.906 kB / 0.5074 GB, free: 7.309 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test2_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test2.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches