Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.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.Test7,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test7,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test7",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.001151/0.001151, allocations: 106.8 kB / 16.41 MB, free: 6.508 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.001226/0.001226, 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.465/1.465, 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.219/0.219, allocations: 43.53 MB / 314.1 MB, free: 448 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.002106/0.002106, allocations: 65.47 kB / 441.3 MB, free: 6.125 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1315, allocations: 57.8 MB / 499.1 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test7): time 0.003791/0.1354, allocations: 1.569 MB / 0.489 GB, free: 10.67 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007333/0.1361, allocations: 299.7 kB / 0.4892 GB, free: 10.37 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001031/0.1363, allocations: 0 / 0.4892 GB, free: 10.37 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007336/0.137, allocations: 451.2 kB / 0.4897 GB, free: 9.93 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005047/0.1376, allocations: 259.4 kB / 0.4899 GB, free: 9.676 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004069/0.138, allocations: 107.8 kB / 0.49 GB, free: 9.57 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003419/0.1384, allocations: 151.7 kB / 0.4902 GB, free: 9.422 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001384/0.1385, allocations: 15.98 kB / 0.4902 GB, free: 9.406 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002547/0.1388, allocations: 103.8 kB / 0.4903 GB, free: 9.305 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003317/0.1391, allocations: 207.6 kB / 0.4905 GB, free: 9.102 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.68e-05/0.1391, allocations: 4 kB / 0.4905 GB, free: 9.098 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.353e-05/0.1392, allocations: 19.98 kB / 0.4905 GB, free: 9.078 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001206/0.1394, allocations: 83.7 kB / 0.4906 GB, free: 8.996 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001006/0.1395, allocations: 103 kB / 0.4907 GB, free: 8.895 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003598/0.1398, allocations: 242.7 kB / 0.4909 GB, free: 8.656 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.385e-06/0.1399, allocations: 0 / 0.4909 GB, free: 8.656 MB / 382.1 MB Notification: Performance of FrontEnd: time 5.751e-06/0.1399, allocations: 0 / 0.4909 GB, free: 8.656 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.388e-05/0.1399, allocations: 3.938 kB / 0.4909 GB, free: 8.652 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0009494/0.1409, allocations: 0.6375 MB / 0.4915 GB, free: 7.965 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.922e-05/0.1409, allocations: 11.89 kB / 0.4915 GB, free: 7.953 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.278e-05/0.141, allocations: 30.75 kB / 0.4916 GB, free: 7.914 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.382e-05/0.1411, allocations: 52.66 kB / 0.4916 GB, free: 7.863 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00036/0.1414, allocations: 304.6 kB / 0.4919 GB, free: 7.523 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.759e-06/0.1415, allocations: 4.312 kB / 0.4919 GB, free: 7.52 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.948e-06/0.1415, allocations: 4.375 kB / 0.4919 GB, free: 7.516 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001773/0.1417, allocations: 45.62 kB / 0.492 GB, free: 7.465 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.1417, allocations: 0 / 0.492 GB, free: 7.465 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.1417, allocations: 3.938 kB / 0.492 GB, free: 7.461 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.1417, allocations: 4 kB / 0.492 GB, free: 7.457 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.903e-05/0.1418, allocations: 19.98 kB / 0.492 GB, free: 7.438 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005216/0.1423, allocations: 380.8 kB / 0.4924 GB, free: 7.016 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.2e-05/0.1424, allocations: 26.58 kB / 0.4924 GB, free: 6.98 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.185e-05/0.1425, allocations: 20.84 kB / 0.4924 GB, free: 6.957 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.424e-05/0.1425, allocations: 0 / 0.4924 GB, free: 6.957 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.387e-05/0.1426, allocations: 30.56 kB / 0.4924 GB, free: 6.918 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.1426, allocations: 4 kB / 0.4924 GB, free: 6.914 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003036/0.1429, allocations: 97.41 kB / 0.4925 GB, free: 6.812 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.334e-05/0.1429, allocations: 55.39 kB / 0.4926 GB, free: 6.746 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008578/0.1438, allocations: 0.8575 MB / 0.4934 GB, free: 5.875 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.403e-05/0.1439, allocations: 25.7 kB / 0.4934 GB, free: 5.844 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001673/0.1441, allocations: 224.1 kB / 0.4937 GB, free: 5.621 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.666e-05/0.1441, allocations: 11.89 kB / 0.4937 GB, free: 5.609 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.765e-05/0.1441, allocations: 13.84 kB / 0.4937 GB, free: 5.59 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.1443, allocations: 362.7 kB / 0.494 GB, free: 5.227 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.735e-05/0.1443, allocations: 15.92 kB / 0.494 GB, free: 5.211 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.28e-05/0.1444, allocations: 8 kB / 0.494 GB, free: 5.203 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.365e-05/0.1445, allocations: 24.78 kB / 0.4941 GB, free: 5.176 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.1445, allocations: 0 / 0.4941 GB, free: 5.176 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001694/0.1447, allocations: 97.45 kB / 0.4942 GB, free: 5.074 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.1447, allocations: 4 kB / 0.4942 GB, free: 5.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.1447, allocations: 0 / 0.4942 GB, free: 5.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.1447, allocations: 0 / 0.4942 GB, free: 5.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.141e-05/0.1448, allocations: 4 kB / 0.4942 GB, free: 5.066 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/0.1448, allocations: 11.98 kB / 0.4942 GB, free: 5.055 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.535e-05/0.1449, allocations: 4 kB / 0.4942 GB, free: 5.051 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/0.1449, allocations: 0 / 0.4942 GB, free: 5.051 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 (2): * Single equations (assignments): 2 * 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.0001761/0.1451, allocations: 225.6 kB / 0.4944 GB, free: 4.82 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.749e-05/0.1451, allocations: 43.72 kB / 0.4944 GB, free: 4.777 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002027/0.1453, allocations: 100.6 kB / 0.4945 GB, free: 4.672 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.1453, allocations: 3.938 kB / 0.4945 GB, free: 4.668 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.257e-06/0.1454, allocations: 7.984 kB / 0.4946 GB, free: 4.66 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.1454, allocations: 0 / 0.4946 GB, free: 4.66 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002734/0.1456, allocations: 281.5 kB / 0.4948 GB, free: 4.336 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.1457, allocations: 0 / 0.4948 GB, free: 4.336 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.672e-05/0.1457, allocations: 7.984 kB / 0.4948 GB, free: 4.328 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.1457, allocations: 4.031 kB / 0.4948 GB, free: 4.324 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.1457, allocations: 0 / 0.4948 GB, free: 4.324 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/0.1457, allocations: 4 kB / 0.4948 GB, free: 4.32 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1457, allocations: 0 / 0.4948 GB, free: 4.32 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000199/0.1459, allocations: 191.1 kB / 0.495 GB, free: 4.117 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001298/0.1461, allocations: 112.8 kB / 0.4951 GB, free: 3.988 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.46e-05/0.1461, allocations: 0 / 0.4951 GB, free: 3.988 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.619e-05/0.1462, allocations: 8.031 kB / 0.4951 GB, free: 3.98 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.55e-05/0.1462, allocations: 0 / 0.4951 GB, free: 3.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-06/0.1462, allocations: 0 / 0.4951 GB, free: 3.98 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006757/0.1469, allocations: 0.655 MB / 0.4958 GB, free: 3.328 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.1469, allocations: 0 / 0.4958 GB, free: 3.328 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002461/0.1472, allocations: 19.94 kB / 0.4958 GB, free: 3.309 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 (2): * Single equations (assignments): 2 * 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.001137/0.1483, allocations: 0.972 MB / 0.4967 GB, free: 2.352 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001482/0.1485, allocations: 19.98 kB / 0.4968 GB, free: 2.332 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.1485, allocations: 3.938 kB / 0.4968 GB, free: 2.328 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.737e-05/0.1486, allocations: 15.98 kB / 0.4968 GB, free: 2.312 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004317/0.149, allocations: 29.89 kB / 0.4968 GB, free: 2.281 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003572/0.1526, allocations: 3.122 MB / 0.4999 GB, free: 15.07 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003974/0.153, allocations: 0.8182 MB / 0.5007 GB, free: 14.23 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.129e-05/0.153, allocations: 7.938 kB / 0.5007 GB, free: 14.22 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001224/0.1532, allocations: 111.4 kB / 0.5008 GB, free: 14.11 MB / 398.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1532, allocations: 0 / 0.5008 GB, free: 14.11 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02579/0.179, allocations: 5.685 MB / 0.5063 GB, free: 8.406 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.094/8.273, allocations: 8.062 kB / 0.5063 GB, free: 8.398 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7_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_Test7.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches