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.001306/0.001306, allocations: 102.8 kB / 16.41 MB, free: 6 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.00122/0.00122, allocations: 192.3 kB / 17.34 MB, free: 5.582 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.548/1.548, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.2448/0.2448, allocations: 43.52 MB / 314.1 MB, free: 464 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.00199/0.001991, allocations: 77.45 kB / 441.3 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1366, allocations: 57.79 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test2): time 0.003462/0.1401, allocations: 1.604 MB / 0.489 GB, free: 10.66 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006728/0.1408, allocations: 327.5 kB / 0.4893 GB, free: 10.33 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.941e-05/0.1409, allocations: 0 / 0.4893 GB, free: 10.33 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000618/0.1415, allocations: 451.2 kB / 0.4897 GB, free: 9.891 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003776/0.1419, allocations: 251.4 kB / 0.49 GB, free: 9.645 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003162/0.1422, allocations: 119.7 kB / 0.4901 GB, free: 9.527 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002438/0.1425, allocations: 151.7 kB / 0.4902 GB, free: 9.379 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.1426, allocations: 16.17 kB / 0.4902 GB, free: 9.363 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001295/0.1427, allocations: 111.8 kB / 0.4903 GB, free: 9.254 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002658/0.143, allocations: 211.6 kB / 0.4906 GB, free: 9.047 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.297e-05/0.143, allocations: 4 kB / 0.4906 GB, free: 9.043 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.687e-05/0.1431, allocations: 28 kB / 0.4906 GB, free: 9.016 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001137/0.1432, allocations: 79.67 kB / 0.4907 GB, free: 8.938 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.442e-05/0.1433, allocations: 103 kB / 0.4908 GB, free: 8.836 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003511/0.1437, allocations: 262.6 kB / 0.491 GB, free: 8.578 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.1437, allocations: 4 kB / 0.491 GB, free: 8.574 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1437, allocations: 0 / 0.491 GB, free: 8.574 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.1437, allocations: 0 / 0.491 GB, free: 8.574 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.000812/0.1445, allocations: 0.6491 MB / 0.4916 GB, free: 7.875 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.1446, allocations: 15.83 kB / 0.4917 GB, free: 7.859 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.327e-05/0.1446, allocations: 34.75 kB / 0.4917 GB, free: 7.816 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.233e-05/0.1447, allocations: 40.66 kB / 0.4917 GB, free: 7.777 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003277/0.145, allocations: 304.6 kB / 0.492 GB, free: 7.438 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.1451, allocations: 4.312 kB / 0.492 GB, free: 7.434 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.274e-05/0.1451, allocations: 8.125 kB / 0.492 GB, free: 7.426 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001618/0.1453, allocations: 57.66 kB / 0.4921 GB, free: 7.363 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.1453, allocations: 0 / 0.4921 GB, free: 7.363 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.943e-06/0.1453, allocations: 0 / 0.4921 GB, free: 7.363 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.1453, allocations: 4 kB / 0.4921 GB, free: 7.359 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.725e-05/0.1454, allocations: 27.92 kB / 0.4921 GB, free: 7.332 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005166/0.1459, allocations: 384.6 kB / 0.4925 GB, free: 6.906 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002104/0.1462, allocations: 46.55 kB / 0.4925 GB, free: 6.852 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.403e-05/0.1462, allocations: 16.84 kB / 0.4925 GB, free: 6.832 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.078e-05/0.1462, allocations: 7.938 kB / 0.4926 GB, free: 6.824 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.675e-05/0.1463, allocations: 34.56 kB / 0.4926 GB, free: 6.781 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.143e-06/0.1463, allocations: 0 / 0.4926 GB, free: 6.781 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006539/0.1469, allocations: 228.8 kB / 0.4928 GB, free: 6.551 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.056e-05/0.147, allocations: 51.41 kB / 0.4929 GB, free: 6.488 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001056/0.1481, allocations: 0.8691 MB / 0.4937 GB, free: 5.605 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.536e-05/0.1481, allocations: 29.7 kB / 0.4937 GB, free: 5.57 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002252/0.1483, allocations: 220.1 kB / 0.4939 GB, free: 5.352 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.225e-05/0.1484, allocations: 19.84 kB / 0.494 GB, free: 5.332 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.72e-05/0.1484, allocations: 13.72 kB / 0.494 GB, free: 5.312 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002468/0.1487, allocations: 362.8 kB / 0.4943 GB, free: 4.949 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.114e-05/0.1488, allocations: 23.98 kB / 0.4943 GB, free: 4.926 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.1e-05/0.1489, allocations: 27.92 kB / 0.4944 GB, free: 4.898 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001318/0.149, allocations: 40.83 kB / 0.4944 GB, free: 4.855 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.149, allocations: 0 / 0.4944 GB, free: 4.855 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002439/0.1493, allocations: 121.3 kB / 0.4945 GB, free: 4.73 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.1493, allocations: 4 kB / 0.4945 GB, free: 4.727 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.1493, allocations: 3.984 kB / 0.4945 GB, free: 4.723 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/0.1493, allocations: 4.25 kB / 0.4945 GB, free: 4.719 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.596e-05/0.1494, allocations: 15.98 kB / 0.4945 GB, free: 4.703 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/0.1494, allocations: 7.938 kB / 0.4946 GB, free: 4.695 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.38e-05/0.1495, allocations: 4 kB / 0.4946 GB, free: 4.691 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-06/0.1495, allocations: 0 / 0.4946 GB, free: 4.691 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.0002248/0.1497, allocations: 217.7 kB / 0.4948 GB, free: 4.469 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.624e-05/0.1498, allocations: 47.67 kB / 0.4948 GB, free: 4.422 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002937/0.1501, allocations: 132.9 kB / 0.4949 GB, free: 4.285 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.95e-06/0.1501, allocations: 8 kB / 0.4949 GB, free: 4.277 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.862e-06/0.1501, allocations: 3.938 kB / 0.495 GB, free: 4.273 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.319e-06/0.1501, allocations: 0 / 0.495 GB, free: 4.273 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000604/0.1507, allocations: 458.5 kB / 0.4954 GB, free: 3.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1508, allocations: 0 / 0.4954 GB, free: 3.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.522e-05/0.1508, allocations: 12 kB / 0.4954 GB, free: 3.758 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.1508, allocations: 3.938 kB / 0.4954 GB, free: 3.754 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.59e-05/0.1509, allocations: 7.984 kB / 0.4954 GB, free: 3.746 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.1509, allocations: 7.938 kB / 0.4954 GB, free: 3.738 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1509, allocations: 0 / 0.4954 GB, free: 3.738 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000275/0.1512, allocations: 207.2 kB / 0.4956 GB, free: 3.52 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001055/0.1513, allocations: 112.8 kB / 0.4957 GB, free: 3.391 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.603e-05/0.1513, allocations: 3.938 kB / 0.4957 GB, free: 3.387 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.292e-05/0.1514, allocations: 8 kB / 0.4957 GB, free: 3.379 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.453e-05/0.1515, allocations: 12.17 kB / 0.4957 GB, free: 3.367 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-06/0.1515, allocations: 4 kB / 0.4958 GB, free: 3.363 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007248/0.1522, allocations: 0.6472 MB / 0.4964 GB, free: 2.719 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1522, allocations: 0 / 0.4964 GB, free: 2.719 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002604/0.1525, allocations: 27.94 kB / 0.4964 GB, free: 2.691 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.00204/0.1545, allocations: 1.053 MB / 0.4974 GB, free: 1.652 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002032/0.1547, allocations: 43.97 kB / 0.4975 GB, free: 1.609 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1547, allocations: 0 / 0.4975 GB, free: 1.609 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.684e-05/0.1548, allocations: 27.92 kB / 0.4975 GB, free: 1.582 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004156/0.1553, allocations: 30.14 kB / 0.4975 GB, free: 1.551 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003847/0.1591, allocations: 3.207 MB / 0.5007 GB, free: 14.25 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005031/0.1596, allocations: 0.8182 MB / 0.5015 GB, free: 13.41 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.667e-05/0.1597, allocations: 4 kB / 0.5015 GB, free: 13.41 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001419/0.1598, allocations: 103.4 kB / 0.5016 GB, free: 13.3 MB / 398.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1599, allocations: 3.938 kB / 0.5016 GB, free: 13.3 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02909/0.189, allocations: 5.981 MB / 0.5074 GB, free: 7.301 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.358/8.547, allocations: 3.906 kB / 0.5074 GB, free: 7.297 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 & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 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.csv","/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