Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.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.CombiTable1D.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_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.001561/0.001561, allocations: 109.5 kB / 16.41 MB, free: 6.445 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.001661/0.001661, allocations: 185.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.432/1.432, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.222/0.222, allocations: 43.53 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.001369/0.001369, allocations: 67.91 kB / 441.3 MB, free: 6.164 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1168, allocations: 57.79 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test2): time 0.00277/0.1196, allocations: 1.55 MB / 0.4889 GB, free: 10.74 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006035/0.1202, allocations: 331.4 kB / 0.4892 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.243e-05/0.1203, allocations: 0 / 0.4892 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000216/0.1205, allocations: 23.86 kB / 0.4893 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001663/0.1207, allocations: 35.83 kB / 0.4893 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002599/0.121, allocations: 87.77 kB / 0.4894 GB, free: 10.27 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001349/0.1211, allocations: 63.88 kB / 0.4894 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.1212, allocations: 15.98 kB / 0.4895 GB, free: 10.19 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.62e-05/0.1213, allocations: 23.86 kB / 0.4895 GB, free: 10.17 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.264e-05/0.1213, allocations: 15.88 kB / 0.4895 GB, free: 10.15 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.206e-05/0.1214, allocations: 4 kB / 0.4895 GB, free: 10.15 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.325e-05/0.1214, allocations: 31.97 kB / 0.4895 GB, free: 10.12 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.077e-05/0.1215, allocations: 15.92 kB / 0.4895 GB, free: 10.1 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.538e-05/0.1216, allocations: 19.88 kB / 0.4896 GB, free: 10.08 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001604/0.1217, allocations: 75.67 kB / 0.4896 GB, free: 10.01 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.1217, allocations: 3.938 kB / 0.4896 GB, free: 10 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1217, allocations: 0 / 0.4896 GB, free: 10 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.1218, allocations: 0 / 0.4896 GB, free: 10 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.0004496/0.1222, allocations: 371.1 kB / 0.49 GB, free: 9.594 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.1222, allocations: 11.89 kB / 0.49 GB, free: 9.582 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.769e-05/0.1223, allocations: 42.69 kB / 0.49 GB, free: 9.531 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.829e-05/0.1223, allocations: 4.891 kB / 0.49 GB, free: 9.527 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001805/0.1225, allocations: 192.2 kB / 0.4902 GB, free: 9.301 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.614e-06/0.1225, allocations: 8.375 kB / 0.4902 GB, free: 9.293 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.338e-05/0.1226, allocations: 4.359 kB / 0.4902 GB, free: 9.289 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000128/0.1227, allocations: 49.62 kB / 0.4903 GB, free: 9.234 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.1227, allocations: 0 / 0.4903 GB, free: 9.234 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.1227, allocations: 4 kB / 0.4903 GB, free: 9.23 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.1227, allocations: 3.984 kB / 0.4903 GB, free: 9.227 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.805e-05/0.1228, allocations: 23.98 kB / 0.4903 GB, free: 9.203 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003658/0.1232, allocations: 284.8 kB / 0.4906 GB, free: 8.875 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001869/0.1234, allocations: 42.56 kB / 0.4906 GB, free: 8.824 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.148e-05/0.1235, allocations: 16.94 kB / 0.4906 GB, free: 8.805 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.811e-05/0.1235, allocations: 4 kB / 0.4907 GB, free: 8.801 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.985e-05/0.1235, allocations: 30.56 kB / 0.4907 GB, free: 8.762 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 2.244e-06/0.1235, allocations: 0 / 0.4907 GB, free: 8.762 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005314/0.124, allocations: 149.4 kB / 0.4908 GB, free: 8.609 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.33e-05/0.1241, allocations: 55.41 kB / 0.4909 GB, free: 8.543 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001195/0.1242, allocations: 148.3 kB / 0.491 GB, free: 8.387 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.27e-05/0.1242, allocations: 25.7 kB / 0.491 GB, free: 8.355 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.496e-05/0.1243, allocations: 96.08 kB / 0.4911 GB, free: 8.258 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.288e-05/0.1243, allocations: 23.78 kB / 0.4912 GB, free: 8.234 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.393e-05/0.1244, allocations: 21.72 kB / 0.4912 GB, free: 8.207 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001004/0.1245, allocations: 318.8 kB / 0.4915 GB, free: 7.887 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.818e-05/0.1245, allocations: 23.97 kB / 0.4915 GB, free: 7.863 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.997e-05/0.1246, allocations: 24.05 kB / 0.4915 GB, free: 7.84 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001225/0.1247, allocations: 48.83 kB / 0.4916 GB, free: 7.789 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.1247, allocations: 0 / 0.4916 GB, free: 7.789 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001742/0.1249, allocations: 89.61 kB / 0.4917 GB, free: 7.695 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.125, allocations: 4 kB / 0.4917 GB, free: 7.691 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.125, allocations: 4 kB / 0.4917 GB, free: 7.688 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.125, allocations: 0 / 0.4917 GB, free: 7.688 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.829e-05/0.125, allocations: 11.94 kB / 0.4917 GB, free: 7.676 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.1251, allocations: 0 / 0.4917 GB, free: 7.676 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.935e-05/0.1251, allocations: 11.98 kB / 0.4917 GB, free: 7.664 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.767e-06/0.1251, allocations: 7.922 kB / 0.4917 GB, free: 7.656 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 8.05e-05/0.1252, allocations: 129.7 kB / 0.4918 GB, free: 7.52 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.818e-05/0.1252, allocations: 3.953 kB / 0.4918 GB, free: 7.516 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002347/0.1255, allocations: 97.95 kB / 0.4919 GB, free: 7.41 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.1255, allocations: 0 / 0.4919 GB, free: 7.41 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.1255, allocations: 0 / 0.4919 GB, free: 7.41 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.1255, allocations: 0 / 0.4919 GB, free: 7.41 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004001/0.1259, allocations: 362.4 kB / 0.4923 GB, free: 7 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.1259, allocations: 320 / 0.4923 GB, free: 7 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.415e-05/0.126, allocations: 16 kB / 0.4923 GB, free: 6.984 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.126, allocations: 0 / 0.4923 GB, free: 6.984 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.256e-06/0.126, allocations: 0 / 0.4923 GB, free: 6.984 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.126, allocations: 7.922 kB / 0.4923 GB, free: 6.977 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.126, allocations: 0 / 0.4923 GB, free: 6.977 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002191/0.1262, allocations: 183.4 kB / 0.4925 GB, free: 6.781 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.271e-05/0.1263, allocations: 85.05 kB / 0.4925 GB, free: 6.68 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.653e-05/0.1263, allocations: 4 kB / 0.4925 GB, free: 6.676 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.507e-05/0.1264, allocations: 7.938 kB / 0.4926 GB, free: 6.668 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.553e-05/0.1265, allocations: 7.984 kB / 0.4926 GB, free: 6.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-06/0.1265, allocations: 0 / 0.4926 GB, free: 6.66 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.488e-05/0.1265, allocations: 107.3 kB / 0.4927 GB, free: 6.555 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1266, allocations: 3.938 kB / 0.4927 GB, free: 6.551 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002354/0.1268, allocations: 16 kB / 0.4927 GB, free: 6.535 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.001245/0.128, allocations: 1.008 MB / 0.4937 GB, free: 5.543 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001982/0.1283, allocations: 55.95 kB / 0.4937 GB, free: 5.488 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1283, allocations: 4 kB / 0.4937 GB, free: 5.484 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.389e-05/0.1283, allocations: 27.92 kB / 0.4938 GB, free: 5.457 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003423/0.1287, allocations: 31.66 kB / 0.4938 GB, free: 5.43 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001377/0.1301, allocations: 1.42 MB / 0.4952 GB, free: 3.934 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002613/0.1304, allocations: 0.7002 MB / 0.4959 GB, free: 3.207 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.766e-05/0.1304, allocations: 11.98 kB / 0.4959 GB, free: 3.195 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.7e-05/0.1305, allocations: 19.44 kB / 0.4959 GB, free: 3.176 MB / 382.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1305, allocations: 3.938 kB / 0.4959 GB, free: 3.172 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01817/0.1487, allocations: 2.471 MB / 0.4983 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.404/7.552, allocations: 11.84 kB / 0.4983 GB, free: 0.668 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2_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_Test2.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches