Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.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.CombiTable2Dv.Test25,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test25",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test25,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test25",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.001378/0.001378, allocations: 103.1 kB / 16.4 MB, free: 6.457 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.001279/0.001279, 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.349/1.349, allocations: 205.1 MB / 223.2 MB, free: 12.21 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.2051/0.2051, 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.002056/0.002056, allocations: 73.62 kB / 441.3 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1125, allocations: 57.79 MB / 499.1 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test25): time 0.003079/0.1157, allocations: 1.615 MB / 0.489 GB, free: 10.66 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006672/0.1164, allocations: 339.5 kB / 0.4893 GB, free: 10.32 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.902e-05/0.1164, allocations: 4 kB / 0.4893 GB, free: 10.32 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002888/0.1167, allocations: 55.8 kB / 0.4894 GB, free: 10.26 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001917/0.1169, allocations: 43.83 kB / 0.4894 GB, free: 10.22 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000413/0.1174, allocations: 159.6 kB / 0.4896 GB, free: 10.06 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001717/0.1176, allocations: 75.77 kB / 0.4896 GB, free: 9.988 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001409/0.1177, allocations: 23.97 kB / 0.4897 GB, free: 9.965 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.235e-05/0.1178, allocations: 31.91 kB / 0.4897 GB, free: 9.934 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001017/0.1179, allocations: 39.84 kB / 0.4897 GB, free: 9.895 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.011e-05/0.1179, allocations: 4 kB / 0.4897 GB, free: 9.891 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.619e-05/0.118, allocations: 35.97 kB / 0.4898 GB, free: 9.855 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.527e-05/0.1181, allocations: 19.92 kB / 0.4898 GB, free: 9.836 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.505e-05/0.1182, allocations: 31.73 kB / 0.4898 GB, free: 9.805 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002043/0.1184, allocations: 99.52 kB / 0.4899 GB, free: 9.707 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1184, allocations: 0 / 0.4899 GB, free: 9.707 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1184, allocations: 4 kB / 0.4899 GB, free: 9.703 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.089e-06/0.1184, allocations: 0 / 0.4899 GB, free: 9.703 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.0005855/0.119, allocations: 406.9 kB / 0.4903 GB, free: 9.258 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.119, allocations: 11.89 kB / 0.4903 GB, free: 9.246 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.709e-05/0.1191, allocations: 34.75 kB / 0.4903 GB, free: 9.203 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.409e-05/0.1191, allocations: 8.891 kB / 0.4904 GB, free: 9.195 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002178/0.1194, allocations: 192.8 kB / 0.4905 GB, free: 8.969 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.1194, allocations: 12.12 kB / 0.4906 GB, free: 8.957 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.908e-05/0.1194, allocations: 0 / 0.4906 GB, free: 8.957 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000179/0.1196, allocations: 69.61 kB / 0.4906 GB, free: 8.883 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.1196, allocations: 0 / 0.4906 GB, free: 8.883 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.105e-06/0.1196, allocations: 0 / 0.4906 GB, free: 8.883 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.1196, allocations: 0 / 0.4906 GB, free: 8.883 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001427/0.1198, allocations: 43.95 kB / 0.4907 GB, free: 8.84 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004795/0.1203, allocations: 308.7 kB / 0.491 GB, free: 8.488 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001427/0.1204, allocations: 62.48 kB / 0.491 GB, free: 8.418 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.517e-05/0.1205, allocations: 24.94 kB / 0.491 GB, free: 8.391 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.202e-05/0.1205, allocations: 0 / 0.491 GB, free: 8.391 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.887e-05/0.1206, allocations: 30.56 kB / 0.4911 GB, free: 8.352 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 9.11e-07/0.1206, allocations: 0 / 0.4911 GB, free: 8.352 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008016/0.1214, allocations: 229.6 kB / 0.4913 GB, free: 8.121 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.539e-05/0.1214, allocations: 55.34 kB / 0.4913 GB, free: 8.055 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001691/0.1216, allocations: 170.5 kB / 0.4915 GB, free: 7.879 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.799e-05/0.1217, allocations: 29.7 kB / 0.4915 GB, free: 7.844 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.551e-05/0.1217, allocations: 104.1 kB / 0.4916 GB, free: 7.738 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.121e-05/0.1218, allocations: 31.73 kB / 0.4917 GB, free: 7.707 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.949e-05/0.1218, allocations: 21.8 kB / 0.4917 GB, free: 7.68 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.122, allocations: 322.8 kB / 0.492 GB, free: 7.355 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001219/0.1221, allocations: 39.95 kB / 0.492 GB, free: 7.316 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000125/0.1222, allocations: 40.03 kB / 0.4921 GB, free: 7.277 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002318/0.1225, allocations: 92.73 kB / 0.4922 GB, free: 7.184 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.1225, allocations: 3.938 kB / 0.4922 GB, free: 7.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002862/0.1228, allocations: 125.6 kB / 0.4923 GB, free: 7.051 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.1228, allocations: 4 kB / 0.4923 GB, free: 7.047 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.1228, allocations: 0 / 0.4923 GB, free: 7.047 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.1228, allocations: 0 / 0.4923 GB, free: 7.047 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001225/0.1229, allocations: 31.91 kB / 0.4923 GB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.123, allocations: 0 / 0.4923 GB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.838e-05/0.123, allocations: 7.984 kB / 0.4923 GB, free: 7.008 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.123, allocations: 4 kB / 0.4923 GB, free: 7.004 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 (7): * Single equations (assignments): 7 * 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 9.911e-05/0.1231, allocations: 129.7 kB / 0.4924 GB, free: 6.867 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.281e-05/0.1232, allocations: 7.953 kB / 0.4925 GB, free: 6.859 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003498/0.1235, allocations: 142.3 kB / 0.4926 GB, free: 6.711 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.646e-06/0.1235, allocations: 7.938 kB / 0.4926 GB, free: 6.703 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.1236, allocations: 0 / 0.4926 GB, free: 6.703 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.1236, allocations: 0 / 0.4926 GB, free: 6.703 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005793/0.1241, allocations: 406.4 kB / 0.493 GB, free: 6.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.1242, allocations: 4 kB / 0.493 GB, free: 6.246 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.724e-05/0.1243, allocations: 27.92 kB / 0.493 GB, free: 6.219 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.1243, allocations: 0 / 0.493 GB, free: 6.219 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.1243, allocations: 3.984 kB / 0.493 GB, free: 6.215 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1243, allocations: 0 / 0.493 GB, free: 6.215 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.165e-06/0.1243, allocations: 4 kB / 0.493 GB, free: 6.211 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000345/0.1246, allocations: 223.4 kB / 0.4932 GB, free: 5.977 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.426e-05/0.1247, allocations: 92.92 kB / 0.4933 GB, free: 5.867 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.327e-05/0.1247, allocations: 8 kB / 0.4933 GB, free: 5.859 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.622e-05/0.1248, allocations: 11.92 kB / 0.4933 GB, free: 5.848 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.972e-05/0.1249, allocations: 7.984 kB / 0.4933 GB, free: 5.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.97e-06/0.1249, allocations: 0 / 0.4933 GB, free: 5.84 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001214/0.125, allocations: 136.1 kB / 0.4935 GB, free: 5.707 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.125, allocations: 0 / 0.4935 GB, free: 5.707 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002469/0.1253, allocations: 19.94 kB / 0.4935 GB, free: 5.688 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 (7): * Single equations (assignments): 7 * 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.001941/0.1272, allocations: 1.054 MB / 0.4945 GB, free: 4.648 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003052/0.1275, allocations: 103.8 kB / 0.4946 GB, free: 4.547 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.1275, allocations: 0 / 0.4946 GB, free: 4.547 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001288/0.1277, allocations: 43.97 kB / 0.4947 GB, free: 4.504 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003483/0.128, allocations: 19.98 kB / 0.4947 GB, free: 4.484 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002041/0.1301, allocations: 1.677 MB / 0.4963 GB, free: 2.73 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003615/0.1305, allocations: 0.7041 MB / 0.497 GB, free: 2 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.164e-05/0.1305, allocations: 20.97 kB / 0.497 GB, free: 1.977 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.637e-05/0.1306, allocations: 27.42 kB / 0.4971 GB, free: 1.953 MB / 382.1 MB Notification: Performance of SimCode: time 4.2e-07/0.1306, allocations: 0 / 0.4971 GB, free: 1.953 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02388/0.1545, allocations: 2.957 MB / 0.4999 GB, free: 14.98 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.087/8.242, allocations: 4 kB / 0.4999 GB, free: 14.98 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test25_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test25.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test25/Test25.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches