Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test11.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.CombiTable1D.Test11,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test11,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test11",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.001257/0.001257, allocations: 105.3 kB / 16.41 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.001206/0.001206, allocations: 189.5 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.501/1.501, 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.2348/0.2348, allocations: 43.52 MB / 314.1 MB, free: 460 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.002019/0.002019, allocations: 73.45 kB / 441.3 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1179, allocations: 57.8 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test11): time 0.002882/0.1208, allocations: 1.542 MB / 0.4889 GB, free: 10.72 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006472/0.1215, allocations: 323.5 kB / 0.4892 GB, free: 10.4 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.402e-05/0.1215, allocations: 0 / 0.4892 GB, free: 10.4 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002789/0.1218, allocations: 39.83 kB / 0.4893 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002074/0.1221, allocations: 31.78 kB / 0.4893 GB, free: 10.33 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003351/0.1224, allocations: 103.8 kB / 0.4894 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001596/0.1226, allocations: 47.91 kB / 0.4895 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001443/0.1227, allocations: 15.97 kB / 0.4895 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.083e-05/0.1228, allocations: 23.86 kB / 0.4895 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.645e-05/0.1229, allocations: 15.92 kB / 0.4895 GB, free: 10.12 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.951e-05/0.1229, allocations: 4 kB / 0.4895 GB, free: 10.12 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.689e-05/0.123, allocations: 39.92 kB / 0.4895 GB, free: 10.08 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.449e-05/0.1231, allocations: 11.92 kB / 0.4896 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.618e-05/0.1231, allocations: 27.81 kB / 0.4896 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002356/0.1234, allocations: 79.66 kB / 0.4897 GB, free: 9.965 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.583e-06/0.1234, allocations: 0 / 0.4897 GB, free: 9.965 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1234, allocations: 0 / 0.4897 GB, free: 9.965 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.939e-06/0.1234, allocations: 0 / 0.4897 GB, free: 9.965 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.0005911/0.124, allocations: 387 kB / 0.49 GB, free: 9.539 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.979e-05/0.1241, allocations: 11.89 kB / 0.49 GB, free: 9.527 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.279e-05/0.1241, allocations: 34.75 kB / 0.4901 GB, free: 9.484 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.673e-05/0.1242, allocations: 12.89 kB / 0.4901 GB, free: 9.473 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002453/0.1244, allocations: 200.1 kB / 0.4903 GB, free: 9.238 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.475e-05/0.1245, allocations: 8.359 kB / 0.4903 GB, free: 9.23 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/0.1245, allocations: 384 / 0.4903 GB, free: 9.23 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001568/0.1247, allocations: 49.62 kB / 0.4903 GB, free: 9.176 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.1247, allocations: 0 / 0.4903 GB, free: 9.176 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.677e-06/0.1247, allocations: 0 / 0.4903 GB, free: 9.176 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.1247, allocations: 0 / 0.4903 GB, free: 9.176 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.848e-05/0.1248, allocations: 23.98 kB / 0.4904 GB, free: 9.152 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004631/0.1253, allocations: 296.8 kB / 0.4906 GB, free: 8.812 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002504/0.1255, allocations: 38.56 kB / 0.4907 GB, free: 8.766 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.855e-05/0.1256, allocations: 20.94 kB / 0.4907 GB, free: 8.742 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.017e-05/0.1256, allocations: 0 / 0.4907 GB, free: 8.742 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.058e-05/0.1257, allocations: 34.56 kB / 0.4907 GB, free: 8.699 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.1257, allocations: 4 kB / 0.4907 GB, free: 8.695 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006093/0.1263, allocations: 145.4 kB / 0.4909 GB, free: 8.547 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.85e-05/0.1264, allocations: 55.41 kB / 0.4909 GB, free: 8.48 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001888/0.1266, allocations: 165.8 kB / 0.4911 GB, free: 8.309 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.773e-05/0.1266, allocations: 25.7 kB / 0.4911 GB, free: 8.277 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.614e-05/0.1267, allocations: 96.14 kB / 0.4912 GB, free: 8.18 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.783e-05/0.1267, allocations: 19.84 kB / 0.4912 GB, free: 8.16 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.223e-05/0.1268, allocations: 21.72 kB / 0.4912 GB, free: 8.133 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001582/0.1269, allocations: 326.7 kB / 0.4916 GB, free: 7.805 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.668e-05/0.127, allocations: 23.92 kB / 0.4916 GB, free: 7.781 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.507e-05/0.1271, allocations: 19.98 kB / 0.4916 GB, free: 7.762 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001455/0.1272, allocations: 56.77 kB / 0.4916 GB, free: 7.703 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.1272, allocations: 0 / 0.4916 GB, free: 7.703 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002011/0.1275, allocations: 89.86 kB / 0.4917 GB, free: 7.609 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/0.1275, allocations: 8 kB / 0.4917 GB, free: 7.602 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.1275, allocations: 0 / 0.4917 GB, free: 7.602 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.1275, allocations: 0 / 0.4917 GB, free: 7.602 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.182e-05/0.1276, allocations: 11.98 kB / 0.4918 GB, free: 7.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.1276, allocations: 3.938 kB / 0.4918 GB, free: 7.586 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.432e-05/0.1277, allocations: 12 kB / 0.4918 GB, free: 7.574 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.124e-05/0.1277, allocations: 7.938 kB / 0.4918 GB, free: 7.566 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.000101/0.1278, allocations: 121.8 kB / 0.4919 GB, free: 7.438 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.03e-05/0.1278, allocations: 7.953 kB / 0.4919 GB, free: 7.43 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002556/0.1281, allocations: 93.97 kB / 0.492 GB, free: 7.328 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.1281, allocations: 0 / 0.492 GB, free: 7.328 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.1281, allocations: 0 / 0.492 GB, free: 7.328 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.1281, allocations: 0 / 0.492 GB, free: 7.328 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004689/0.1286, allocations: 366.4 kB / 0.4923 GB, free: 6.914 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1286, allocations: 0 / 0.4923 GB, free: 6.914 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.108e-05/0.1287, allocations: 11.98 kB / 0.4923 GB, free: 6.902 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.1287, allocations: 0 / 0.4923 GB, free: 6.902 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.1287, allocations: 4 kB / 0.4924 GB, free: 6.898 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.1287, allocations: 3.938 kB / 0.4924 GB, free: 6.895 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.1287, allocations: 0 / 0.4924 GB, free: 6.895 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002629/0.129, allocations: 191.4 kB / 0.4925 GB, free: 6.691 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.704e-05/0.129, allocations: 81.25 kB / 0.4926 GB, free: 6.594 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.904e-05/0.1291, allocations: 4 kB / 0.4926 GB, free: 6.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.281e-05/0.1291, allocations: 12.2 kB / 0.4926 GB, free: 6.578 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.761e-05/0.1292, allocations: 4 kB / 0.4926 GB, free: 6.574 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.878e-06/0.1292, allocations: 0 / 0.4926 GB, free: 6.574 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00012/0.1293, allocations: 130.7 kB / 0.4928 GB, free: 6.449 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1293, allocations: 4 kB / 0.4928 GB, free: 6.445 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002507/0.1296, allocations: 19.92 kB / 0.4928 GB, free: 6.426 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.001955/0.1315, allocations: 1.013 MB / 0.4938 GB, free: 5.43 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002265/0.1318, allocations: 59.95 kB / 0.4938 GB, free: 5.371 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1318, allocations: 0 / 0.4938 GB, free: 5.371 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.444e-05/0.1319, allocations: 27.98 kB / 0.4939 GB, free: 5.344 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000406/0.1323, allocations: 31.3 kB / 0.4939 GB, free: 5.316 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001804/0.1341, allocations: 1.472 MB / 0.4953 GB, free: 3.762 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003477/0.1345, allocations: 0.7041 MB / 0.496 GB, free: 3.031 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.666e-05/0.1346, allocations: 16.05 kB / 0.496 GB, free: 3.016 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.953e-05/0.1346, allocations: 23.42 kB / 0.496 GB, free: 2.992 MB / 382.1 MB Notification: Performance of SimCode: time 2.434e-06/0.1346, allocations: 0 / 0.496 GB, free: 2.992 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02537/0.16, allocations: 2.575 MB / 0.4986 GB, free: 408 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.731/7.891, allocations: 7.953 kB / 0.4986 GB, free: 400 kB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test11.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test11.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test11.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test11_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test11.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test11_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches