Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test15.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.CombiTable1Ds.Test15,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test15,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test15",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.001226/0.001226, allocations: 102.6 kB / 16.4 MB, free: 6.465 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.001174/0.001174, allocations: 192.2 kB / 17.34 MB, free: 5.715 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.604/1.604, 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.2279/0.2279, allocations: 43.53 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.001437/0.001437, allocations: 69.41 kB / 441.3 MB, free: 6.137 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1345, allocations: 57.79 MB / 499.1 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test15): time 0.003906/0.1385, allocations: 1.553 MB / 0.4889 GB, free: 10.72 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007437/0.1393, allocations: 323.4 kB / 0.4892 GB, free: 10.4 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.743e-05/0.1394, allocations: 0 / 0.4892 GB, free: 10.4 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003455/0.1398, allocations: 79.7 kB / 0.4893 GB, free: 10.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002494/0.14, allocations: 55.81 kB / 0.4894 GB, free: 10.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003191/0.1404, allocations: 79.78 kB / 0.4894 GB, free: 10.19 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002118/0.1406, allocations: 67.88 kB / 0.4895 GB, free: 10.12 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001344/0.1407, allocations: 19.97 kB / 0.4895 GB, free: 10.1 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.128e-05/0.1408, allocations: 31.86 kB / 0.4896 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001332/0.141, allocations: 47.88 kB / 0.4896 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.093e-05/0.141, allocations: 4 kB / 0.4896 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001189/0.1411, allocations: 27.98 kB / 0.4896 GB, free: 9.992 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.699e-05/0.1412, allocations: 23.84 kB / 0.4897 GB, free: 9.969 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.753e-05/0.1413, allocations: 31.75 kB / 0.4897 GB, free: 9.938 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002241/0.1415, allocations: 87.61 kB / 0.4898 GB, free: 9.852 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1415, allocations: 0 / 0.4898 GB, free: 9.852 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1415, allocations: 4 kB / 0.4898 GB, free: 9.848 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.1415, allocations: 0 / 0.4898 GB, free: 9.848 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.0005532/0.1421, allocations: 394.9 kB / 0.4901 GB, free: 9.414 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.1421, allocations: 11.89 kB / 0.4902 GB, free: 9.402 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.848e-05/0.1422, allocations: 38.75 kB / 0.4902 GB, free: 9.355 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.295e-05/0.1422, allocations: 12.84 kB / 0.4902 GB, free: 9.344 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002128/0.1425, allocations: 200.1 kB / 0.4904 GB, free: 9.109 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.1425, allocations: 4.375 kB / 0.4904 GB, free: 9.105 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.951e-05/0.1425, allocations: 4.375 kB / 0.4904 GB, free: 9.102 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001499/0.1427, allocations: 45.62 kB / 0.4904 GB, free: 9.051 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.1427, allocations: 4 kB / 0.4905 GB, free: 9.047 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.1427, allocations: 0 / 0.4905 GB, free: 9.047 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.1427, allocations: 0 / 0.4905 GB, free: 9.047 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.687e-05/0.1428, allocations: 19.98 kB / 0.4905 GB, free: 9.027 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00041/0.1432, allocations: 284.8 kB / 0.4907 GB, free: 8.699 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002283/0.1435, allocations: 50.53 kB / 0.4908 GB, free: 8.641 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.478e-05/0.1435, allocations: 16.84 kB / 0.4908 GB, free: 8.621 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.444e-05/0.1436, allocations: 0 / 0.4908 GB, free: 8.621 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.761e-05/0.1436, allocations: 38.56 kB / 0.4908 GB, free: 8.574 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/0.1436, allocations: 0 / 0.4908 GB, free: 8.574 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005947/0.1442, allocations: 145.4 kB / 0.491 GB, free: 8.426 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.069e-05/0.1443, allocations: 51.41 kB / 0.491 GB, free: 8.363 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002081/0.1445, allocations: 202.2 kB / 0.4912 GB, free: 8.156 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.599e-05/0.1445, allocations: 29.69 kB / 0.4913 GB, free: 8.121 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.092e-05/0.1446, allocations: 100.1 kB / 0.4913 GB, free: 8.02 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.304e-05/0.1446, allocations: 23.83 kB / 0.4914 GB, free: 7.996 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.739e-05/0.1447, allocations: 17.72 kB / 0.4914 GB, free: 7.973 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.1448, allocations: 326.8 kB / 0.4917 GB, free: 7.645 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.949e-05/0.1449, allocations: 15.98 kB / 0.4917 GB, free: 7.629 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.756e-05/0.145, allocations: 23.92 kB / 0.4917 GB, free: 7.605 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001297/0.1451, allocations: 48.77 kB / 0.4918 GB, free: 7.555 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.1451, allocations: 0 / 0.4918 GB, free: 7.555 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001922/0.1453, allocations: 85.62 kB / 0.4919 GB, free: 7.465 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.1454, allocations: 4 kB / 0.4919 GB, free: 7.461 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.1454, allocations: 0 / 0.4919 GB, free: 7.461 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.1454, allocations: 0 / 0.4919 GB, free: 7.461 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.391e-05/0.1455, allocations: 15.98 kB / 0.4919 GB, free: 7.445 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.1455, allocations: 0 / 0.4919 GB, free: 7.445 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.942e-05/0.1455, allocations: 4 kB / 0.4919 GB, free: 7.441 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.894e-06/0.1455, allocations: 3.938 kB / 0.4919 GB, free: 7.438 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.0001793/0.1457, allocations: 133.7 kB / 0.492 GB, free: 7.297 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.116e-05/0.1458, allocations: 15.91 kB / 0.492 GB, free: 7.281 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002313/0.146, allocations: 89.97 kB / 0.4921 GB, free: 7.184 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.146, allocations: 0 / 0.4921 GB, free: 7.184 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.146, allocations: 320 / 0.4921 GB, free: 7.184 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.146, allocations: 288 / 0.4921 GB, free: 7.184 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005069/0.1466, allocations: 366.4 kB / 0.4925 GB, free: 6.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.1466, allocations: 0 / 0.4925 GB, free: 6.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.278e-05/0.1466, allocations: 8 kB / 0.4925 GB, free: 6.762 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.977e-06/0.1466, allocations: 7.984 kB / 0.4925 GB, free: 6.754 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.1467, allocations: 7.922 kB / 0.4925 GB, free: 6.746 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.828e-06/0.1467, allocations: 3.938 kB / 0.4925 GB, free: 6.742 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.1467, allocations: 0 / 0.4925 GB, free: 6.742 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003365/0.147, allocations: 179.4 kB / 0.4927 GB, free: 6.551 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.847e-05/0.1471, allocations: 89.02 kB / 0.4928 GB, free: 6.445 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.705e-05/0.1471, allocations: 0 / 0.4928 GB, free: 6.445 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.05e-05/0.1472, allocations: 15.92 kB / 0.4928 GB, free: 6.43 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.473e-05/0.1472, allocations: 0 / 0.4928 GB, free: 6.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.73e-06/0.1472, allocations: 4 kB / 0.4928 GB, free: 6.426 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00013/0.1474, allocations: 164 kB / 0.4929 GB, free: 6.266 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1474, allocations: 0 / 0.4929 GB, free: 6.266 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002416/0.1476, allocations: 11.98 kB / 0.4929 GB, free: 6.254 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.001436/0.1491, allocations: 1.001 MB / 0.4939 GB, free: 5.27 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002066/0.1493, allocations: 47.91 kB / 0.494 GB, free: 5.223 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1493, allocations: 4 kB / 0.494 GB, free: 5.219 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.493e-05/0.1494, allocations: 23.98 kB / 0.494 GB, free: 5.195 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003994/0.1498, allocations: 31.73 kB / 0.494 GB, free: 5.164 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001871/0.1517, allocations: 1.562 MB / 0.4955 GB, free: 3.523 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004312/0.1521, allocations: 0.6963 MB / 0.4962 GB, free: 2.801 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.423e-05/0.1522, allocations: 12.05 kB / 0.4962 GB, free: 2.789 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.786e-05/0.1523, allocations: 31.42 kB / 0.4963 GB, free: 2.758 MB / 382.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1523, allocations: 0 / 0.4963 GB, free: 2.758 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02273/0.175, allocations: 2.719 MB / 0.4989 GB, free: 20 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.637/7.813, allocations: 3.938 kB / 0.4989 GB, free: 16 kB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test15.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test15_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0012 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test15.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test15_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches